Independent color write masks
I am implementing MRT by FBOs, I do not know whether OGL provides independent color write masks. For example, I only want to write the RED channel of first render target and GREEN channel of second render target.
In DirectX, this can be impleneted by
SetRenderState(D3DRS_COLORWRITEENABLE, D3DCOLORWRITEENABLE_RED);
SetRenderState(D3DRS_COLORWRITEENABLE1, D3DCOLORWRITEENABLE_GREEN);
Is there any similar function in OGL?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement