mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-17 23:39:18 +02:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user