Parcourir la source

Patch Alpha Clipping Issue

thanks to jnalbyon

https://github.com/Oculus-VR/Unity-Graphics/issues/12
Floppy Disk il y a 1 an
Parent
commit
42dbf6a25b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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,