mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Always perform color correction and debanding on nonlinear sRGB values.
Fixes #107730 Co-authored-by: LuoZhihao <luo_zhihao@outlook.com>
This commit is contained in:
parent
4d1f26e1fd
commit
a1591512f8
15 changed files with 82 additions and 20 deletions
|
|
@ -158,6 +158,8 @@ public:
|
|||
virtual void render_target_do_msaa_resolve(RID p_render_target) = 0;
|
||||
virtual void render_target_set_use_hdr(RID p_render_target, bool p_use_hdr) = 0;
|
||||
virtual bool render_target_is_using_hdr(RID p_render_target) const = 0;
|
||||
virtual void render_target_set_use_debanding(RID p_render_target, bool p_use_debanding) = 0;
|
||||
virtual bool render_target_is_using_debanding(RID p_render_target) const = 0;
|
||||
|
||||
virtual void render_target_request_clear(RID p_render_target, const Color &p_clear_color) = 0;
|
||||
virtual bool render_target_is_clear_requested(RID p_render_target) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue