From fd5b8029a8303e6b0db0c9c7e309aa0075302935 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 2 Mar 2026 17:39:03 -0800 Subject: More decal features --- 3ner.shader | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to '3ner.shader') 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 -- cgit v1.2.3