Babylon.js icon indicating copy to clipboard operation
Babylon.js copied to clipboard

Add support for AreaLights

Open sebavan opened this issue 5 years ago • 11 comments

Based on those researches, integrate supports for Area Lights:

  • https://eheitzresearch.wordpress.com/415-2/
  • https://eheitzresearch.wordpress.com/757-2/

sebavan avatar Mar 19 '20 17:03 sebavan

Which version of this feature is expected to be implemented

undefinedlee avatar Nov 16 '21 09:11 undefinedlee

We don't know yet. This is something we are looking for help if you are motivated

deltakosh avatar Nov 16 '21 16:11 deltakosh

Is this still something we want? I was looking at the code it would not really be that hard to convert, but it does look like it only supports planes at this moment.

Pryme8 avatar Jan 10 '23 16:01 Pryme8

oh yes we want it. but we want it as a regular source (so for all meshes)

deltakosh avatar Jan 10 '23 16:01 deltakosh

Maybe PlayCanvas their implementation (light shapes) can also help. They have predefined shapes though. Docs: https://developer.playcanvas.com/en/user-manual/graphics/lighting/lights/#light-shapes Example: https://playcanvas.github.io/#/graphics/area-lights

Ivolutio avatar Jan 11 '23 09:01 Ivolutio

Do we want shadow support as well?

lokiiarora avatar Sep 05 '23 11:09 lokiiarora

I don't think so, soft shadows can be simulated to some extent with PCSS or some other filter method. Generating accurate shadows for area lights would be quite time consuming I think.

Popov72 avatar Sep 05 '23 14:09 Popov72

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

github-actions[bot] avatar Mar 28 '24 00:03 github-actions[bot]