Skip to main content

Interface: MaterialBasic

Properties

albedoColor

albedoColor: Nullable<(string | number)[]>


albedoColorFromBlock

albedoColorFromBlock: boolean


albedoColorSourceBlock

albedoColorSourceBlock: string


albedoTexture

albedoTexture: Partial<MaterialTexture>


allowShaderHotSwapping

allowShaderHotSwapping: boolean


alpha

alpha: string


alphaCutOff

alphaCutOff: string


alphaMode

alphaMode: string


ambientColor

ambientColor: string[]


ambientTexture

ambientTexture: Partial<MaterialTexture>


ambientTextureImpactOnAnalyticalLights

ambientTextureImpactOnAnalyticalLights: string


ambientTextureStrength

ambientTextureStrength: string


backFaceCulling

backFaceCulling: boolean


cameraToneMappingEnabled

cameraToneMappingEnabled: boolean


directIntensity

directIntensity: string


disableLighting

disableLighting: boolean


enableSpecularAntiAliasing

enableSpecularAntiAliasing: boolean


environmentIntensity

environmentIntensity: string


forceIrradianceInFragment

forceIrradianceInFragment: boolean


indexOfRefraction

indexOfRefraction: string


linkRefractionWithTransparency

linkRefractionWithTransparency: boolean


metallic

metallic: string


metallicTexture

metallicTexture: Partial<MaterialMetallicTexture>


microSurface

microSurface: string


microSurfaceTexture

microSurfaceTexture: Partial<MaterialTexture>


needDepthPrePass

needDepthPrePass: boolean


opacityTexture

opacityTexture: Partial<MaterialTexture>


realtimeFiltering

realtimeFiltering: boolean


realtimeFilteringQuality

realtimeFilteringQuality: string


reflectionColor

reflectionColor: string[]


reflectionTexture

reflectionTexture: Partial<MaterialTexture>


reflectivityColor

reflectivityColor: string[]


reflectivityTexture

reflectivityTexture: Partial<MaterialTexture>


refractionTexture

refractionTexture: Partial<MaterialTexture>


roughness

roughness: string


roughnessTexture

roughnessTexture: Partial<MaterialTexture>


separateCullingPass

separateCullingPass: boolean


specularIntensity

specularIntensity: string


transparencyMode

transparencyMode: string


twoSidedLighting

twoSidedLighting: boolean


unlit

unlit: boolean


useAlphaFresnel

useAlphaFresnel: boolean


useAlphaFromAlbedoTexture

useAlphaFromAlbedoTexture: boolean


useAmbientInGrayScale

useAmbientInGrayScale: boolean


useAutoMicroSurfaceFromReflectivityMap

useAutoMicroSurfaceFromReflectivityMap: boolean


useHorizonOcclusion

useHorizonOcclusion: boolean


useLightmapAsShadowmap

useLightmapAsShadowmap: boolean


useLinearAlphaFresnel

useLinearAlphaFresnel: boolean


useLogarithmicDepth

useLogarithmicDepth: boolean


useMicroSurfaceFromReflectivityMapAlpha

useMicroSurfaceFromReflectivityMapAlpha: boolean


useObjectSpaceNormalMap

useObjectSpaceNormalMap: boolean


useRadianceOcclusion

useRadianceOcclusion: boolean


useRadianceOverAlpha

useRadianceOverAlpha: boolean


useSpecularOverAlpha

useSpecularOverAlpha: boolean