PDA

View Full Version : Ordered Rendering



Andrew Jameson
06-12-2005, 09:46 PM
I need to render three objects, obj1..obj3, such that obj2 is always drawn over obj1 irrespective of its actual depth and yet is drawn correctly in relation to obj3. I can partially achieve this by :

render obj1
disable depth test
render obj 2
enable depth test
render obj 3

Andrew

Andrew Jameson
06-13-2005, 12:14 AM
Easy after coffee !!

render obj1
disable depth test
render obj 2
enable depth test
render obj 2
render obj 3