2D background behind a 3D world

Started by
2 comments, last by Laeeq Hamid 22 years, 8 months ago
Is there any way through which we can make a continus background definately a 2D behind 3D objects.
Advertisement
could always try glDrawPixels the the screen b4 straight after u have cleared ure screen

~prevail by daring to fail~
Turn off depth writes, draw a textured quad in ortho mode, switch back to perspective mode, and turn depth writes back on.

Unless somebody else has a better idea...
At the beginning of the frame, go into orthographic mode, and render the background (turning depth testing off), that should be what you need.

------------------------------
Trent (ShiningKnight)
E-mail me
Shining Darkness- A division of Chromesphere Studios

This topic is closed to new replies.

Advertisement