Skip to content

Commit 752a2ed

Browse files
authored
Removed [Enum(UnityEditor.Rendering.HighDefinition.TransparentCullMode)] in the shaders. (#306)
1 parent 25cb84e commit 752a2ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

com.unity.toonshader/Runtime/Integrated/Shaders/UnityToon.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Shader "Toon" {
403403
[HideInInspector][ToggleUI] _TransparentZWrite("_TransparentZWrite", Float) = 0.0
404404
[HideInInspector] _CullMode("__cullmode", Float) = 2.0
405405
[HideInInspector] _CullModeForward("__cullmodeForward", Float) = 2.0 // This mode is dedicated to Forward to correctly handle backface then front face rendering thin transparent
406-
[Enum(UnityEditor.Rendering.HighDefinition.TransparentCullMode)] _TransparentCullMode("_TransparentCullMode", Int) = 2 // Back culling by default
406+
[HideInInspector] _TransparentCullMode("_TransparentCullMode", Int) = 2 // Back culling by default
407407
[HideInInspector] _ZTestDepthEqualForOpaque("_ZTestDepthEqualForOpaque", Int) = 4 // Less equal
408408
[HideInInspector] _ZTestModeDistortion("_ZTestModeDistortion", Int) = 8
409409
[HideInInspector] _ZTestGBuffer("_ZTestGBuffer", Int) = 4

com.unity.toonshader/Runtime/Integrated/Shaders/UnityToonTessellation.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ Shader "Toon(Tessellation)" {
404404
[HideInInspector][ToggleUI] _TransparentZWrite("_TransparentZWrite", Float) = 0.0
405405
[HideInInspector] _CullMode("__cullmode", Float) = 2.0
406406
[HideInInspector] _CullModeForward("__cullmodeForward", Float) = 2.0 // This mode is dedicated to Forward to correctly handle backface then front face rendering thin transparent
407-
[Enum(UnityEditor.Rendering.HighDefinition.TransparentCullMode)] _TransparentCullMode("_TransparentCullMode", Int) = 2 // Back culling by default
407+
[HideInInspector] _TransparentCullMode("_TransparentCullMode", Int) = 2 // Back culling by default
408408
[HideInInspector] _ZTestDepthEqualForOpaque("_ZTestDepthEqualForOpaque", Int) = 4 // Less equal
409409
[HideInInspector] _ZTestModeDistortion("_ZTestModeDistortion", Int) = 8
410410
[HideInInspector] _ZTestGBuffer("_ZTestGBuffer", Int) = 4

0 commit comments

Comments
 (0)