sampleCount property

int sampleCount
getter/setter pair

Number of samples taken per pixel. More samples cut noise at a roughly linear cost. Reasonable values are about 8 to 32.

Only used by AmbientOcclusionMethod.obscurance; AmbientOcclusionMethod.groundTruth samples sliceCount * stepsPerSlice * 2 texels per pixel.

Implementation

int sampleCount = 16;