| Parameter | Description |
|---|---|
| context | Device context. |
| irradianceIn | Buffer containing input irradiance. |
| irradianceOut | Output buffer containing the irradiance array after the conversion to the format compatible with a Unity renderer. |
| probeCount | Number of SphericalHarmonicsL2 probes to convert. |
| divideByPI | Whether to divide the coefficients by Pi (π), matching Unity's historical baked lighting convention. The overload without this parameter always divides. Pass false when the render pipeline disables SupportedRenderingFeatures.divideBakedOutputByPI and expects textbook irradiance. |
bool True if the operation was successfully added to the command queue on the context.
Converts light probes encoded as SphericalHarmonicsL2 to the format expected by the Unity renderer.
The irradiance SphericalHarmonicsL2 light probes must satisfy the following conditions when used with a Unity renderer: