Fix: EEVEE-Next: Planar Reflection During Sculpting

This PR fixes an issue that the shading pass isn't filled when
sculpting. Was detected when querying code that landed
in main.

Pull Request: https://projects.blender.org/blender/blender/pulls/113439
This commit is contained in:
Jeroen Bakker 2023-10-09 11:03:20 +02:00
parent 5f49efc084
commit 79c0cd0646
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ bool SyncModule::sync_sculpt(Object *ob,
}
if (do_planar_probe_sync) {
geometry_call(material.planar_probe_prepass.sub_pass, geom, res_handle);
geometry_call(material.planar_probe_shading.sub_pass, geom, res_handle);
}
is_shadow_caster = is_shadow_caster || material.shadow.sub_pass != nullptr;