Fix: EEVEE: Transparent pass break AO pass

This was caused by bad ordering. AO pass should only
include Dithered objects.

Fix #123393
This commit is contained in:
Clément Foucault
2024-06-26 15:19:54 +02:00
parent 3232458152
commit 56023d5b63

View File

@@ -141,7 +141,7 @@ void ShadingView::render()
inst_.volume.draw_compute(main_view_, extent_);
// inst_.lookdev.render_overlay(view_fb_);
inst_.ambient_occlusion.render_pass(render_view_);
inst_.pipelines.forward.render(render_view_, prepass_fb_, combined_fb_, extent_);
@@ -154,8 +154,6 @@ void ShadingView::render()
inst_.sphere_probes.viewport_draw(render_view_, combined_fb_);
inst_.planar_probes.viewport_draw(render_view_, combined_fb_);
inst_.ambient_occlusion.render_pass(render_view_);
GPUTexture *combined_final_tx = render_postfx(rbufs.combined_tx);
inst_.film.accumulate(jitter_view_, combined_final_tx);