3dreamengine / 3DreamEngine

3DreamEngine is an *awesome* 3d engine for LÖVE.
MIT License
393 stars 17 forks source link

setFrustumCheck documentation and plane issues #52

Closed thisnickwasfree closed 3 years ago

thisnickwasfree commented 4 years ago

setFrustumCheck now use string not bool, but documentation says nothing about this. "fast" works fine, but "plane" is too aggressive (removes tiles at the edges of screen).

Luke100000 commented 4 years ago

whoops, my bad. Thanks. Plane mode is WIP. Plane is the more common solution (implemented in most games, ...), more accurate, less GPU usage at a slightly increased CPU usage. I am pretty sure I did the math right, still, as you confirmed, it doesn't work. I will look into this somewhere in the future, but for now the fast one does its job.

Luke100000 commented 3 years ago

removed fast frustum culling and fixed the plane based one in the beta branch, commit #2829b6a6, will merge soon