How do I create rectangular lights ? Something like the ones used in http://threed.io
I imagine you could use a spot light and an alpha texture?
We do not support area lights unless I missed something recently.
Also I do not see a rectangle light in the example, but I’m on a iPhone so maybe it’s different?
Thanks for the reply. Will try using a Spotlight.
You can look at the glare of the light on the screen. It looks like a rounded rectangle.
I think they are using a reflectionTexture (like the one for the PBR shader)
Do you think about that reflection right?
If yes, then you can do it with a PBR shader:
https://doc.babylonjs.com/how_to/physically_based_rendering
Thanks for the reply. Will try using Reflection Texture