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.
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.