light_volume

🚧 This article is a stub. You can help expand it by submitting content in pull requests or issues in this wiki's source repo.

...

Structure and fields #

Field Type Comments
attachment marker char[32]
pad(2)
flags bitfield(16)
Flag Mask Comments
interpolate color in hsv 0x1
more colors 0x2
pad(16)
near fade distance f32 (world units)
far fade distance f32 (world units)
perpendicular brightness scale Fraction: f32
  • Maximum: 1
  • Default value: 1.
parallel brightness scale Fraction: f32
  • Maximum: 1
  • Default value: 1.
brightness scale source enum
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
pad(20)
sequence index Index: u16
count u16
pad(72)
frame animation source enum
Option Value Comments
none 0x0
a out 0x1
b out 0x2
c out 0x3
d out 0x4
pad(2)
pad(36)
pad(64)
frames Block?
Field Type Comments
pad(16)
offset from marker f32 (world units)
offset exponent f32
  • Default value: 1.
length f32 (world units)
pad(32)
radius hither f32 (world units)
radius yon f32 (world units)
radius exponent f32
  • Default value: 1.
pad(32)
tint color hither
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
tint color yon
ColorARGB
  • alpha: f32
  • red: f32
  • green: f32
  • blue: f32
tint color exponent f32
  • Default value: 1.
brightness exponent f32
  • Default value: 1.
pad(32)
pad(32)

This information was partially generated using Invader tag definitions.

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)