WATERLIGHT namespace JJ2+

Lighting under water

Enums

enum wl { NONE, GLOBAL, LAGUNICUS } JJ2+
How ambient lighting behaves when the level has water

Enum documentation

enum WATERLIGHT::wl JJ2+

How ambient lighting behaves when the level has water

Enumerators
NONE

Full brightness everywhere while water is active, ignoring ambient lighting

GLOBAL

Ambient lighting applies equally above and below the water surface

LAGUNICUS

Full brightness above water, darker the deeper below the surface the player is