# ReferenceProbePostProcessor

> ReferenceProbePostProcessor is a post processor for light probes. The ReferenceProbePostProcessor implements the IProbePostProcessor interface.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.LightTransport.PostProcessing](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing.md)
* **Assembly:** UnityEditor.CoreModule
* **Implements:** [IProbePostProcessor](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/iprobepostprocessor.md), [IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

```csharp
public class ReferenceProbePostProcessor : IProbePostProcessor, IDisposable
```

## Remarks

The implementation favors correctness and simplicity over performance. It runs on CPU without multithreading, asynchronous execution or any other optimizations. The class is meant for debugging and is not intended for production use.

## Constructors

| Constructor                                                                                                                                    | Description  |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| [ReferenceProbePostProcessor()](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/ctor.md) | Constructor. |

## Methods

| Method                                                                                                                                                                | Description                                                                                                                                                                          |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [AddSphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/addsphericalharmonicsl2.md)           | Perform the sum of two arrays of [SphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/rendering/sphericalharmonicsl2.md).                                              |
| [ConvertToUnityFormat](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/converttounityformat.md)                 | Converts light probes encoded as [SphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/rendering/sphericalharmonicsl2.md) to the format expected by the Unity renderer. |
| [ConvolveRadianceToIrradiance](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/convolveradiancetoirradiance.md) | Convolve radiance to irradiance.                                                                                                                                                     |
| [DeringSphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/deringsphericalharmonicsl2.md)     | De-ring an array of [SphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/rendering/sphericalharmonicsl2.md) probes.                                                    |
| [Dispose](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/dispose.md)                                           | Disposes the post processor.                                                                                                                                                         |
| [Initialize](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/initialize.md)                                     | Initialize the [ReferenceProbePostProcessor](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor.md).                              |
| [ScaleSphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/scalesphericalharmonicsl2.md)       | Scale an array of [SphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/rendering/sphericalharmonicsl2.md) probes.                                                      |
| [WindowSphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/lighttransport/postprocessing/referenceprobepostprocessor/windowsphericalharmonicsl2.md)     | Apply a windowing operation on an array of [SphericalHarmonicsL2](/engine/6000.7/script-reference/unityengine/rendering/sphericalharmonicsl2.md) probes.                             |
