Shader Goodness

I tried for two weeks to get Cg working with the engine but all I was getting was a lovely black screen. This morning I gave up, removed all the Cg stuff and tried out GLSL. Worked perfect first time. I have written a simple shader program which displays the view-space normals rather than the model’s colour. My plan is to get deferred rendering working because it allows for some clever tricks.

Screenshot-3

~ by Tom Savage on August 10, 2009.

Leave a Reply