Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

2D background behind a 3D world

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 Laeeq Hamid   Members   

122
Like
Likes
Like

Posted 10 August 2001 - 07:25 PM

Is there any way through which we can make a continus background definately a 2D behind 3D objects.

#2 Zerosignull   Members   

122
Like
Likes
Like

Posted 11 August 2001 - 04:20 AM

could always try glDrawPixels the the screen b4 straight after u have cleared ure screen

~prevail by daring to fail~

#3 TerranFury   Members   

142
Like
Likes
Like

Posted 11 August 2001 - 11:48 AM

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...

#4 mittens   Members   

1323
Like
Likes
Like

Posted 11 August 2001 - 02:09 PM

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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.