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