Version: Unity 6.0 (6000.0)
LanguageEnglish
  • C#

RadeonRaysProbePostProcessor

class in UnityEngine.LightTransport.PostProcessing


Implements interfaces:IProbePostProcessor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.

The RadeonRaysProbePostProcessor implements the IProbePostProcessor interface. It is using the OpenCL 1.2 API for compute.

Constructors

Constructor Description
RadeonRaysProbePostProcessorConstructor.

Public Methods

Method Description
AddSphericalHarmonicsL2Perform the sum of two arrays of SphericalHarmonicsL2.
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 elementwise.
WindowSphericalHarmonicsL2Apply a windowing operation on an array of SphericalHarmonicsL2 probes.