Advertisement

object ordering along the Z axis

Started by May 15, 2001 05:31 AM
0 comments, last by _caffeine_ 23 years, 9 months ago
Hey, I''m trying to create kind of starfield effect with a bmp wave in the background. the wave has to be right in the distance (behind the "stars"). ATM i am using a set of quads to create the wave... however it doesn;t seem to be behind the stars... is there an easy (or better) way of going about this, or is the answer just to create a huge quad plane and set it far back as possible? any help greatly appreciated... thnx..
I am not absolutely positive about this one, but you may want to disable the depth buffer when you draw the wave that you want to be behind the stars. And also, draw the wave *first*, that way, no matter what, it will be behind the stars. This is all just one big guess though.

------------------------------
Trent (ShiningKnightGL/DX)
NovaStorm Games
Project: 3D Engine, various OpenGL demos

This topic is closed to new replies.

Advertisement