SpatialMaterial.Constants

Values

ValueMeaning
emissionOpAdd0
cullBack0
depthDrawOpaqueOnly0
diffuseBurley0
distanceFadeDisabled0
blendModeMix0
featureTransparent0
billboardDisabled0
flagUnshaded0
textureAlbedo0
textureChannelRed0
specularSchlickGgx0
detailUv10
diffuseLambert1
cullFront1
specularBlinn1
blendModeAdd1
textureMetallic1
depthDrawAlways1
textureChannelGreen1
featureEmission1
emissionOpMultiply1
flagUseVertexLighting1
distanceFadePixelAlpha1
billboardEnabled1
detailUv21
flagDisableDepthTest2
blendModeSub2
textureRoughness2
featureNormalMapping2
textureChannelBlue2
cullDisabled2
depthDrawDisabled2
diffuseLambertWrap2
specularPhong2
billboardFixedY2
distanceFadePixelDither2
distanceFadeObjectDither3
textureEmission3
billboardParticles3
specularToon3
diffuseOrenNayar3
flagAlbedoFromVertexColor3
featureRim3
textureChannelAlpha3
blendModeMul3
depthDrawAlphaOpaquePrepass3
diffuseToon4
featureClearcoat4
textureChannelGrayscale4
specularDisabled4
flagSrgbVertexColor4
textureNormal4
flagUsePointSize5
featureAnisotropy5
textureRim5
featureAmbientOcclusion6
textureClearcoat6
flagFixedSize6
flagBillboardKeepScale7
textureFlowmap7
featureDepthMapping7
flagUv1UseTriplanar8
featureSubsuraceScattering8
textureAmbientOcclusion8
textureDepth9
flagUv2UseTriplanar9
featureTransmission9
flagTriplanarUseWorld10
featureRefraction10
textureSubsurfaceScattering10
featureDetail11
textureTransmission11
flagAoOnUv211
featureMax12
flagEmissionOnUv212
textureRefraction12
flagUseAlphaScissor13
textureDetailMask13
textureDetailAlbedo14
flagAlbedoTextureForceSrgb14
textureDetailNormal15
flagDontReceiveShadows15
textureMax16
flagEnsureCorrectNormals16
flagDisableAmbientLight17
flagUseShadowToOpacity18
flagMax19

Meta