ConvolveRadianceToIrradiance(IDeviceContext, BufferSlice<SphericalHarmonicsL2>, BufferSlice<SphericalHarmonicsL2>, int)
Convolve radiance to irradiance.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LightTransport.PostProcessing
- Assembly: UnityEditor.CoreModule
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.
Number of SphericalHarmonicsL2 probes to convolve.
Returns
Type | Description |
|---|---|
| bool | True if the operation was successfully added to the command queue on the context. |
Remarks
Convolve spherical radiance to irradiance on an array of SphericalHarmonicsL2.