PDA

View Full Version : How to render tiles are in the orthographic view only?



SamyyBlaze
07-07-2016, 10:26 PM
I'm trying to make a 2d tile based game, I want to render the tiles that are only in the view projection (orthographic matrix). Basically I want to use this for culling, but I don't know how to implement and make this.

Grognard
07-17-2016, 01:06 AM
You should simply not render them in the first place. You can use math on your frustrum to see if they are visible or not before you send them to get rendered.