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.37k stars 1.84k forks source link

Custom Bloom Threshold Value #7746

Open Nolram12345 opened 3 months ago

Nolram12345 commented 3 months ago

Is your feature request related to a problem? Please describe. Currently, threshold is just a boolean in the PostProcessing options (Options.h) - however, internally the material uses a float for thresholding anyways. However, currently there is no way to change the threshold for Bloom, which can be an issue when attempting to use the effect in a controllable manner.

Describe the solution you'd like Replacing or adding an option to the bloom settings to set a custom threshold value.

Describe alternatives you've considered Hardcoding a custom bloom threshold, but that's... more of a hack and not really necessary.

OS and backend Not specific.