Hello, I seem to be having a problem running a very simple shader program. I’ve found in some cases the frag shader doesn’t seem to kick in and I’d like to understand why.
The fragment shader using glsl 1.2 simply sets gl_FragColor = vec4(1,1,1,1)
While I can get the shader to function rendering a simple test scene. I am unable to get the shader to function with scene rendered from a third party library using OpenGL 2.1. While the third party library does render the scene to the frame-buffer which can be blitz to the back buffer, I am puzzled why my fragment shader hasn’t affected the scene.
Any thoughts would be greatly appreciated.