Go to the source code of this file.
◆ g_fogScale
Scale from a depth to the GS fog range, 255 over the fog distance, or 0 without fog.
- Ghidra address:
- NTSC-U/C: 0x003b07e0
- Ghidra address:
- PAL: 0x0042f678
◆ g_fogOffset
Offset of the GS fog range, minus the fog end times g_fogScale, or 255 without fog.
- Ghidra address:
- NTSC-U/C: 0x003b07e4
- Ghidra address:
- PAL: 0x0042f67c
◆ g_nFogEnabled
Non-zero while the current environment has fog.
- Ghidra address:
- NTSC-U/C: 0x003b07e8
- Ghidra address:
- PAL: 0x0042f680
◆ g_lightProgram
The lighting microprogram of the current environment.
- Ghidra address:
- NTSC-U/C: 0x003b07ec
- Ghidra address:
- PAL: 0x0042f684
◆ g_ambientColor
Ambient colour of the current environment, with alpha 1.
- Ghidra address:
- NTSC-U/C: 0x0043c610
◆ g_lightMatrix
The lights of the current environment as a matrix.
For directional lights, column n of the first three components is the negated direction of light n. For a point light, the first row is the position, and the fourth components are -1 over the range, the range squared, and the range.
- Ghidra address:
- NTSC-U/C: 0x0043c620
◆ g_lightColors
Colour of each light of the current environment, with alpha 0.
Unused rows are black.
- Ghidra address:
- NTSC-U/C: 0x0043c650