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.
locateDistRate f32 0x4 The placement distance rate. 0 is the light source position, 1 is the centre of the screen.
texScale f32 0x8 The scale to apply to the lens flare texture.
colR s16 0xc The red component of the RGBA color used with the lens flare texture.
colG s16 0xe The green component of the RGBA color used with the lens flare texture.
colB s16 0x10 The blue component of the RGBA color used with the lens flare texture.
colA s16 0x12 The alpha component of the RGBA color used with the lens flare texture.