views:

29

answers:

1

Hi all,

currently, I use glDrawArrays to render texture in simple quads. I hope increase framerate by using glDrawTexfOES instead (all my sprites have the same z position). Before doing this work I would like to know if these textures will still be affected by my 3d lights.

A: 

Standard OpenGL ES lighting happens at the vertex level, glDrawTexfOES bypasses the vertex pipeline completely. So no, lighting won't happen on glDrawTexf rectangles.

Bahbar
Ok, thanks for that clarification
Klem