diff options
author | Fabio Iotti <fabiogiopla@gmail.com> | 2022-12-12 21:17:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 21:17:36 +0100 |
commit | c53c687962b0ea4333acbaacb504539285275e90 (patch) | |
tree | 33ce4949707123da094288f71864f25afbf3b1a8 /servers/rendering | |
parent | ba4bd7f00971a94c20d90e7d2c665d5eb0ae1b90 (diff) |
Fix screen texture slightly darker
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/shader_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/shader_compiler.cpp b/servers/rendering/shader_compiler.cpp index 7ccf3af6eb..3604756fd8 100644 --- a/servers/rendering/shader_compiler.cpp +++ b/servers/rendering/shader_compiler.cpp @@ -1287,7 +1287,7 @@ String ShaderCompiler::_dump_node_code(const SL::Node *p_node, int p_level, Gene } code += ")"; if (is_screen_texture && actions.apply_luminance_multiplier) { - code = "(" + code + " / vec4(vec3(sc_luminance_multiplier), 1.0))"; + code = "(" + code + " * vec4(vec3(sc_luminance_multiplier), 1.0))"; } } break; case SL::OP_INDEX: { |