BabylonJS / Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
http://www.babylonjs.com
Apache License 2.0
23.31k stars 3.44k forks source link

Add support for AreaLights #7866

Open sebavan opened 4 years ago

sebavan commented 4 years ago

Based on those researches, integrate supports for Area Lights:

undefinedlee commented 3 years ago

Which version of this feature is expected to be implemented

deltakosh commented 3 years ago

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

Pryme8 commented 1 year ago

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.

deltakosh commented 1 year ago

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

Ivolutio commented 1 year ago

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

lokiiarora commented 1 year ago

Do we want shadow support as well?

Popov72 commented 1 year ago

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.

github-actions[bot] commented 8 months ago

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

github-actions[bot] commented 7 months ago

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

github-actions[bot] commented 6 months ago

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

github-actions[bot] commented 5 months ago

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