浏览代码

Patch Alpha Clipping Issue

thanks to jnalbyon

https://github.com/Oculus-VR/Unity-Graphics/issues/12
Floppy Disk 1 年之前
父节点
当前提交
42dbf6a25b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Editor/ShaderGraph/Targets/UniversalTarget.cs

+ 1 - 0
Editor/ShaderGraph/Targets/UniversalTarget.cs

@@ -899,6 +899,7 @@ namespace UnityEditor.Rendering.Universal.ShaderGraph
                 fieldDependencies = CoreFieldDependencies.Default,
 
                 // Conditional State
+                defines = new DefineCollection(),
                 renderStates = CoreRenderStates.Default,
                 pragmas = CorePragmas.DOTSInstanced,
                 includes = CoreIncludes.MotionVectors,