xshazwar / mountains-beyond-mountains

MIT License
20 stars 6 forks source link

feat: move tile culling to compute shader #1

Closed xshazwar closed 2 years ago

xshazwar commented 2 years ago

Culling is the most expensive to scale. @1000 tiles it's taking 17ms of CPU time / frame. Should be close to free as a compute shader and everything for the calculations except the camera view matrix is already available there.

xshazwar commented 2 years ago

done in #4