MButchers
01-14-2005, 10:24 AM
Hello all,
is it possible to read the current depth buffers and color buffers value for a given raster position in a fragment shader?
If not i guess i'll have to create a pbuffer and render the depth buffer and color buffer into that prior to using the shader and access it as a texture unit.
Cheers
Mark
is it possible to read the current depth buffers and color buffers value for a given raster position in a fragment shader?
If not i guess i'll have to create a pbuffer and render the depth buffer and color buffer into that prior to using the shader and access it as a texture unit.
Cheers
Mark