shaderID
shaderID: string
shaderType
shaderType: string
shaderName
shaderName: string
vertexShader
vertexShader: string
fragmentShader
fragmentShader: string
defines
defines: undefined | {
[define: string]: string | number | boolean;
}
customVertexShaderID
customVertexShaderID: undefined | string
customFragmentShaderID
customFragmentShaderID: undefined | string
isRawShaderMaterial
isRawShaderMaterial: boolean
glslVersion
precision
precision: "highp" | "mediump" | "lowp"
batching
batching: boolean
batchingColor
batchingColor: boolean
instancing
instancing: boolean
instancingColor
instancingColor: boolean
instancingMorph
instancingMorph: boolean
supportsVertexTextures
supportsVertexTextures: boolean
outputColorSpace
alphaToCoverage
alphaToCoverage: boolean
map
map: boolean
matcap
matcap: boolean
envMap
envMap: boolean
envMapMode
envMapCubeUVHeight
envMapCubeUVHeight: null | number
aoMap
aoMap: boolean
lightMap
lightMap: boolean
bumpMap
bumpMap: boolean
normalMap
normalMap: boolean
displacementMap
displacementMap: boolean
emissiveMap
emissiveMap: boolean
normalMapObjectSpace
normalMapObjectSpace: boolean
normalMapTangentSpace
normalMapTangentSpace: boolean
metalnessMap
metalnessMap: boolean
roughnessMap
roughnessMap: boolean
anisotropy
anisotropy: boolean
anisotropyMap
anisotropyMap: boolean
clearcoat
clearcoat: boolean
clearcoatMap
clearcoatMap: boolean
clearcoatNormalMap
clearcoatNormalMap: boolean
clearcoatRoughnessMap
clearcoatRoughnessMap: boolean
dispersion
dispersion: boolean
iridescence
iridescence: boolean
iridescenceMap
iridescenceMap: boolean
iridescenceThicknessMap
iridescenceThicknessMap: boolean
sheen
sheen: boolean
sheenColorMap
sheenColorMap: boolean
sheenRoughnessMap
sheenRoughnessMap: boolean
specularMap
specularMap: boolean
specularColorMap
specularColorMap: boolean
specularIntensityMap
specularIntensityMap: boolean
transmission
transmission: boolean
transmissionMap
transmissionMap: boolean
thicknessMap
thicknessMap: boolean
gradientMap
gradientMap: boolean
opaque
opaque: boolean
alphaMap
alphaMap: boolean
alphaTest
alphaTest: boolean
alphaHash
alphaHash: boolean
combine
mapUv
mapUv: string | false
aoMapUv
aoMapUv: string | false
lightMapUv
lightMapUv: string | false
bumpMapUv
bumpMapUv: string | false
normalMapUv
normalMapUv: string | false
displacementMapUv
displacementMapUv: string | false
emissiveMapUv
emissiveMapUv: string | false
metalnessMapUv
metalnessMapUv: string | false
roughnessMapUv
roughnessMapUv: string | false
anisotropyMapUv
anisotropyMapUv: string | false
clearcoatMapUv
clearcoatMapUv: string | false
clearcoatNormalMapUv
clearcoatNormalMapUv: string | false
clearcoatRoughnessMapUv
clearcoatRoughnessMapUv: string | false
iridescenceMapUv
iridescenceMapUv: string | false
iridescenceThicknessMapUv
iridescenceThicknessMapUv: string | false
sheenColorMapUv
sheenColorMapUv: string | false
sheenRoughnessMapUv
sheenRoughnessMapUv: string | false
specularMapUv
specularMapUv: string | false
specularColorMapUv
specularColorMapUv: string | false
specularIntensityMapUv
specularIntensityMapUv: string | false
transmissionMapUv
transmissionMapUv: string | false
thicknessMapUv
thicknessMapUv: string | false
alphaMapUv
alphaMapUv: string | false
vertexTangents
vertexTangents: boolean
vertexColors
vertexColors: boolean
vertexAlphas
vertexAlphas: boolean
vertexUv1s
vertexUv1s: boolean
vertexUv2s
vertexUv2s: boolean
vertexUv3s
vertexUv3s: boolean
pointsUvs
pointsUvs: boolean
fog
fog: boolean
useFog
useFog: boolean
fogExp2
fogExp2: boolean
flatShading
flatShading: boolean
sizeAttenuation
sizeAttenuation: boolean
logarithmicDepthBuffer
logarithmicDepthBuffer: boolean
skinning
skinning: boolean
morphTargets
morphTargets: boolean
morphNormals
morphNormals: boolean
morphColors
morphColors: boolean
morphTargetsCount
morphTargetsCount: number
morphTextureStride
morphTextureStride: number
numDirLights
numDirLights: number
numPointLights
numPointLights: number
numSpotLights
numSpotLights: number
numSpotLightMaps
numSpotLightMaps: number
numRectAreaLights
numRectAreaLights: number
numHemiLights
numHemiLights: number
numDirLightShadows
numDirLightShadows: number
numPointLightShadows
numPointLightShadows: number
numSpotLightShadows
numSpotLightShadows: number
numSpotLightShadowsWithMaps
numSpotLightShadowsWithMaps: number
numLightProbes
numLightProbes: number
numClippingPlanes
numClippingPlanes: number
numClipIntersection
numClipIntersection: number
dithering
dithering: boolean
shadowMapEnabled
shadowMapEnabled: boolean
shadowMapType
toneMapping
decodeVideoTexture
decodeVideoTexture: boolean
premultipliedAlpha
premultipliedAlpha: boolean
doubleSided
doubleSided: boolean
flipSided
flipSided: boolean
useDepthPacking
useDepthPacking: boolean
depthPacking
index0AttributeName
index0AttributeName: undefined | string
extensionClipCullDistance
extensionClipCullDistance: boolean
extensionMultiDraw
extensionMultiDraw: boolean
rendererExtensionParallelShaderCompile
rendererExtensionParallelShaderCompile: boolean
customProgramCacheKey
customProgramCacheKey: string