Feeding irrlicht a Z-buffer?
Feeding irrlicht a Z-buffer?
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.
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"
1.5GB DDR2
6800 Ultra Go 256MB
80GB 5400 rpm
17"