interface ShaderMaterialJSON {
    alphaHash?: boolean;
    alphaMap?: string;
    alphaTest?: number;
    alphaToCoverage?: boolean;
    anisotropy?: number;
    anisotropyMap?: string;
    anisotropyRotation?: number;
    aoMap?: string;
    aoMapIntensity?: number;
    attenuationColor?: number;
    attenuationDistance?: number;
    blendAlpha?: number;
    blendColor?: number;
    blendDst?: BlendingDstFactor;
    blendDstAlpha?: null | number;
    blendEquation?: BlendingEquation;
    blendEquationAlpha?: null | number;
    blending?: Blending;
    blendSrc?: BlendingSrcFactor;
    blendSrcAlpha?: null | number;
    bumpMap?: string;
    bumpScale?: number;
    clearcoat?: number;
    clearcoatMap?: string;
    clearcoatNormalMap?: string;
    clearcoatNormalScale?: Vector2Tuple;
    clearcoatRoughness?: number;
    clearcoatRoughnessMap?: string;
    clipping: boolean;
    color?: number;
    colorWrite?: boolean;
    combine?: Combine;
    dashSize?: number;
    defines?: Record<string, unknown>;
    depthFunc?: DepthModes;
    depthTest?: boolean;
    depthWrite?: boolean;
    dispersion?: number;
    displacementBias?: number;
    displacementMap?: string;
    displacementScale?: number;
    dithering?: boolean;
    emissive?: number;
    emissiveIntensity?: number;
    emissiveMap?: string;
    envMap?: string;
    envMapIntensity?: number;
    envMapRotation?: EulerTuple;
    extensions?: Record<string, boolean>;
    flatShading?: boolean;
    fog?: boolean;
    forceSinglePass?: boolean;
    gapSize?: number;
    glslVersion: null | number;
    gradientMap?: string;
    images?: SourceJSON[];
    iridescence?: number;
    iridescenceIOR?: number;
    iridescenceMap?: string;
    iridescenceThicknessMap?: string;
    iridescenceThicknessRange?: number;
    lightMap?: string;
    lightMapIntensity?: number;
    lights: boolean;
    linewidth?: number;
    map?: string;
    matcap?: string;
    metadata: {
        generator: string;
        type: string;
        version: number;
    };
    metalness?: number;
    metalnessMap?: string;
    name?: string;
    normalMap?: string;
    normalMapType?: NormalMapTypes;
    normalScale?: Vector2Tuple;
    opacity?: number;
    polygonOffset?: boolean;
    polygonOffsetFactor?: number;
    polygonOffsetUnits?: number;
    premultipliedAlpha?: boolean;
    ragmentShader: string;
    reflectivity?: number;
    refractionRatio?: number;
    rotation?: number;
    roughness?: number;
    roughnessMap?: string;
    scale?: number;
    shadowSide?: number;
    sheen?: number;
    sheenColor?: number;
    sheenRoughness?: number;
    shininess?: number;
    side?: Side;
    size?: number;
    sizeAttenuation?: boolean;
    specular?: number;
    specularColor?: number;
    specularColorMap?: string;
    specularIntensity?: number;
    specularIntensityMap?: string;
    specularMap?: string;
    stencilFail?: StencilOp;
    stencilFunc?: StencilFunc;
    stencilFuncMask?: number;
    stencilRef?: number;
    stencilWrite?: boolean;
    stencilWriteMask?: number;
    stencilZFail?: StencilOp;
    stencilZPass?: StencilOp;
    textures?: Omit<TextureJSON, "metadata">[];
    thickness?: number;
    thicknessMap?: string;
    toneMapped?: boolean;
    transmission?: number;
    transmissionMap?: string;
    transparent?: boolean;
    type: string;
    uniforms: Record<string, ShaderMaterialUniformJSON>;
    userData?: Record<string, unknown>;
    uuid: string;
    vertexColors?: boolean;
    vertexShader: string;
    visible?: boolean;
    wireframe?: boolean;
    wireframeLinecap?: string;
    wireframeLinejoin?: string;
    wireframeLinewidth?: number;
}

Hierarchy (view full)

Properties

alphaHash? alphaMap? alphaTest? alphaToCoverage? anisotropy? anisotropyMap? anisotropyRotation? aoMap? aoMapIntensity? attenuationColor? attenuationDistance? blendAlpha? blendColor? blendDst? blendDstAlpha? blendEquation? blendEquationAlpha? blending? blendSrc? blendSrcAlpha? bumpMap? bumpScale? clearcoat? clearcoatMap? clearcoatNormalMap? clearcoatNormalScale? clearcoatRoughness? clearcoatRoughnessMap? clipping color? colorWrite? combine? dashSize? defines? depthFunc? depthTest? depthWrite? dispersion? displacementBias? displacementMap? displacementScale? dithering? emissive? emissiveIntensity? emissiveMap? envMap? envMapIntensity? envMapRotation? extensions? flatShading? fog? forceSinglePass? gapSize? glslVersion gradientMap? images? iridescence? iridescenceIOR? iridescenceMap? iridescenceThicknessMap? iridescenceThicknessRange? lightMap? lightMapIntensity? lights linewidth? map? matcap? metadata metalness? metalnessMap? name? normalMap? normalMapType? normalScale? opacity? polygonOffset? polygonOffsetFactor? polygonOffsetUnits? premultipliedAlpha? ragmentShader reflectivity? refractionRatio? rotation? roughness? roughnessMap? scale? shadowSide? sheen? sheenColor? sheenRoughness? shininess? side? size? sizeAttenuation? specular? specularColor? specularColorMap? specularIntensity? specularIntensityMap? specularMap? stencilFail? stencilFunc? stencilFuncMask? stencilRef? stencilWrite? stencilWriteMask? stencilZFail? stencilZPass? textures? thickness? thicknessMap? toneMapped? transmission? transmissionMap? transparent? type uniforms userData? uuid vertexColors? vertexShader visible? wireframe? wireframeLinecap? wireframeLinejoin? wireframeLinewidth?

Properties

alphaHash?: boolean
alphaMap?: string
alphaTest?: number
alphaToCoverage?: boolean
anisotropy?: number
anisotropyMap?: string
anisotropyRotation?: number
aoMap?: string
aoMapIntensity?: number
attenuationColor?: number
attenuationDistance?: number
blendAlpha?: number
blendColor?: number
blendDstAlpha?: null | number
blendEquation?: BlendingEquation
blendEquationAlpha?: null | number
blending?: Blending
blendSrcAlpha?: null | number
bumpMap?: string
bumpScale?: number
clearcoat?: number
clearcoatMap?: string
clearcoatNormalMap?: string
clearcoatNormalScale?: Vector2Tuple
clearcoatRoughness?: number
clearcoatRoughnessMap?: string
clipping: boolean
color?: number
colorWrite?: boolean
combine?: Combine
dashSize?: number
defines?: Record<string, unknown>
depthFunc?: DepthModes
depthTest?: boolean
depthWrite?: boolean
dispersion?: number
displacementBias?: number
displacementMap?: string
displacementScale?: number
dithering?: boolean
emissive?: number
emissiveIntensity?: number
emissiveMap?: string
envMap?: string
envMapIntensity?: number
envMapRotation?: EulerTuple
extensions?: Record<string, boolean>
flatShading?: boolean
fog?: boolean
forceSinglePass?: boolean
gapSize?: number
glslVersion: null | number
gradientMap?: string
images?: SourceJSON[]
iridescence?: number
iridescenceIOR?: number
iridescenceMap?: string
iridescenceThicknessMap?: string
iridescenceThicknessRange?: number
lightMap?: string
lightMapIntensity?: number
lights: boolean
linewidth?: number
map?: string
matcap?: string
metadata: {
    generator: string;
    type: string;
    version: number;
}
metalness?: number
metalnessMap?: string
name?: string
normalMap?: string
normalMapType?: NormalMapTypes
normalScale?: Vector2Tuple
opacity?: number
polygonOffset?: boolean
polygonOffsetFactor?: number
polygonOffsetUnits?: number
premultipliedAlpha?: boolean
ragmentShader: string
reflectivity?: number
refractionRatio?: number
rotation?: number
roughness?: number
roughnessMap?: string
scale?: number
shadowSide?: number
sheen?: number
sheenColor?: number
sheenRoughness?: number
shininess?: number
side?: Side
size?: number
sizeAttenuation?: boolean
specular?: number
specularColor?: number
specularColorMap?: string
specularIntensity?: number
specularIntensityMap?: string
specularMap?: string
stencilFail?: StencilOp
stencilFunc?: StencilFunc
stencilFuncMask?: number
stencilRef?: number
stencilWrite?: boolean
stencilWriteMask?: number
stencilZFail?: StencilOp
stencilZPass?: StencilOp
textures?: Omit<TextureJSON, "metadata">[]
thickness?: number
thicknessMap?: string
toneMapped?: boolean
transmission?: number
transmissionMap?: string
transparent?: boolean
type: string
uniforms: Record<string, ShaderMaterialUniformJSON>
userData?: Record<string, unknown>
uuid: string
vertexColors?: boolean
vertexShader: string
visible?: boolean
wireframe?: boolean
wireframeLinecap?: string
wireframeLinejoin?: string
wireframeLinewidth?: number