Site Tools


ds1-refmat:param:lightbank

LightBank

Fields

Field Type Offset Description Notes
degRotX_0 s16 0x0 The horizontal angle to use for this light source. In degrees.
degRotY_0 s16 0x2 The vertical angle to use for this light source. In degrees.
colR_0 s16 0x4 The red component of the RGBA color used for this light source.
colG_0 s16 0x6 The green component of the RGBA color used for this light source.
colB_0 s16 0x8 The blue component of the RGBA color used for this light source.
colA_0 s16 0xa The alpha component of the RGBA color used for this light source.
degRotX_1 s16 0xc The horizontal angle to use for this light source. In degrees.
degRotY_1 s16 0xe The vertical angle to use for this light source. In degrees.
colR_1 s16 0x10 The red component of the RGBA color used for this light source.
colG_1 s16 0x12 The green component of the RGBA color used for this light source.
colB_1 s16 0x14 The blue component of the RGBA color used for this light source.
colA_1 s16 0x16 The alpha component of the RGBA color used for this light source.
degRotX_2 s16 0x18 The horizontal angle to use for this light source. In degrees.
degRotY_2 s16 0x1a The vertical angle to use for this light source. In degrees.
colR_2 s16 0x1c The red component of the RGBA color used for this light source.
colG_2 s16 0x1e The green component of the RGBA color used for this light source.
colB_2 s16 0x20 The blue component of the RGBA color used for this light source.
colA_2 s16 0x22 The alpha component of the RGBA color used for this light source.
colR_u s16 0x24 The red component of the RGBA color used for this light source.
colG_u s16 0x26 The green component of the RGBA color used for this light source.
colB_u s16 0x28 The blue component of the RGBA color used for this light source.
colA_u s16 0x2a The alpha component of the RGBA color used for this light source.
colR_d s16 0x2c The red component of the RGBA color used for this light source.
colG_d s16 0x2e The green component of the RGBA color used for this light source.
colB_d s16 0x30 The blue component of the RGBA color used for this light source.
colA_d s16 0x32 The alpha component of the RGBA color used for this light source.
degRotX_s s16 0x34 The horizontal angle to use for this light source. In degrees.
degRotY_s s16 0x36 The vertical angle to use for this light source. In degrees.
colR_s s16 0x38 The red component of the RGBA color used for this light source.
colG_s s16 0x3a The green component of the RGBA color used for this light source.
colB_s s16 0x3c The blue component of the RGBA color used for this light source.
colA_s s16 0x3e The alpha component of the RGBA color used for this light source.
envDif_colR s16 0x40 The red component of the RGBA color used for this light source.
envDif_colG s16 0x42 The green component of the RGBA color used for this light source.
envDif_colB s16 0x44 The blue component of the RGBA color used for this light source.
envDif_colA s16 0x46 The alpha component of the RGBA color used for this light source.
envSpc_colR s16 0x48 The red component of the RGBA color used for this light source.
envSpc_colG s16 0x4a The green component of the RGBA color used for this light source.
envSpc_colB s16 0x4c The blue component of the RGBA color used for this light source.
envSpc_colA s16 0x4e The alpha component of the RGBA color used for this light source.
envDif s16 0x50 The diffuse texture to use for this light source.
envSpc_0 s16 0x52 The specular texture to use for this light source.
envSpc_1 s16 0x54 The specular texture to use for this light source.
envSpc_2 s16 0x56 The specular texture to use for this light source.
envSpc_3 s16 0x58 The specular texture to use for this light source.
pad dummy8 0x5a This field is padding.
ds1-refmat/param/lightbank.txt · Last modified: by admin