How should I go about doing occlusion culling with glDrawElements
? I am dealing with voxel-like terrain. I want to avoid drawing the faces that are facing another block. I just don't know how to incorporate this with glDrawElements
. Should I even use glDrawElements
?
Asked
Active
Viewed 45 times
0

badcc
- 75
- 2
- 7
glEnable(GL_CULL_FACE); glCullFace(GL_BACK);
– MickLH Jun 20 '14 at 00:31