Site Tools


des-refmat:param:lightscatteringbank

LightScatteringBank

Fields

Field Type Offset Description Notes
sunRotX s32 0x0 The horizontal angle for the light source (sun). In degrees.
sunRotY s32 0x4 The vertical angle for the light source (sun). In degrees.
distanceMul s32 0x8 The magnification to apply to the distance of the scattering.
inscatteringMul s32 0xc The magnification to apply to the in-scattering.
sunR s32 0x10 The red component of the coloring for the light source (sun).
sunG s32 0x14 The green component of the coloring for the light source (sun).
sunB s32 0x18 The blue component of the coloring for the light source (sun).
sunA s32 0x1c The alpha component of the coloring for the light source (sun).
lsHGg f32 0x20 The scattering direction coefficient, negative is backward, positive is forward.
lsBetaRay f32 0x24 The scattering coefficient for the rays. Represents air particles.
lsBetaMie f32 0x28 The scattering coefficient for the rays. Represents fine particles.
blendCoef s32 0x2c The scattering degree for the rays.
reflectanceR s32 0x30 The red component of the coloring for the reflected light from the light source (sun).
reflectanceG s32 0x34 The green component of the coloring for the reflected light from the light source (sun).
reflectanceB s32 0x38 The blue component of the coloring for the reflected light from the light source (sun).
reflectanceA s32 0x3c The alpha component of the coloring for the reflected light from the light source (sun).
des-refmat/param/lightscatteringbank.txt · Last modified: by admin