Skip to main content

interface.RenderStateDynamicMaterialUnlit

API > RenderStateDynamicMaterialUnlit

Interface: RenderStateDynamicMaterialUnlit

Unlit material properties.

Extends

  • RenderStateDynamicMaterialCommon

Properties

alphaCutoff

alphaCutoff?: number

Cutoff factor used for alpha masking.

Default Value

0.5

Inherited from

RenderStateDynamicMaterialCommon.alphaCutoff

Source

@novorender/core3d/state/dynamic.ts:173


alphaMode

alphaMode?: "BLEND" | "OPAQUE" | "MASK"

How to interpret color alpha channel.

Remarks

"OPAQUE" renders all pixels regardless of alpha value.

"MASK" renders only pixels with alpha larger or equal to alphaCutoff.

"BLEND" blends pixels with background using alpha as blending factor.

Inherited from

RenderStateDynamicMaterialCommon.alphaMode

Source

@novorender/core3d/state/dynamic.ts:168


baseColorFactor

baseColorFactor?: RGBA

Factor used directly or multiplied with baseColorTexture, if defined, for material base color.

Default Value

[1,1,1,1]

Source

@novorender/core3d/state/dynamic.ts:187


baseColorTexture

baseColorTexture?: RenderStateDynamicTextureReference

Base color texture.

Source

@novorender/core3d/state/dynamic.ts:190


doubleSided

doubleSided?: boolean

Whether to render material as double sided or not. @default: false

Inherited from

RenderStateDynamicMaterialCommon.doubleSided

Source

@novorender/core3d/state/dynamic.ts:158


kind

readonly kind: "unlit"

Material union discriminant.

Source

@novorender/core3d/state/dynamic.ts:182