mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add agx_white, agx_contrast and HDR support to the AgX tonemapper.
Also optimize all tonemappers to perform less calculations per-pixel. Note: unlike `white`, `agx_white` is limited to a minimum of `2.0` and defaults to `16.29`. When using a RGB10A2 render buffer, `agx_white` will be ignored and a value of `2.0` will be used instead to ensure good behavior on the Mobile renderer.
This commit is contained in:
parent
7a228b4b91
commit
628df323e2
24 changed files with 546 additions and 241 deletions
|
|
@ -831,6 +831,7 @@ public:
|
|||
FUNC1(environment_glow_set_use_bicubic_upscale, bool)
|
||||
|
||||
FUNC4(environment_set_tonemap, RID, EnvironmentToneMapper, float, float)
|
||||
FUNC2(environment_set_tonemap_agx_contrast, RID, float)
|
||||
|
||||
FUNC7(environment_set_adjustment, RID, bool, float, float, float, bool, RID)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue