interface.RenderStateDynamicMaterialGGX
API > RenderStateDynamicMaterialGGX
Interface: RenderStateDynamicMaterialGGX
GGX type of PBR material.
See
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#materials
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:204
baseColorTexture
baseColorTexture?:
RenderStateDynamicTextureReference
Base color texture.
Source
@novorender/core3d/state/dynamic.ts:222
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
emissiveFactor
emissiveFactor?:
RGB
Emissive light factor (0-1)
Default Value
1
Source
@novorender/core3d/state/dynamic.ts:219
emissiveTexture
emissiveTexture?:
RenderStateDynamicTextureReference
Emissive light texture
Source
@novorender/core3d/state/dynamic.ts:236
kind
readonly
kind:"ggx"
Material union discriminant.
Source
@novorender/core3d/state/dynamic.ts:199
metallicFactor
metallicFactor?:
number
Metallicness PBR factor (0-1)
Default Value
1
Source
@novorender/core3d/state/dynamic.ts:209
metallicRoughnessTexture
metallicRoughnessTexture?:
RenderStateDynamicTextureReference
PBR Mmtallic + roughness texture.
See
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#metallic-roughness-material
Source
@novorender/core3d/state/dynamic.ts:227
normalTexture
normalTexture?:
RenderStateDynamicNormalTextureReference
PBR surface normal texture
Source
@novorender/core3d/state/dynamic.ts:230
occlusionTexture
occlusionTexture?:
RenderStateDynamicOcclusionTextureReference
Occlusion/AO texture
Source
@novorender/core3d/state/dynamic.ts:233
roughnessFactor
roughnessFactor?:
number
Roughness PBR factor (0-1)
Default Value
1