Hi Everone.
Im rendering the depth of a scene to an RGBimage using a shader, then im using this shader for depth testing. it works but the depth resolution is limited to a single channel of the RGB.
i would rather render the 32bit depth buffer direct to an image and send that. I see that AppGameKit can do it but it doesn't seem to be working???
//As a test
// i created a couple of images one set to rgb and the second for rendering depth
CreateRenderImage (2,2048,2048,0,0) //rgba
CreateRenderImage (3,2048,2048,1,0) //depth
//I render the scene using the render to image like this
SetRenderToImage(2,3)
//where the color info goes to image 2 and the Z depth goes to image 3
//The color is working fine. but the Depth buffer seems to be empty, no depth information at all.
Is this a broken feature of AppGameKit ????? for people writing shaders this is extremely important.