PDA

View Full Version : MRT blending



Vexator
11-12-2007, 05:37 AM
i write to 3 fbo color attachments at the same time. i'd like to enable blending for the first attachment, but not for the others. is this possible? or will i have to render separately?

elFarto
11-12-2007, 06:08 AM
A quick Google search shows the EXT_draw_buffers2 extension enables you to toggle blending on/off for each buffer separately.

http://www.opengl.org/registry/specs/EXT/draw_buffers2.txt

Seems this is a GeForce 8 extension.

Regards
elFarto