I want to use RectAreaLight
but it does not work. please check this fiddle. i need help.
- You have to include
RectAreaLightUniformsLib
fromexamples/js/lights/RectAreaLightUniformsLib.js
and call.init()
. - You have to use
MeshStandardMaterial
orMeshPhysicalMaterial
- You have to change your light color from black to something more bright
- Your
RectAreaLight
needs to look at the cube
RectAreaLight
is still experimental. That’s the reason for these limitations.
Fixed fiddle: https://jsfiddle.net/ge4m0voh/
3 Likes