Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ConvolveRadianceToIrradiance(IDeviceContext, BufferSlice<SphericalHarmonicsL2>, BufferSlice<SphericalHarmonicsL2>, int)

Convolve radiance to irradiance.
Read time 1 minuteLast updated 12 days ago

Definition

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

Parameters

Device context.

Source buffer of spherical radiance encoded as SphericalHarmonicsL2.

Destination buffer of the convolved spherical irradiance encoded as SphericalHarmonicsL2.

probeCount

Number of SphericalHarmonicsL2 probes to convolve.

Returns

Type

Description

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

Remarks

Convolve spherical radiance to irradiance on an array of SphericalHarmonicsL2.