![]() |
|Download Files|
![]() ![]() ![]() ![]() ![]() Next: 4.1.8 Logical Operation Up: 4.1 Per-Fragment Operations Previous: 4.1.6 Blending
4.1.7 Dithering
Many dithering algorithms are possible, but a dithered value produced by any algorithm must depend only the incoming value and the fragment's x and y window coordinates. If dithering is disabled, then each color component is truncated to a fixed-point value with as many bits as there are in the corresponding component in the framebuffer; a color index is rounded to the nearest integer representable in the color index portion of the framebuffer. Dithering is enabled with Enable and disabled with Disable using the symbolic constant DITHER. The state required is thus a single bit. Initially, dithering is enabled.
David Blythe Sat Mar 29 02:23:21 PST 1997
|