# RadeonRaysProbePostProcessor

> RadeonRaysProbePostProcessor is a post processor for light probes. It provides common operations for light probes encoded as SphericalHarmonicsL2. Operations include radiance to irradiance conversion, conversion to the format expected by Unity for rendering (refer to IProbePostProcessor.ConvertToUnityFormat ), addition, and scaling.

## Definition

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

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

## Remarks

The [RadeonRaysProbePostProcessor](/engine/6000.6/script-reference/unityengine/lighttransport/postprocessing/radeonraysprobepostprocessor.md) implements the [IProbePostProcessor](/engine/6000.6/script-reference/unityengine/lighttransport/postprocessing/iprobepostprocessor.md) interface. It is using the OpenCL 1.2 API for compute.

## Constructors

| Constructor                                                                                                                                      | Description  |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ |
| [RadeonRaysProbePostProcessor()](/engine/6000.6/script-reference/unityengine/lighttransport/postprocessing/radeonraysprobepostprocessor/ctor.md) | Constructor. |

## Methods

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