You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +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:
@@ -1401,6 +1401,7 @@ void RendererViewport::viewport_set_use_debanding(RID p_viewport, bool p_use_deb
|
||||
return;
|
||||
}
|
||||
viewport->use_debanding = p_use_debanding;
|
||||
RSG::texture_storage->render_target_set_use_debanding(viewport->render_target, p_use_debanding);
|
||||
_configure_3d_render_buffers(viewport);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user