ConvolveRadianceToIrradiance
Convolve radiance to irradiance.
阅读时间1 分钟最后更新于 5 小时前
Definition
- Type: Method
- Namespace: UnityEngine.LightTransport.PostProcessing
- Assembly: UnityEditor
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.