Reflecting surrounding objects with Reflection Probes
If you want your scene'senvironment to be reflected by Game Objects by featuring reflective Materials (such as the ones with high Metallic or Specular levels), then you can achieve such an effect by using Reflection Probes. They allow for real-time, baked, or even Custom reflections through the use of Cubemaps.
real-time reflections can be expensive in terms of processing; in which case, you should favor baked reflections, unless it's really necessary to display dynamic objects being reflected (mirror-like objects, for instance). Still, there are some ways real-time reflections can be optimized. In this recipe, we will test three different configurations for reflection probes:
- real-time reflections (constantly updated)
- real-time reflections (updated on-demand via scripting)
- baked reflections (from the editor)
Getting ready
For this recipe, we have prepared a basic scene, featuring three sets of reflective objects: one is constantly moving,...