|
|
|
|
|
|
{ |
|
|
|
return GetDirectionalShadowAttenuation( shadowContext, positionWS, normalWS, shadowDataIndex, L ); |
|
|
|
} |
|
|
|
#else |
|
|
|
#include "ShaderLibrary/Shadow/DirectionalShadowAttenuation.hlsl" |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
return GetPunctualShadowAttenuation( shadowContext, positionWS, normalWS, shadowDataIndex, L ); |
|
|
|
} |
|
|
|
#else |
|
|
|
#include "ShaderLibrary/Shadow/PunctualShadowAttenuation.hlsl" |
|
|
|
#endif |
|
|
|
|
|
|
|
// cleanup the defines |
|
|
|