directx-sdk-samples icon indicating copy to clipboard operation
directx-sdk-samples copied to clipboard

Bug in VarianceShadowsManager::ComputeNearAndFar()

Open GlassBeaver opened this issue 11 months ago • 0 comments

VarianceShadowsManager::ComputeNearAndFar() calculates fFarPlane incorrectly in certain situations. Manually setting fFarPlane to a larger value circumvents the issue but defeats the purpose of "AABB/Scene NearFar" FIT_NEARFAR_SCENE_AABB fitting.

https://github.com/walbourn/directx-sdk-samples/assets/15961472/59dd5e4b-ebf4-4f5c-86de-17100a5999c2

GlassBeaver avatar Mar 02 '24 15:03 GlassBeaver