struct PaperPointLight

Defined at line 30 of file ../../src/ui/lib/escher/paper/paper_light.h

Represents the position and color/intensity of a point light in a PaperScene.

NOTE: good enough for now, but at some point we may want additional

properties such as a primary direction and angular falloff (although in that

case, maybe this would be renamed to PaperSpotLight?).

TODO(https://fxbug.dev/42152001): define physically based units of light intensity.

Public Members

tvec3 position
tvec3 color
float falloff