First of all: I know literally nothing about gfx and/or openGL at this type of level. So please kindly ignore wrong terms or similar stuff.
Here’s my question:
I wanna be able to render modern 3D Games (e.g. CounterStrike, Half-Life 2, WoW, etc…) as a grayscale image based on the actual depth map. No screenshots, the whole game at high fps rates. Ignore all textures, lighting, FX, etc and just render the whole game in grayscale based on the z-map. Ideally the game handling is untouched.
Is it possible and how could it be achieved? OpenGL preferred but all hints and solutions highly appreciated.
Are there existing tools to achieve this effect?
My ATI-driver is able to load openGL custom shader. Could this be of any help or are they just post processing?
If it’s possible, how hard would it be to code a solution?
Thanks in advance for reading and any type of input.