Sector light levels as a lightmap: one 256×1 texture holding the brightness of every
light level 0..255, and the lightmap coordinates that read level n from it.
Brightness follows Cauldron2D.Sectors.Light's ramp at a fixed viewing distance:
the share of full colour the light table at that distance keeps, turned from sRGB
into linear light.
CauldronGPU.Sectors.Light.texture(256.0)
CauldronGPU.Sectors.Light.uv(160)
Summary
Functions
Linear brightness 0.0..1.0 of light level seen from distance.
The lightmap texture of every light level seen from distance map units.
The lightmap coordinates of light level, clamped to 0..255.
Functions
Linear brightness 0.0..1.0 of light level seen from distance.
@spec texture(number()) :: CauldronGPU.Texture.t()
The lightmap texture of every light level seen from distance map units.
The lightmap coordinates of light level, clamped to 0..255.