PDA

View Full Version : opengl 3 and point sprites



ghagha
07-06-2010, 10:39 AM
hi,

The enum GL_POINT_SPRITE is deprecated from opengl 3.0 core. Whats the correct way to render point sprites now?

Alfonse Reinheart
07-06-2010, 11:21 AM
This is (among other things) what OpenGL 3.2 shows as being removed:


Non-sprite points - Enable/Disable targets POINT_SMOOTH and POINT_SPRITE, and all associated state. Point rasterization is always performed as though POINT_SPRITE were enabled.

So you've got it backwards. The point sprite enum is removed because there's no alternative: all points are point sprites.