@novorender/web_app / 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?
readonly optional alphaCutoff: number;
Cutoff factor used for alpha masking.
Default Value
0.5
Inherited from
RenderStateDynamicMaterialCommon.alphaCutoff
Defined in
@novorender/core3d/state/dynamic.ts:173
alphaMode?
readonly optional 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
Defined in
@novorender/core3d/state/dynamic.ts:168
baseColorFactor?
readonly optional baseColorFactor: RGBA;
Factor used directly or multiplied with baseColorTexture, if defined, for material base color.
Default Value
[1,1,1,1]
Defined in
@novorender/core3d/state/dynamic.ts:204
baseColorTexture?
readonly optional baseColorTexture: RenderStateDynamicTextureReference;
Base color texture.
Defined in
@novorender/core3d/state/dynamic.ts:222
doubleSided?
readonly optional doubleSided: boolean;
Whether to render material as double sided or not. @default: false
Inherited from
RenderStateDynamicMaterialCommon.doubleSided
Defined in
@novorender/core3d/state/dynamic.ts:158
emissiveFactor?
readonly optional emissiveFactor: RGB;
Emissive light factor (0-1)
Default Value
1
Defined in
@novorender/core3d/state/dynamic.ts:219
emissiveTexture?
readonly optional emissiveTexture: RenderStateDynamicTextureReference;
Emissive light texture
Defined in
@novorender/core3d/state/dynamic.ts:236
kind
readonly kind: "ggx";
Material union discriminant.
Defined in
@novorender/core3d/state/dynamic.ts:199
metallicFactor?
readonly optional metallicFactor: number;
Metallicness PBR factor (0-1)
Default Value
1
Defined in
@novorender/core3d/state/dynamic.ts:209
metallicRoughnessTexture?
readonly optional metallicRoughnessTexture: RenderStateDynamicTextureReference;
PBR Mmtallic + roughness texture.
See
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#metallic-roughness-material
Defined in
@novorender/core3d/state/dynamic.ts:227
normalTexture?
readonly optional normalTexture: RenderStateDynamicNormalTextureReference;
PBR surface normal texture
Defined in
@novorender/core3d/state/dynamic.ts:230
occlusionTexture?
readonly optional occlusionTexture: RenderStateDynamicOcclusionTextureReference;
Occlusion/AO texture
Defined in
@novorender/core3d/state/dynamic.ts:233
roughnessFactor?
readonly optional roughnessFactor: number;
Roughness PBR factor (0-1)
Default Value
1