Optional
__envOptional
__importOptional
__isOptional
__needsThis can be set to true in the importer to indicate that the source buffer should be loaded and cached in the userdata during processRaw
Optional
__sourceCached source blob for the asset
Optional
__sourceCached source buffer for the asset (only cached when __needsSourceBuffer is set)
Optional
_clearcoatOptional
_customOptional
_customOptional
_fragmentOptional
_hasOptional
_noiseOptional
cloneOptional
cloneOptional
disposeAutomatically dispose material when not used by any object in the scene
Optional
envThe environment map to use in the RootScene
. To use this, object with the material must be in the RootScene, and the key should exist in the RootScene
's textureSlots
.
only for materials that have envMap
Optional
forcedForce a depth value in GBuffer. This is useful to force center values like 0 to the depth.
Optional
gSee GBufferPlugin
Optional
inverseOptional
pluginsGeneral flag to disable multiple plugins on the material at once, like SSAO, SSR, Bloom etc.
Optional
postOptional
renderSame as renderToGBuffer but for depth only, not normal or flags etc
Optional
renderOptional
rootOptional
runtimeOptional
separateFlag to tell the scene to prefer material.envMapIntensity
over scene.envMapIntensity
only for materials that have envMapIntensity
Optional
setOptional
ssaoCast SSAO on other objects. if casting is not working when this is false, ensure render to depth is true, like for transparent objects
Optional
ssaoDisable SSAOPlugin for this material.
Optional
sscsFor SSCSPlugin
Optional
ssreflFor SSRPlugin
Optional
ssreflFor SSRPlugin
Optional
uuid
extra arbitrary data saved by the importer that can be used by the plugins (like gltf material variants)