You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Merge pull request #80215 from clayjohn/HDR-2D
Add option to enable HDR rendering in 2D
This commit is contained in:
@@ -2659,6 +2659,9 @@ void Node3DEditorViewport::_project_settings_changed() {
|
||||
const bool transparent_background = GLOBAL_GET("rendering/viewport/transparent_background");
|
||||
viewport->set_transparent_background(transparent_background);
|
||||
|
||||
const bool use_hdr_2d = GLOBAL_GET("rendering/viewport/hdr_2d");
|
||||
viewport->set_use_hdr_2d(use_hdr_2d);
|
||||
|
||||
const bool use_debanding = GLOBAL_GET("rendering/anti_aliasing/quality/use_debanding");
|
||||
viewport->set_use_debanding(use_debanding);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user