diff options
| author | yum <yum.food.vr@gmail.com> | 2026-03-02 17:39:03 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-03-02 17:39:03 -0800 |
| commit | fd5b8029a8303e6b0db0c9c7e309aa0075302935 (patch) | |
| tree | b8aebae783f8facc8e89afe442595ea51582a425 /3ner.shader | |
| parent | 92c9035bb513886f99fde8c08694d9d6baa6f305 (diff) | |
More decal features
Diffstat (limited to '3ner.shader')
| -rwxr-xr-x | 3ner.shader | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/3ner.shader b/3ner.shader index 8cbbd09..9833950 100755 --- a/3ner.shader +++ b/3ner.shader @@ -70,11 +70,21 @@ Shader "yum_food/3ner" [HideInInspector] m_start_Decal0("Decal 0", Float) = 0 [ThryToggle(_DECAL0)] _Decal0_Enabled("Enable", Float) = 0 _Decal0_MainTex("Base color", 2D) = "white" {} - _Decal0_Color("Tint", Color) = (1, 1, 1, 1) + [HDR] _Decal0_Color("Tint", Color) = (1, 1, 1, 1) _Decal0_Opacity("Opacity", Range(0, 1)) = 1 [ThryWideEnum(Repeat, 0, Mirror, 1, Clamp, 2)] _Decal0_UV_Mode("UV Mode", Int) = 0 - [ThryWideEnum(AlphaBlend, 0, Multiply, 1)] _Decal0_Mix_Mode("Mix Mode", Int) = 0 + [ThryWideEnum(AlphaBlend, 0, Multiply, 1, AddProduct, 2)] _Decal0_Mix_Mode("Mix Mode", Int) = 0 [IntRange] _Decal0_UV_Channel("UV Channel", Range(0, 3)) = 0 + [ThryToggle(_DECAL0_ALBEDO_CLAMP)] _Decal0_Albedo_Clamp("Clamp albedo", Float) = 0 + + //ifex _Decal0_Mask_Enabled==0 + [HideInInspector] m_start_Decal0_Mask("Mask", Float) = 0 + [ThryToggle(_DECAL0_MASK)] _Decal0_Mask_Enabled("Enable", Float) = 0 + _Decal0_Mask("Mask", 2D) = "white" {} + [ThryToggle(_DECAL0_MASK_INVERT)] _Decal0_Mask_Invert("Invert", Float) = 0 + [IntRange] _Decal0_Mask_UV_Channel("UV Channel", Range(0, 3)) = 0 + [HideInInspector] m_end_Decal0_Mask("Mask", Float) = 0 + //endex //ifex _Decal0_Rotation_Enabled==0 [HideInInspector] m_start_Decal0_Rotation("Rotation", Float) = 0 |
