Custom culling with box collider



Working in my low poly game I noticed that I have a lot of draw calls and bad performance in mobile devices, so I decided to print on screen only what the player is watching.  My game has random elements and I cannot put them on static mode and neither bake lightmaps, so I introduced a box collider attached in the player ship in order to move it with his point of view . This collider enables/disables the elements renderer when it collides with them, you can see it in this mini-video:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s