本项目介绍了一些HD Lit 高级功能及如何使用它们在 HDRP 中使用 Shader Graph 创建资产。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
GitHub d6dab3ea Update README.md 5 年前
Assets relaunching in 18.3, shader adjustment, updating readme 5 年前
Packages hd shadergraph lit master node butterfly project 5 年前
ProjectSettings relaunching in 18.3, shader adjustment, updating readme 5 年前
.gitattributes hd shadergraph lit master node butterfly project 5 年前
.gitignore hd shadergraph lit master node butterfly project 5 年前
README.md Update README.md 5 年前

README.md

Lit Master Node Demo Project

Read the official Blog Post.

This Project is intended to work with Unity release 2013.3.

With the release of 2018.3, Shader Graph introduces a new Master Node for the High Definition Render Pipeline. This new Master Node (called Lit Master) makes many of the advanced shading features found in HDRP accessible in Shader Graph!

This demo project makes use of Shader Graph and the High Definition Render Pipeline. It contains a bonsai tree and butterfly to showcase using iridescence and translucency with shadergraph.

For additional example projects check out Andy Touch’s Shader Graph Example Library!

If you want to talk to us about the Shader Graph, check out the forums and stay tuned to the blog for more exciting updates!

Bugs: If when first launching shaders look incorrect (such as the butterfly being flat blue) open the associated Shader Graph (all shader graphs in the folder ShaderGraphShaders) and click the Save Asset button in the top left of the Shader Graph Window.

Note: this project demos multiple features that are still in Preview, meaning they introduce brand new features and workflows. As such, some of these features may be subject to change (API, UX, scope, etc.) and aren’t covered by traditional Unity support. You can, however, report issues with Preview features on our forum page.

Instructions

Important! This Project uses git-lfs to store large file types!

Quick instructions for people familiar with Git

  1. Install Git LFS
  2. Clone this repository somewhere to disk
  3. run git lfs install to initialize Git LFS
  4. Launch with Unity version 2018.3

Longer instructions for people new to Git

  1. Locate the green button that says Clone or Download. Select it.
  2. Select Open in Desktop. That will launch https://desktop.github.com/.
  3. Locate the Purple Download button, select it. This will download GitHubDesktopSetup.exe, launch that exe after it downloads.
  4. One it installs, launch it or allow it to auto launch. You should see three buttons in the middle of the GitHub Desktop Window. Select the third button, Clone a repository.
  5. This will bring up a popup window, select the third tab URL.
  6. Where is says URL or username/repository add https://github.com/natalieburke/ShaderGraphFeatureDemo_LitMasterNode.
  7. Choose a Local path or use the auto created one.
  8. Select Clone. Wait a little.
  9. When this finishes another popup will appear that says Initialize Git LFS. This is important, make sure you select Initialize Git LFS (Blue button).
  10. The project is now on your machine at the location selected as the Local path from step 7.
  11. Launch the project with Unity version 2018.3

Acknowledgement

The textures on the butterfly are created based on photogtraphs by Didier Descouens and are under the Creative Commons Attribution-Share Alike 4.0 International license (CC BY-SA 4.0).

Please see the following page for further details.

https://commons.wikimedia.org/wiki/File:Morpho_didius_Male_Dos_MHNT.jpg