Layer

Layer

Draw-order layer constants for the painter's algorithm. Higher values draw later (on top).

Differs from THREE.js

RuneTek-specific draw-order constant. No THREE equivalent.

Properties

NameTypeDescription
GROUND

number

Layer 0 - ground tiles.

SCENERY

number

Layer 1 - static scenery.

ENTITY

number

Layer 2 - characters and NPCs.

OVERLAY

number

Layer 3 - UI overlays.