Making a 2D Scrolling Background

Started by
3 comments, last by ANDROSS 16 years, 8 months ago
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!
Advertisement
You could draw a fullscreen quad without depth writes and use a texture matrix to scroll the texture over the quad.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
How to use texture matrix to scroll a texture??? (I'm really new to texture matrix).
Set the texture matrix mode and call glTranslate. Then set matrix mode back to model view.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
Tnx man!

This topic is closed to new replies.

Advertisement