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 --- globals.cginc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'globals.cginc') 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; -- cgit v1.2.3