Making a 2D Scrolling Background
I'm making a 2D space shooter and I want to make a scrolling background.
I have set the Orthographics view, and all the stuff but i don't know how to make a scrolling background! Please help!
You could draw a fullscreen quad without depth writes and use a texture matrix to scroll the texture over the quad.
Set the texture matrix mode and call glTranslate. Then set matrix mode back to model view.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement