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.35k stars 1.83k forks source link

Lit Materials can now specify the quality of SH computations #7932

Closed pixelflinger closed 1 week ago

pixelflinger commented 1 week ago

The number of SH bands used for the indirect light irradiance computations can be set to 1, 2 or 3 (default) in Material::Builder.

For e.g. in lower-end devices w/ non HDR content, it might be beneficial to set this value to 2.

BUGS=[341971013]