From 7288201e968eec19cdb2fe887e53ffc827d10c50 Mon Sep 17 00:00:00 2001 From: Miguel Pozo Date: Wed, 20 Dec 2023 20:04:44 +0100 Subject: [PATCH] EEVEE-Next: Partial World LightPath node support --- source/blender/draw/engines/eevee_next/eevee_pipeline.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/blender/draw/engines/eevee_next/eevee_pipeline.cc b/source/blender/draw/engines/eevee_next/eevee_pipeline.cc index b8a543efe28..e975b28e386 100644 --- a/source/blender/draw/engines/eevee_next/eevee_pipeline.cc +++ b/source/blender/draw/engines/eevee_next/eevee_pipeline.cc @@ -96,7 +96,12 @@ void WorldPipeline::sync(GPUMaterial *gpumat) void WorldPipeline::render(View &view) { + /* TODO(Miguel Pozo): All world probes are rendered as RAY_TYPE_GLOSSY. */ + inst_.pipelines.data.is_probe_reflection = true; + inst_.push_uniform_data(); inst_.manager->submit(cubemap_face_ps_, view); + inst_.pipelines.data.is_probe_reflection = false; + inst_.push_uniform_data(); } /** \} */