From 19bdcec2b69aff8b75d5c9c6c4d0cb4d0d9ec5c3 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 12 Feb 2025 16:10:26 -0800 Subject: fix normal bugs, add normal shadowing going to remove normal shadowing, it's not worth the complexity --- 2ner.shader | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '2ner.shader') diff --git a/2ner.shader b/2ner.shader index 3fee380..dbf4d2e 100644 --- a/2ner.shader +++ b/2ner.shader @@ -35,8 +35,14 @@ Shader "yum_food/2ner" _BumpScale("Normal Intensity", Range(0, 10)) = 1 _OcclusionMap("Ambient occlusion", 2D) = "white" {} _OcclusionStrength("Ambient occlusion", Range(0,1)) = 1 - _Clip("Alpha Cuttoff", Range(0, 1.001)) = 0.5 + //ifex _Bump_Shadows_Enabled==0 + [HideInInspector] m_start_BumpShadows("Normal shadows", Float) = 0 + [ThryToggle(_BUMP_SHADOWS)]_Bump_Shadows_Enabled("Enable", Float) = 0 + _BumpShadowHeightScale("Height", Range(0, 1)) = 0.2 + _BumpShadowHardness("Hardness", Range(0, 100)) = 50 + [HideInInspector] m_end_BumpShadows("Metallics", Float) = 0 + //endex [HideInInspector] m_reflectionOptions("Reflections", Float) = 0 [HideInInspector] m_start_Metallic("Metallics", Float) = 0 -- cgit v1.2.3