Reflection Probe Workflow when multiple materials in the scene need reflections

Thanks @Evgeni_Popov the cyclic dependency is no longer showing. It worked.

I will make one small change to your code . In line 59 in addition to checking if the cube texture is ready for rendering, we also need to check if the scene is ready for rendering

scene.isReady()

The reasoning is on this thread. Why does my reflection probe see nothing? *Update* Just not the skymap? - #8 by Pryme8

After doing this my scene started working as expected. Otherwise, the reflection textures were missing most of the meshes.

1 Like