Skip to main content

@novorender/api / RenderStateDynamicOcclusionTextureReference

Interface: RenderStateDynamicOcclusionTextureReference

Defined in: @novorender/src/core3d/state/dynamic.ts:92

Occlusion map texture reference state.

Extends​

Properties​

strength?​

readonly optional strength: number;

Defined in: @novorender/src/core3d/state/dynamic.ts:97

Strength factor to apply to occlusion [0.0, 1.0].

Default Value​

1.0

texCoord?​

readonly optional texCoord: 0 | 1;

Defined in: @novorender/src/core3d/state/dynamic.ts:70

What set of texture coordinates to use (0 or 1).

Default Value​

0

Inherited from​

RenderStateDynamicTextureReference.texCoord


texture​

readonly texture: RenderStateDynamicTexture;

Defined in: @novorender/src/core3d/state/dynamic.ts:65

What texture to use.

Inherited from​

RenderStateDynamicTextureReference.texture


transform?​

readonly optional transform: ReadonlyMat3;

Defined in: @novorender/src/core3d/state/dynamic.ts:75

Optional texture coordinate 3x3 transformation matrix

Default Value​

Identity matrix.

Inherited from​

RenderStateDynamicTextureReference.transform