GPU/Internal Registers: Difference between revisions

Mtheall (talk | contribs)
mNo edit summary
GPUREG_GAS_LIGHT_Z_COLOR: Add missing uniform from Nintendo OpenGL page ("dmp_Gas.colorLutInput")
Line 6,363: Line 6,363:
| 0-7
| 0-7
| unsigned, View shading effect in line-of-sight direction
| unsigned, View shading effect in line-of-sight direction
|-
| 8
| Gas color LUT input
|}
|}


This register configures gas light shading in the line-of-sight direction.
This register configures gas light shading in the line-of-sight direction, and the input to the gas color LUT.
 
Color LUT input values:
 
{| class="wikitable" border="1"
! Value
! Description
|-
| 0
| Gas density
|-
| 1
| Light factor
|}


=== GPUREG_GAS_LUT_INDEX ===
=== GPUREG_GAS_LUT_INDEX ===