Skip to content

Commit

Permalink
Updated version number in cs and shader codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
H3idi-X committed May 4, 2021
1 parent 8dcaa6d commit 8935646
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion com.unity.toonshader/Editor/UTS_GUIBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class UTS_GUIBase : UnityEditor.ShaderGUI
{
protected const float kVersionX = 0.0f;
protected const float kVersionY = 0.0f;
protected const float kVersionZ = 2.0f;
protected const float kVersionZ = 3.0f;

internal virtual string srpDefaultLightModeName { get; }
internal virtual void TessellationSetting(Material materal) { }
Expand Down
7 changes: 2 additions & 5 deletions com.unity.toonshader/Runtime/HDRP/Shaders/HDRPToon.shader
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Shader "HDRP/Toon"
[HideInInspector] [Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
[HideInInspector] _utsVersionX("VersionX", Float) = 0
[HideInInspector] _utsVersionY("VersionY", Float) = 0
[HideInInspector] _utsVersionZ("VersionZ", Float) = 1
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3

// Syntesized Textures
_MainTexSynthesized("_MainTexSynthesized",2D) = "white" {}
Expand Down Expand Up @@ -245,10 +245,7 @@ Shader "HDRP/Toon"
// -----------------------------------------------------------------------------
// parameters for UTS
// -----------------------------------------------------------------------------
[HideInInspector] _simpleUI("SimpleUI", Int) = 0
[HideInInspector] _utsVersionX("VersionX", Float) = 1
[HideInInspector] _utsVersionY("VersionY", Float) = 0
[HideInInspector] _utsVersionZ("VersionZ", Float) = 0


[HideInInspector] _utsTechnique("Technique", int) = 0 //DWF
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Shader "HDRP/ToonTessellation"
[HideInInspector] _simpleUI("SimpleUI", Int) = 0
[HideInInspector] _utsVersionX("VersionX", Float) = 0
[HideInInspector] _utsVersionY("VersionY", Float) = 0
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
// Syntesized Textures
_MainTexSynthesized("_MainTexSynthesized",2D) = "white" {}
_ShadowControlSynthesized("_ShadowControlSynthesized", 2D) = "white" {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Shader "Toon (Built-in)" {
[HideInInspector][Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
[HideInInspector] _utsVersionX("VersionX", Float) = 0
[HideInInspector] _utsVersionY("VersionY", Float) = 0
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
[HideInInspector] _utsTechnique ("Technique", int ) = 0 //DWF
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Shader "ToonTessellation (Built-in)" {
[HideInInspector][Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
[HideInInspector] _utsVersionX("VersionX", Float) = 0
[HideInInspector] _utsVersionY("VersionY", Float) = 0
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3
[HideInInspector] _utsTechnique ("Technique", int ) = 0 //DWF
[HideInInspector] _AutoRenderQueue("Automatic Render Queue ", int) = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Shader "Universal Render Pipeline/Toon" {
[HideInInspector] [Enum(OFF, 0, ON, 1)] _isUnityToonshader("Material is touched by Unity Toon Shader", Int) = 1
[HideInInspector] _utsVersionX("VersionX", Float) = 0
[HideInInspector] _utsVersionY("VersionY", Float) = 0
[HideInInspector] _utsVersionZ("VersionZ", Float) = 2
[HideInInspector] _utsVersionZ("VersionZ", Float) = 3

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

0 comments on commit 8935646

Please sign in to comment.