GPU/Internal Registers: Difference between revisions
→GPUREG_SH_OUTMAP_Oi: Add italics to heading |
|||
Line 4,196: | Line 4,196: | ||
|} | |} | ||
The light environment configuration controls which LUTs are available for use. If a LUT is not available in the selected configuration, its value will always read a constant 1.0 regardless of the enable state in GPUREG_LIGHTING_CONFIG1. | |||
Light env config constants: | Light env config constants: | ||
Line 4,201: | Line 4,202: | ||
! Value | ! Value | ||
! Description | ! Description | ||
! Available LUTs | |||
|- | |- | ||
| 0 | | 0 | ||
| LIGHT_ENV_LAYER_CONFIG0 | | LIGHT_ENV_LAYER_CONFIG0 | ||
| lut_D0, lut_RR, lut_SP, lut_DA | |||
|- | |- | ||
| 1 | | 1 | ||
| LIGHT_ENV_LAYER_CONFIG1 | | LIGHT_ENV_LAYER_CONFIG1 | ||
| lut_FR, lut_RR, lut_SP, lut_DA | |||
|- | |- | ||
| 2 | | 2 | ||
| LIGHT_ENV_LAYER_CONFIG2 | | LIGHT_ENV_LAYER_CONFIG2 | ||
| lut_D0, lut_D1, lut_RR, lut_DA | |||
|- | |- | ||
| 3 | | 3 | ||
| LIGHT_ENV_LAYER_CONFIG3 | | LIGHT_ENV_LAYER_CONFIG3 | ||
| lut_D0, lut_D1, lut_FR, lut_DA | |||
|- | |- | ||
| 4 | | 4 | ||
| LIGHT_ENV_LAYER_CONFIG4 | | LIGHT_ENV_LAYER_CONFIG4 | ||
| All except for lut_FR | |||
|- | |- | ||
| 5 | | 5 | ||
| LIGHT_ENV_LAYER_CONFIG5 | | LIGHT_ENV_LAYER_CONFIG5 | ||
| All except for lut_D1 | |||
|- | |- | ||
| 6 | | 6 | ||
| LIGHT_ENV_LAYER_CONFIG6 | | LIGHT_ENV_LAYER_CONFIG6 | ||
| All except for lut_RB and lut_RG | |||
|- | |- | ||
| 8 (sic) | | 8 (sic) | ||
| LIGHT_ENV_LAYER_CONFIG7 | | LIGHT_ENV_LAYER_CONFIG7 | ||
| All | |||
|} | |} | ||