pistolshrimpgames / ProceduralPlanet

Procedural planets with Three.js
Do What The F*ck You Want To Public License
7 stars 4 forks source link

Render performance #30

Closed Sabrejack closed 1 year ago

Sabrejack commented 1 year ago

Re-uses single scene, camera, mesh, and geometry for all six renders for a given map refresh.

Camera and mesh do not need to be re-adjusted for different resolutions, this was unnecessary.

I think I can do more, but this is a pretty good improvement already.