Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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

AddSphericalHarmonicsL2Perform the sum of two arrays of SphericalHarmonicsL2 element-wise.
ConvertToUnityFormatConverts light probes encoded as SphericalHarmonicsL2 to the format expected by the Unity renderer.
ConvolveRadianceToIrradianceConvolve radiance to irradiance.
DeringSphericalHarmonicsL2De-ring an array of SphericalHarmonicsL2 probes.
DisposeDisposes the post processor.
InitializeInitialize the RadeonRaysProbePostProcessor.
ScaleSphericalHarmonicsL2Scale an array of SphericalHarmonicsL2 probes element-wise.
WindowSphericalHarmonicsL2Apply a windowing operation on an array of SphericalHarmonicsL2 probes.