# SDFFieldNodesOptions

Construction configuration for [`sdfFieldNodes`](/docs/api/sdfFieldNodes--case-73-64-66-46-69-65-6c-64-4e-6f-64-65-73/).

[SDF and raymarching](/docs/blocks/sdf-raymarching/)

## Import

```ts
import type { SDFFieldNodesOptions } from "three-blocks/sdf-raymarching";
```

## Declaration

```ts
interface SDFFieldNodesOptions
```

## Members

### `far`

```ts
far?: number | undefined;
```

Signed distance reported outside the volume; keeps marches terminating instead of smearing the clamped edge.

### `shadowSteps`

```ts
shadowSteps?: number | undefined;
```

Sphere-tracing iterations spent by [`SDFFieldNodes.shadow`](/docs/api/SDFFieldNodes/).

### `occlusionSamples`

```ts
occlusionSamples?: number | undefined;
```

Cone taps spent by [`SDFFieldNodes.occlusion`](/docs/api/SDFFieldNodes/).

### `trustVoxels`

```ts
trustVoxels?: number | undefined;
```

How many voxels below the isosurface a shading point may read before the samplers stop
trusting it and report no occlusion. Must exceed the generator's shell radius in voxels.

### `smoothVoxels`

```ts
smoothVoxels?: number | undefined;
```

How many voxels clear of the surface every sample is taken. It must exceed the error in
the caller's surface points - for a Gaussian capture, a voxel or two - or the readings are
noise. Raise it for a fuzzier source; the field loses detail it cannot resolve anyway.

## Referenced by

[`sdfFieldNodes`](/docs/api/sdfFieldNodes--case-73-64-66-46-69-65-6c-64-4e-6f-64-65-73/)
