TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

14 lines
318 B
HLSL

#ifndef VOLUMETRIC_FOG_2_SHADOWS_URP
#define VOLUMETRIC_FOG_2_SHADOWS_URP
#if VF2_RECEIVE_SHADOWS
float GetLightAttenuation(float3 wpos) {
float4 shadowCoord = TransformWorldToShadowCoord(wpos);
float atten = MainLightRealtimeShadow(shadowCoord);
return atten;
}
#endif
#endif // VOLUMETRIC_FOG_2_SHADOWS_URP