From 5fa1c0ec5b2b59db3858a7dfe9f4001eeeff8cc9 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 23 Feb 2026 20:20:31 -0800 Subject: Add ambient occlusion & normal filtering --- globals.cginc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 0c4917d..6bfaace 100755 --- a/globals.cginc +++ b/globals.cginc @@ -6,8 +6,6 @@ SamplerState point_repeat_s; SamplerState linear_repeat_s; SamplerState aniso4_trilinear_repeat_s; -SamplerState aniso8_trilinear_repeat_s; -SamplerState aniso16_trilinear_repeat_s; SamplerState bilinear_repeat_s; SamplerState linear_clamp_s; SamplerState bilinear_clamp_s; @@ -34,6 +32,12 @@ float _Specular_AA_Variance; float _Specular_AA_Threshold; float _BRDF_Specular_Min_Denom; +#if defined(_AMBIENT_OCCLUSION) +texture2D _OcclusionMap; +float4 _OcclusionMap_ST; +float _OcclusionStrength; +#endif // __AMBIENT_OCCLUSION + #if defined(_MARBLE) texture2D _Marble_U_Ramp; texture2D _Marble_V_Ramp; -- cgit v1.2.3