eminet_VR

lights

aframe docs

tuto

types

Ambient : lights globally affect all entities in the scene

Directional : infinitely far away, but from a specific direction, like the sun.

Hemisphere : like an ambient light with 2 colors (1 above (color), 1 below (groundColor))

<a-entity light="type: hemisphere; color: #33C; groundColor: #3C3; intensity: 2">
</a-entity>

Point : omni-directional and affect materials depending on their position and distance

Spot : cast light only in one direction (but not omni-directional)

<a-entity light="type: spot; angle: 45"></a-entity>