Site Tools


des-refmat:param:lensflarebank

LensFlareBank

Fields

Field Type Offset Description Notes
texId s8 0x0 The texture to use for this lens flare.
isFlare u8 0x1 If ON, this lens flare is treated as a flare. If OFF, then it is a ghost. This field is a boolean.
enableRoll u8 0x2 If ON, this lens flare can be rotated. This field is a boolean.
enableScale u8 0x3 If ON, this lens flare can be scaled. This field is a boolean.
dummy1 s32 0x4 This field is padding.
locateDistRate f32 0x8 The placement distance rate. 0 is the light source position, 1 is the centre of the screen.
texScale f32 0xc The scale to apply to the lens flare texture.
colR s32 0x10 The red component of the RGBA color used with the lens flare texture.
colG s32 0x14 The green component of the RGBA color used with the lens flare texture.
colB s32 0x18 The blue component of the RGBA color used with the lens flare texture.
colA s32 0x1c The alpha component of the RGBA color used with the lens flare texture.
des-refmat/param/lensflarebank.txt · Last modified: by admin