Version: 2021.3

LightProbes.GetInterpolatedProbe

切换到手册
public static void GetInterpolatedProbe (Vector3 position, Renderer renderer, out Rendering.SphericalHarmonicsL2 probe);

描述

Returns an interpolated probe for the given position for both real-time and baked light probes combined.

渲染器只需加速搜索当前四面体,因为它会缓存在最后一帧中所处的四面体的索引。