Site Tools


ds1-refmat:param:lightscatteringbank

LightScatteringBank

Fields

Field Type Offset Description Notes
sunRotX s16 0x0 The horizontal angle for the light source (sun). In degrees.
sunRotY s16 0x2 The vertical angle for the light source (sun). In degrees.
distanceMul s16 0x4 The magnification to apply to the distance of the scattering.
sunR s16 0x6 The red component of the coloring for the light source (sun).
sunG s16 0x8 The green component of the coloring for the light source (sun).
sunB s16 0xa The blue component of the coloring for the light source (sun).
sunA s16 0xc The alpha component of the coloring for the light source (sun).
pad_0 dummy8 0xe This field is padding.
lsHGg f32 0x10 The scattering direction coefficient, negative is backward, positive is forward.
lsBetaRay f32 0x14 The scattering coefficient for the rays. Represents air particles.
lsBetaMie f32 0x18 The scattering coefficient for the rays. Represents fine particles.
blendCoef s16 0x1c The scattering degree for the rays.
reflectanceR s16 0x1e The red component of the coloring for the reflected light from the light source (sun).
reflectanceG s16 0x20 The green component of the coloring for the reflected light from the light source (sun).
reflectanceB s16 0x22 The blue component of the coloring for the reflected light from the light source (sun).
reflectanceA s16 0x24 The alpha component of the coloring for the reflected light from the light source (sun).
pad_1 dummy8 0x26 This field is padding.
ds1-refmat/param/lightscatteringbank.txt · Last modified: by admin