IntegrateDirectRadiance(IDeviceContext, int, int, int, bool, BufferSlice<SphericalHarmonicsL2>)
Integrate direct radiance.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.LightTransport
- Assembly: UnityEditor
public IProbeIntegrator.Result IntegrateDirectRadiance(IDeviceContext context, int positionOffset, int positionCount, int sampleCount, bool ignoreEnvironment, BufferSlice<SphericalHarmonicsL2> radianceEstimateOut)
Parameters
Device context.
Offset measured from the beginning of the probe position buffer.
Number of probes to integrate.
Number of samples to take.
Ignore environment lighting when computing direct contribution.
Buffer slice to write the radiance estimate into.
Returns
Type | Description |
|---|---|
| Result | Return code. |
Remarks
The integrator does spherical sampling of incoming direct radiance for each probe position.