summaryrefslogtreecommitdiffstats
path: root/2ner.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-12 16:10:26 -0800
committeryum <yum.food.vr@gmail.com>2025-02-12 16:10:26 -0800
commit19bdcec2b69aff8b75d5c9c6c4d0cb4d0d9ec5c3 (patch)
tree0bbc695c04af083c0c2408d6dbdef35ae386b3f8 /2ner.shader
parentcaf02458737f93b20978f41613ad5b56e074e154 (diff)
fix normal bugs, add normal shadowing
going to remove normal shadowing, it's not worth the complexity
Diffstat (limited to '2ner.shader')
-rw-r--r--2ner.shader8
1 files changed, 7 insertions, 1 deletions
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