ReferenceProbePostProcessor.ConvolveRadianceToIrradiance

Declaration

public bool ConvolveRadianceToIrradiance(LightTransport.IDeviceContext context, BufferSlice<SphericalHarmonicsL2> radianceIn, BufferSlice<SphericalHarmonicsL2> irradianceOut, int probeCount);

Parameters

context Device context.
radianceIn Source buffer of spherical radiance encoded as SphericalHarmonicsL2.
irradianceOut Destination buffer of the convolved spherical irradiance encoded as SphericalHarmonicsL2.
probeCount Number of SphericalHarmonicsL2 probes to convolve.

Returns

bool True if the operation was successfully added to the command queue on the context.

Description

Convolve radiance to irradiance.

Convolve spherical radiance to irradiance on an array of SphericalHarmonicsL2.


Did you find this page useful? Please give it a rating: