Logical Operation: Difference between revisions
Jump to navigation
Jump to search
Pipeline page link. |
m linking |
||
Line 1: | Line 1: | ||
{{pipeline float}} | {{pipeline float}} | ||
A '''Logical Operation''' is a per-sample operation applied between the fragment's color values and color values in the corresponding sample in the framebuffer. They are performed independently for the RGBA components of the colors, and they only work for framebuffer attachments that are integers (normalized or not). And even then, they do not work for | A '''Logical Operation''' is a per-sample operation applied between the fragment's color values and color values in the corresponding sample in the framebuffer. They are performed independently for the RGBA components of the colors, and they only work for framebuffer attachments that are integers (normalized or not). And even then, they do not work for [[Framebuffer#Colorspace|rendering to sRGB images]] if {{enum|GL_FRAMEBUFFER_SRGB}} is active. | ||
Enabling logical operations automatically turns off [[Blending]]. | Enabling logical operations automatically turns off [[Blending]]. |
Revision as of 15:11, 30 May 2013
OpenGL Rendering Pipeline
A Logical Operation is a per-sample operation applied between the fragment's color values and color values in the corresponding sample in the framebuffer. They are performed independently for the RGBA components of the colors, and they only work for framebuffer attachments that are integers (normalized or not). And even then, they do not work for rendering to sRGB images if GL_FRAMEBUFFER_SRGB is active.
Enabling logical operations automatically turns off Blending.
This article is a stub. You can help the OpenGL Wiki by expanding it. |