Merge pull request #1499 from aws-lumberyard-dev/debugcascade

Small fix for debug cascades not working with bicubic pcf filtering
main
mrieggeramzn 5 years ago committed by GitHub
commit aa3a7db7b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -427,6 +427,7 @@ float DirectionalLightShadow::SamplePcfBicubic()
shadowCoord.y >= 0. && shadowCoord.y * size < size - PixelMargin &&
shadowCoord.z < 1. - DepthMargin)
{
m_debugInfo.m_cascadeIndex = indexOfCascade;
return SamplePcfBicubic(shadowCoord, indexOfCascade);
}
}

Loading…
Cancel
Save