Particle Engine Depth testing workaround
Hey! I inplemented a particle engine into my first 3d engine, I render the world first, then I have to turn off depth testing (OGL) before rendering the particles.
Is there a way to keep depth testing on?
is there some type of performance problem or something?
JoeMont001@programmer.net www.polarisoft.n3.net
JoeMont001@programmer.net www.polarisoft.n3.net
No, only that since I disabled depth testing while drawing the particles, you can see them thru the floor / walls / etc..
hmm, that''s relatively hard to tell from the screen shot. maybe turn depth testing on but use a painter''s-like algorithm.
JoeMont001@programmer.net www.polarisoft.n3.net
JoeMont001@programmer.net www.polarisoft.n3.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement