https://bugs.freedesktop.org/show_bug.cgi?id=36236
--- Comment #21 from Turo Lamminen turo@alternativegames.net 2011-04-20 02:59:12 PDT --- Try this: Modify data/shader/cg/deferred_light_pixel.cg
On about line 75 in function getAmbientSample change this:
return lerp(half3(FOG_COLOR.xyz), result, deferredSample3.z);
to this: return deferredSample1.xyz;
This dumps g-buffer 1 to screen. Likewise for other buffers. g-buffers are as follows: 1 color. Should look pretty normal except for being completely fullbright 2 normals. Should be red-green-yellowish 3. light parameters. Should be mostly blue
If you want to see how this should look on a working driver you need to disable lights. Easiest way to do this is to change function getPointlightSample around line 460. Change
return result;
to
return half3(0.0);