Sfoglia il codice sorgente

Patch Alpha Clipping Issue

thanks to jnalbyon

https://github.com/Oculus-VR/Unity-Graphics/issues/12
Floppy Disk 1 anno fa
parent
commit
42dbf6a25b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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,