TheOpenSpaceProgram / new-ospgl

A space exploration game in OpenGL. Devblog: https://tatjam.github.io/index.html
MIT License
43 stars 6 forks source link

Improve planet renderer drawing order #33

Open tatjam opened 2 years ago

tatjam commented 2 years ago

This file should be changed so that the drawing order makes more sense, ie, rendering first tiles closer to the player. This way there should be less overdraw. We can also improve it by rendering the ocean first if the player is over it to avoid overdrawing all the tiles underneath the player.

tatjam commented 1 year ago

Pull request #47 improved the rendering order of tiles