浏览代码
Allow sub-shaders to tell whether they are compatible with a given render pipeline, and hook it up with the UI support for that such that an error is shown in the event that it's _not_ compatible.
Allow sub-shaders to tell whether they are compatible with a given render pipeline, and hook it up with the UI support for that such that an error is shown in the event that it's _not_ compatible.
This also adds a check in Update() such that the UI is reloaded when the render pipeline changes./main
Peter Bay Bastian
7 年前
当前提交
549996da
共有 9 个文件被更改,包括 55 次插入 和 11 次删除
-
9com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRSubShader.cs
-
9com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitSubShader.cs
-
7com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/LightWeightPBRSubShader.cs
-
6com.unity.render-pipelines.lightweight/LWRP/Editor/ShaderGraph/LightWeightUnlitSubShader.cs
-
2com.unity.shadergraph/Editor/Data/MasterNodes/ISubShader.cs
-
2com.unity.shadergraph/Editor/Data/Nodes/IMasterNode.cs
-
15com.unity.shadergraph/Editor/Data/Nodes/MasterNode.cs
-
11com.unity.shadergraph/Editor/Drawing/MaterialGraphEditWindow.cs
-
5com.unity.shadergraph/Editor/Drawing/Views/MaterialNodeView.cs
撰写
预览
正在加载...
取消
保存
Reference in new issue