[unity] Fixed ZWrite NormalMap issue with Unity 2019.4.3f1 URP 7.4.1. Closes #1720.

This commit is contained in:
Harald Csaszar 2020-07-14 18:09:22 +02:00
parent 844d13d1ef
commit c6fb1795cf
2 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@
Tags { "LightMode" = "NormalsRendering"}
Blend SrcAlpha OneMinusSrcAlpha
ZWrite Off
HLSLPROGRAM
#pragma prefer_hlslcc gles

View File

@ -114,6 +114,7 @@ Shader "Universal Render Pipeline/2D/Spine/Sprite"
Blend SrcAlpha OneMinusSrcAlpha
Cull[_Cull]
ZWrite[_ZWrite]
HLSLPROGRAM
#pragma prefer_hlslcc gles