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.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.LightTransport.PostProcessing
- Assembly: UnityEditor.CoreModule
- Implements: IProbePostProcessor, IDisposable
public class RadeonRaysProbePostProcessor : IProbePostProcessor, IDisposable
Remarks
The RadeonRaysProbePostProcessor implements the IProbePostProcessor interface. It is using the OpenCL 1.2 API for compute.
Constructors
Constructor | Description |
|---|---|
| RadeonRaysProbePostProcessor() | Constructor. |
Methods
Method | Description |
|---|---|
| AddSphericalHarmonicsL2 | Perform the sum of two arrays of SphericalHarmonicsL2 element-wise. |
| ConvertToUnityFormat | Converts light probes encoded as SphericalHarmonicsL2 to the format expected by the Unity renderer. |
| ConvolveRadianceToIrradiance | Convolve radiance to irradiance. |
| DeringSphericalHarmonicsL2 | De-ring an array of SphericalHarmonicsL2 probes. |
| Dispose | Disposes the post processor. |
| Initialize | Initialize the RadeonRaysProbePostProcessor. |
| ScaleSphericalHarmonicsL2 | Scale an array of SphericalHarmonicsL2 probes element-wise. |
| WindowSphericalHarmonicsL2 | Apply a windowing operation on an array of SphericalHarmonicsL2 probes. |