I added directional lights to my scene dynamically…lights are working…I have dat.gui also…made color choice option for my model…when I swap model color gui updating intensity and position values but light intensity not updating…
when I swap to a color returning error : Uncaught TypeError: Cannot create property ‘intensity’ on string ‘Lamba0’
Lamba0 is one of my lights…
how can I change light intensity? How to reach dynamically added light properties?