ElixirQuake.LightPoint (elixir_quake v0.1.0)

Copy Markdown View Source

How brightly the world is lit at a point: the lightmap of the first surface straight below it, within 2048 units, with each light style at its present scale. Models are lit by it.

ElixirQuake.LightPoint.at(bsp, origin, styles)
#=> 0..255

Summary

Functions

The light (0 to 255) at point, styles scaled by styles (a tuple of scales by style, 256 normal).

Functions

at(bsp, point, styles)

The light (0 to 255) at point, styles scaled by styles (a tuple of scales by style, 256 normal).