Skip to main content
gamedev.net
🔒 Locked

point sprites

Started by Jernej.L 0 replies 450+ views
Original Post
Jernej.L
Jernej.L
I have a question about point sprites, can i specify their rotation and for each sprite different texture?
Projects: Top Down City: http://mathpudding.com/
godmodder
godmodder
Hello,

You CAN rotate points, but you CAN'T rotate sprites, because they are automaticly being billboarded towards the screen by the GPU.

You CAN however use a different texture for every seperate sprite. Just be sure to call glBindTexture() every time you draw a point sprite. That is ofcourse, if you're drawing them in immediate mode...

Hope I've been able to help,
Jeroen

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.