afonsolage / projekto

Voxel game made with Bevy Engine
MIT License
59 stars 4 forks source link

Added view frustum flood fill on Clip Height #54

Closed afonsolage closed 6 months ago

afonsolage commented 2 years ago

PR #50 introduce clip height, but it uses a naive flood fill which introduce some bugs, like a character can look on the beginning of the cave and can see everything.

The solution would be to do a flood fill but using a view frustum to limit what is actually visible.