shader_transparent_glass

🚧 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 #

This tag inherits fields from shader which are not shown here. See the parent's page for more information. The following information is unique to the shader_transparent_glass tag.

Field Type Comments
shader transparent glass flags bitfield(16)
Flag Mask Comments
alpha tested 0x1
decal 0x2
two sided 0x4
bump map is specular mask 0x8
pad(2)
pad(40)
background tint color
ColorRGB
  • red: f32
  • green: f32
  • blue: f32
background tint map scale f32
  • Default value: 1.
pad(20)
pad(2)
reflection type enum
Option Value Comments
bumped cube map 0x0
flat cube map 0x1
dynamic mirror 0x2
perpendicular brightness Fraction: f32
  • Maximum: 1
perpendicular tint color
ColorRGB
  • red: f32
  • green: f32
  • blue: f32
parallel brightness Fraction: f32
  • Maximum: 1
parallel tint color
ColorRGB
  • red: f32
  • green: f32
  • blue: f32
bump map scale f32
  • Default value: 1.
pad(128)
pad(4)
diffuse map scale f32
  • Default value: 1.
diffuse detail map scale f32
  • Default value: 1.
pad(28)
pad(4)
specular map scale f32
  • Default value: 1.
specular detail map scale f32
  • Default value: 1.
pad(28)

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)