DirectX question
Anybody tried to read values directly from ZBuffer surface?
I think that it may be very useful for 3D object selection.
I tried to use GetDC() and surface pointer but I read only zero values.
please help me if you did it...
I''m not sure if you can read directly from the zbuffer, but if you can then just lock the surface, and read the pixels.
*** Triality ***
*** Triality ***
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement