Skip to content

Commit 5765f00

Browse files
committed
Replaced DepthOnly to DepthForwardOnly
1 parent a69c830 commit 5765f00

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

com.unity.toonshader/Runtime/HDRP/Shaders/HDRPToon.shader

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,8 @@ Shader "HDRP/Toon"
733733

734734
Pass
735735
{
736-
Name "DepthOnly"
737-
Tags{ "LightMode" = "DepthOnly" }
736+
Name "DepthForwardOnly"
737+
Tags{ "LightMode" = "DepthForwardOnly" }
738738

739739
Cull[_CullMode]
740740

@@ -934,7 +934,7 @@ Shader "HDRP/Toon"
934934
Pass
935935
{
936936

937-
Name "Forward"
937+
Name "ForwardOnly"
938938
Tags { "LightMode" = "ForwardOnly" }
939939

940940
ZWrite[_ZWriteMode]

com.unity.toonshader/Runtime/HDRP/Shaders/HDRPToonTessellation.shader

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ Shader "HDRP/ToonTessellation"
735735

736736
Pass
737737
{
738-
Name "DepthOnly"
739-
Tags{ "LightMode" = "DepthOnly" }
738+
Name "DepthForwardOnly"
739+
Tags{ "LightMode" = "DepthForwardOnly" }
740740

741741
Cull[_CullMode]
742742

@@ -939,7 +939,7 @@ Shader "HDRP/ToonTessellation"
939939

940940
Pass
941941
{
942-
Name "Forward"
942+
Name "ForwardOnly"
943943
Tags { "LightMode" = "ForwardOnly" }
944944
ZTest[_ZTestDepthEqualForOpaque]
945945
ZWrite[_ZWriteMode]

0 commit comments

Comments
 (0)