filament icon indicating copy to clipboard operation
filament copied to clipboard

fix (again) the box-frustum intersection

Open pixelflinger opened this issue 3 years ago • 0 comments

it is not true that the whole box is inside the frustum if we have 8 vertices and some frustum vertices are in the box -- that's even non-sensical.

We now test for this case by checking that we have all (8) vertices of the box inside the frustum.

This caused some shadows to be missing.

pixelflinger avatar Sep 21 '22 23:09 pixelflinger