PDA

View Full Version : glClearColor in GLSL



iris_raj
05-20-2007, 08:17 PM
Dear all,

I want to clear the frame buffer with a specified color using the fragment shader. How is it possible. I tried using gl_FragColor.
But it is not working

Please help

Thanks in advance
RAJESH.R

Zengar
05-20-2007, 10:33 PM
Draw a screen-sized opaque quad with a fragmnet shader enabled.