Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
once
Update the probe once on the next frame (recommended for most objects). The corresponding radiance map will be generated over the following six frames. This takes more time to update than .updateAlways, but it has a lower performance cost and can result in higher-quality reflections. The ReflectionProbe is updated when its transform changes, but not when nearby geometry changes. You can force a ReflectionProbe
update by moving the ReflectionProbe
slightly in any direction.
case once
Other cases
case always
Update the probe every frame. This provides better results for fast-moving dynamic objects (such as cars). However, it has a significant performance cost. Due to the cost, it’s recommended to only use one ReflectionProbe with .updateAlways at most per scene. For all other use cases, use .updateOnce.