View Full Version : MRT with different background color

04-08-2011, 01:24 AM

I work with Multiple Render Targets and I want to render every render target with another background color. But every texture has the same background color (which I've set with glClearColor).

Is there any way to set another background color or do I have to use a post processing step?

Alfonse Reinheart
04-08-2011, 01:50 AM
You want glClearBuffer (http://www.opengl.org/sdk/docs/man3/xhtml/glClearBuffer.xml).

04-08-2011, 02:28 AM
Thank you for the quick answer, that's exactly the functions which I've searched.

But the next problem is, that there is a problem with the entry point in the DLL. But that's not a problem for this forum.

04-08-2011, 03:43 AM
Ever heard about GLEW ?