Table of Contents

Enum LayerFlags

Namespace
WoWLib.Formats.ADT.Chunks
Assembly
WoWLib.dll

Per-cell texture-layer flag bits (SMLayer.flags). The low 6 bits hold the animation rotation (0x7) and speed (0x38); see SMLayer.animation_rotation()/animation_speed().

[Flags]
public enum LayerFlags : uint

Fields

AlphaMapCompressed = 512

The layer's MCAL alpha map is RLE-compressed on disk. wowlib decodes it either way; on write it re-compresses when this bit is set.

AnimationEnabled = 64

Texture-coordinate animation is on.

Overbright = 128

Render much brighter (used for glowing lava).

UseAlphaMap = 256

This layer blends through an MCAL alpha map (set on every layer after the first).

UseCubeMapReflection = 1024

Treat the ground layer as a skybox reflection (needs an MTXF entry).

unknown_0x1000 = 4096

WoD?+; see 0x800.

unknown_0x800 = 2048

WoD?+ with 0x1000: apply the texture-effect texture scale.