mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 09:12:08 +01:00
Sample the fog cells in their middle across the view and dither the output
This commit is contained in:
@@ -1228,6 +1228,8 @@ if (!Global.gfx_skippipeline)
|
||||
bloomlevels = vp.bloom->sizes.size();
|
||||
}
|
||||
model_ubs.param[0] = m_exposure.tonemap_params(bloomlevels);
|
||||
// the dither goes to the last pass before the window: the chromatic aberration, when it follows
|
||||
model_ubs.param[1] = glm::vec4{Global.gfx_postfx_chromaticaberration_enabled ? 0.f : 1.f, 0.f, 0.f, 0.f};
|
||||
model_ubo->update(model_ubs);
|
||||
std::vector<opengl_texture *> tonemapinput{vp.main2_tex.get()};
|
||||
if (bloomtexture != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user