瀏覽代碼

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,