Dynamic lights in HTML5


I’m working on a simple demo, where the user can turn on/off and choose a light colour of 5 lights in the scene.

Everything works fine in desktop version, but exporting it to HTML5 is an issue. From my research it looks like dynamic lighting isn’t supported in HTML5 yet. Is there a workaround? Or is there an ETA on when it will be supported on web ?


I believe with WebGL 2 support things could improve here. Any chance you could share a simple test project, screenshots or builds for testing? I’d be curious to try this out myself and see how this currently behaves.