Browse Source

Patch Alpha Clipping Issue

thanks to jnalbyon

https://github.com/Oculus-VR/Unity-Graphics/issues/12
Floppy Disk 1 year ago
parent
commit
42dbf6a25b
1 changed files with 1 additions and 0 deletions
  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,