aframe light (component) Point


Point lights, unlike directional lights, are omni-directional and affect materials depending on their position and distance. Point likes are like light bulb. The closer the light bulb gets to an object, the greater the object is lit.

<a-entity light="type: point; intensity: 0.75; distance: 50; decay: 2"
      position="0 10 10"></a-entity>
PropertyDescriptionDefault Value
decayAmount the light dims along the distance of the light.1.0
distanceDistance where intensity becomes 0. If distance is 0, then the point light does not decay with distance.0.0