RectAreaLight not working



I want to use RectAreaLight but it does not work. please check this fiddle. i need help.

  • You have to include RectAreaLightUniformsLib from examples/js/lights/RectAreaLightUniformsLib.js
  • You have to use MeshStandardMaterial or MeshPhysicalMaterial
  • You have to change your light color from black to something more bright :wink:
  • Your RectAreaLight needs to look at the cube

RectAreaLight is still experimental. That’s the reason for these limitations.

Fixed fiddle: