GetInterpolatedProbe(Vector3, Renderer, out SphericalHarmonicsL2)
Returns an interpolated probe for the given position for both real-time and baked light probes combined.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
GetInterpolatedProbe(Vector3, Renderer, SphericalHarmonicsL2)
public static void GetInterpolatedProbe(Vector3 position, Renderer renderer, out SphericalHarmonicsL2 probe)
Parameters
Remarks
Renderer is only needed to speed up the search for the current tetrahedron, as it caches the index of the tetrahedron it was in the last frame.