From fdc9ea7099d32ad349857c6ba796d3b5a2bacb8a Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Tue, 30 Jun 2026 03:31:43 +0200 Subject: [PATCH] opengl33renderer: Brighten up the clouds With tonemapping, clouds need to stand out above 1.0 to reach proper white levels. Note that this should get disabled if tonemapping isn't used, in case it's made properly configurable in the future. --- rendering/opengl33renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rendering/opengl33renderer.cpp b/rendering/opengl33renderer.cpp index 77ed82c3..e0f71d22 100644 --- a/rendering/opengl33renderer.cpp +++ b/rendering/opengl33renderer.cpp @@ -2047,7 +2047,7 @@ bool opengl33_renderer::Render(world_environment *Environment) // write cloud color into material TSubModel *mdl = Environment->m_clouds.mdCloud->Root; if (mdl->m_material != null_handle) - m_materials.material(mdl->m_material).params[0] = glm::vec4(color, 1.0f); + m_materials.material(mdl->m_material).params[0] = glm::vec4(color * 2.5f, 1.0f); // render Render(Environment->m_clouds.mdCloud, nullptr, 100.0);