diff options
| author | yum <yum.food.vr@gmail.com> | 2026-02-23 20:20:31 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-02-23 20:20:31 -0800 |
| commit | 5fa1c0ec5b2b59db3858a7dfe9f4001eeeff8cc9 (patch) | |
| tree | 5e1d7729e2fe52964c9d7c52aece72b4f2ecb3e5 /globals.cginc | |
| parent | 2d205f1f5df12b6e66f6cca1a05152b18d53c0d1 (diff) | |
Add ambient occlusion & normal filtering
Diffstat (limited to 'globals.cginc')
| -rwxr-xr-x | globals.cginc | 8 |
1 files changed, 6 insertions, 2 deletions
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; |
