joeldesante / MaritimeTravel

1 stars 0 forks source link

Rendering Optimization #7

Open joeldesante opened 3 years ago

joeldesante commented 3 years ago

Add a flag that indicates whether or not a texture is within the bounds of the view port. If it is not, skip the draw call for that object. This should significantly increase overall frame rate and reduce the load on the GPU.

No need to render something that cant be seen.