Feeding irrlicht a Z-buffer?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
HappyBudda

Feeding irrlicht a Z-buffer?

Post by HappyBudda »

Is it possible to feed irrlicht a Z-buffer? I am attempting to create a "pre" built backdrop style game (Resident evil, etc), and I think irrlicht would be very usefull in this scenario, but only if I am able to feed it an initial Z-buffer each frame. Is this possible? Thank you.
soconne
Posts: 87
Joined: Fri Mar 05, 2004 2:00 pm

Post by soconne »

I'm not sure you can feed your graphics card an array of z values, but what you could do is feed it an array of alpha values for the screen, then do alpha testing or blending when you draw your objects on top of the backdrop.
Pentium M Centrino 2.2Ghz
1.5GB DDR2
6800 Ultra Go 256MB
80GB 5400 rpm
17"
Post Reply