Skip to content

Commit 8935646

Browse files
committed
Updated version number in cs and shader codes.
1 parent 8dcaa6d commit 8935646

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

com.unity.toonshader/Editor/UTS_GUIBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class UTS_GUIBase : UnityEditor.ShaderGUI
2929
{
3030
protected const float kVersionX = 0.0f;
3131
protected const float kVersionY = 0.0f;
32-
protected const float kVersionZ = 2.0f;
32+
protected const float kVersionZ = 3.0f;
3333

3434
internal virtual string srpDefaultLightModeName { get; }
3535
internal virtual void TessellationSetting(Material materal) { }

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Shader "HDRP/Toon"
1313
[HideInInspector] [Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
1414
[HideInInspector] _utsVersionX("VersionX", Float) = 0
1515
[HideInInspector] _utsVersionY("VersionY", Float) = 0
16-
[HideInInspector] _utsVersionZ("VersionZ", Float) = 1
16+
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
1717

1818
// Syntesized Textures
1919
_MainTexSynthesized("_MainTexSynthesized",2D) = "white" {}
@@ -245,10 +245,7 @@ Shader "HDRP/Toon"
245245
// -----------------------------------------------------------------------------
246246
// parameters for UTS
247247
// -----------------------------------------------------------------------------
248-
[HideInInspector] _simpleUI("SimpleUI", Int) = 0
249-
[HideInInspector] _utsVersionX("VersionX", Float) = 1
250-
[HideInInspector] _utsVersionY("VersionY", Float) = 0
251-
[HideInInspector] _utsVersionZ("VersionZ", Float) = 0
248+
252249

253250
[HideInInspector] _utsTechnique("Technique", int) = 0 //DWF
254251
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Shader "HDRP/ToonTessellation"
1212
[HideInInspector] _simpleUI("SimpleUI", Int) = 0
1313
[HideInInspector] _utsVersionX("VersionX", Float) = 0
1414
[HideInInspector] _utsVersionY("VersionY", Float) = 0
15-
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
15+
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
1616
// Syntesized Textures
1717
_MainTexSynthesized("_MainTexSynthesized",2D) = "white" {}
1818
_ShadowControlSynthesized("_ShadowControlSynthesized", 2D) = "white" {}

com.unity.toonshader/Runtime/Legacy/Shaders/LegacyToon.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Shader "Toon (Built-in)" {
88
[HideInInspector][Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
99
[HideInInspector] _utsVersionX("VersionX", Float) = 0
1010
[HideInInspector] _utsVersionY("VersionY", Float) = 0
11-
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
11+
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
1212
[HideInInspector] _utsTechnique ("Technique", int ) = 0 //DWF
1313
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1
1414

com.unity.toonshader/Runtime/Legacy/Shaders/LegacyToonTessellation.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Shader "ToonTessellation (Built-in)" {
88
[HideInInspector][Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
99
[HideInInspector] _utsVersionX("VersionX", Float) = 0
1010
[HideInInspector] _utsVersionY("VersionY", Float) = 0
11-
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
11+
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
1212
[HideInInspector] _utsTechnique ("Technique", int ) = 0 //DWF
1313
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1
1414

com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToon.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Shader "Universal Render Pipeline/Toon" {
99
[HideInInspector] [Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
1010
[HideInInspector] _utsVersionX("VersionX", Float) = 0
1111
[HideInInspector] _utsVersionY("VersionY", Float) = 0
12-
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
12+
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
1313

1414
[HideInInspector] _utsTechnique("Technique", int) = 0 //DWF
1515
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1

0 commit comments

Comments
 (0)