1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Use half float precision buffer for 3D when HDR2D is enabled

This is necessary for Environment effects like Glow to work correctly.
This commit is contained in:
clayjohn
2025-08-25 14:03:31 -07:00
parent c7b1767560
commit f61ee7bdf6
13 changed files with 60 additions and 53 deletions

View File

@@ -142,6 +142,8 @@ float sc_luminance_multiplier() {
return 1.0;
}
#define REFLECTION_MULTIPLIER 1.0
#define SDFGI_MAX_CASCADES 8
/* Set 0: Base Pass (never changes) */