google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.36k stars 1.84k forks source link

How to get surface illuminance values? #7823

Closed flyskyosg closed 2 months ago

flyskyosg commented 2 months ago

Good day,

I am simulating light propagation from a spot light in filament. My scene may have multiple light sources like this. I would like to get the surface illuminance (in lux) computed by filament.

How should I convert the power parameters of the light for use in ray tracing calculations of the scene?

How to get surface illuminance values?

I would be happy to hear suggestions, if any. Thanks!