Anyway I was playing with SFML 1.6 to evaluate it for my next project and tried to modify the tutorial they put together. That seemed to work so my next step was to try to make a flashlight that followed the mouse. My first idea was to try to shade the entire screen to black using the pixel shader but the following code appears to do nothing.
effect
{
vec3 darkcolor(0.0, 0.0, 0.0);
_out = vec4(darkcolor, 1.0);
}
Any ideas on why this simple shader doesn't work would be greatly appreciated!
Thanks,
Wrath