summaryrefslogtreecommitdiffstats
path: root/globals.cginc
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 /globals.cginc
parentcaf02458737f93b20978f41613ad5b56e074e154 (diff)
fix normal bugs, add normal shadowing
going to remove normal shadowing, it's not worth the complexity
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc4
1 files changed, 3 insertions, 1 deletions
diff --git a/globals.cginc b/globals.cginc
index b92dbbe..5ca95a8 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -8,7 +8,9 @@ float4 _MainTex_ST;
fixed4 _Color;
sampler2D _BumpMap;
-float _BumpScale;
+half _BumpScale;
+float _BumpShadowHeightScale;
+float _BumpShadowHardness;
sampler2D _OcclusionMap;
float _OcclusionStrength;