RGBmod(3G)
RGBmod - sets a rendering and display mode that bypasses the color map
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME RGBmod - sets a rendering and display mode that bypasses the color map FORTRAN 77 SPECIFICATION subroutine RGBmod PARAMETERS none DESCRIPTION RGBmod instructs the system to treat color as a 4-component entity in the currently active drawmode. Currently RGB mode is supported only by the normal framebuffer, so RGBmod should be called only while in draw mode NORMAL. You must call gconfi for RGBmod to take effect. While in RGB mode, a framebuffer is configured to store separate color values for red, green, blue, and alpha components. Lighting, shading, and fog calculations are done in the true, RGB color space. Colors and writemasks must be specified using RGB-compatible commands such as c, cpack, and wmpack. The red, green, and blue components stored in the framebuffer are used (after correction for monitor non-linearity) to directly control the color guns of the monitor. Many advanced rendering features, such as complex lighting models, texture mapping, polygon antialiasing, and fog, are available only in RGB mode. SEE ALSO c, cmode, cpack, gammar, gconfi, getdis, getgde, wmpack NOTE RGBmod is not supported on all hardware configurations. The command getgde can be used to determine how many bitplanes in the normal framebuffer are available for each color component in both single and double buffered RGB mode. This routine is available only in immediate mode.