Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReferenceProbePostProcessor

ReferenceProbePostProcessor is a post processor for light probes. The ReferenceProbePostProcessor implements the IProbePostProcessor interface.
Read time 1 minuteLast updated 6 days ago

Definition

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()Constructor.

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 ReferenceProbePostProcessor.
ScaleSphericalHarmonicsL2Scale an array of SphericalHarmonicsL2 probes.
WindowSphericalHarmonicsL2Apply a windowing operation on an array of SphericalHarmonicsL2 probes.