Lights (Metroid Prime): Difference between revisions

Jump to navigation Jump to search
no edit summary
>Aruki
No edit summary
>Aruki
No edit summary
Line 26: Line 26:
| 0x4
| 0x4
| float3
| float3
| '''Light Color'''
| '''Color'''
| There is no alpha component.
| There is no alpha component.
|-
|-
Line 41: Line 41:
| 0x28
| 0x28
| float
| float
| '''Multiplier'''
| '''Brightness'''
| Color multiplier for local ambient, used to calculate attenuation coefficients for spot/custom
| Multiplied by color for local ambient, used to calculate distance attenuation coefficients for spot/custom
|-
|-
| 0x2C
| 0x2C
| float
| float
| '''Spot Cutoff'''
| '''Spot Cutoff'''
|  
| Used to calculate angle attenuation coefficients for spotlights
|-
|-
| 0x30
| 0x30
Line 95: Line 95:
| 0x4
| 0x4
| float4
| float4
| '''Light Color'''
| '''Color'''
| This color ''does'' have an alpha component, unlike Prime 1 lights.
| This color ''does'' have an alpha component, unlike Prime 1 lights.
|-
|-
Line 115: Line 115:
| 0x38
| 0x38
| float
| float
| '''Multiplier'''
| '''Brightness'''
| Color multiplier for local ambient, used to calculate attenuation coefficients for spot/custom
| Multiplied by color for local ambient, used to calculate distance attenuation coefficients for spot/custom
|-
|-
| 0x3C
| 0x3C
| float
| float
| '''Spot Cutoff'''
| '''Spot Cutoff'''
|  
| Used to calculate angle attenuation coefficients for spotlights
|-
|-
| 0x40
| 0x40
Anonymous user

Navigation menu