Hi,
Is it possible to set different color masks (glColorMask) to different color attachments?
When I call
glDrawBuffer(GL_COLOR_ATTACHMENT1_EXT);
glColorMask(0, 0, 1, 1);
It sets color mask to all color attachments in FBO.
Thanks.
Hi,
Is it possible to set different color masks (glColorMask) to different color attachments?
When I call
glDrawBuffer(GL_COLOR_ATTACHMENT1_EXT);
glColorMask(0, 0, 1, 1);
It sets color mask to all color attachments in FBO.
Thanks.
EXT_draw_buffers2 allows this. Otherwise, no.