浏览代码

Merge pull request #1413 from Unity-Technologies/sg-update-shader-graph-md-file

Updated changelog with show generated code section
/main
GitHub 7 年前
当前提交
c3570fcf
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 4
      com.unity.shadergraph/CHANGELOG.md
  2. 3
      com.unity.shadergraph/.data/show_generated_code.gif

4
com.unity.shadergraph/CHANGELOG.md


This adds gradient functionality via two new nodes. Sample Gradient node samples a gradient given a Time parameter. This gradient can be defined on the Gradient slot control view. The Gradient Asset node defines a gradient that can be sampled by multiple Sample Gradient nodes using different Time parameters.
### Show generated code
![](.data/show_generated_code.gif)
You can now see the generated code for any specific node. To do so, right-click the node, and select Show Generated Code. The code snippet will now open in the code editor that you have linked to Unity.
### Bug fixes and minor changes

3
com.unity.shadergraph/.data/show_generated_code.gif


version https://git-lfs.github.com/spec/v1
oid sha256:a1724773ebd1aabd5f41531442ec99b1dc6f3714897f46fdcd2dd42c3c55168f
size 1563150
正在加载...
取消
保存