ReflectionProbeTimeSlicingMode

enumeration

Switch to Manual

Description

When a probe's ReflectionProbe.refreshMode is set to ReflectionProbeRefreshMode.EveryFrame, this enum specify whether or not Unity should update the probe's cubemap over several frames or update the whole cubemap in one frame. Updating a probe's cubemap is a costly operation. Unity needs to render the entire Scene for each face of the cubemap, as well as perform special blurring in order to get glossy reflections. The impact on frame rate can be significant. Time-slicing helps maintaning a more constant frame rate during these updates by performing the rendering over several frames.

Variables

AllFacesAtOnce通过先一次渲染所有图面,然后将剩余工作分散到接下来的 8 个帧,指示 Unity 使用时间切片。使用此选项时,更新探针将需要 9 帧。
IndividualFacesInstructs Unity to spread the rendering of each face over several frames. Using this option, updating the cubemap will take 14 frames. This option greatly reduces the impact on frame rate, however it may produce incorrect results, especially in Scenes where lighting conditions change over these 14 frames.
NoTimeSlicingUnity 将在一帧渲染整个探针。