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
enableOptional
ior?: numberOptional
thickness?: numberOptional
tintOptional
_customOptional
_customOptional
_fragmentOptional
clipOptional
clipOptional
clipOptional
clipOptional
clipOptional
_hasOptional
_noiseOptional
bumpOptional
bumpOptional
flakeOptional
flakeOptional
flakeOptional
flakeOptional
flakeOptional
hasOptional
useOptional
cloneOptional
cloneOptional
disposeAutomatically dispose material when not used by any object in the scene
true
Optional
forcedForce a depth value in GBuffer. This is useful to force center values like 0 to the depth.
Optional
gSee GBufferPlugin
Optional
materialOptional
tonemaptrue
Optional
inverseOptional
pluginsGeneral flag to disable multiple plugins on the material at once, like SSAO, SSR, Bloom etc.
Optional
postUse postTonemap.tonemapEnabled instead. This is kept because used in old files.
Optional
renderSame as renderToGBuffer but for depth only, not normal or flags etc
Optional
renderOptional
rootOptional
runtimeOptional
separateOptional
setOptional
options: IMaterialSetDirtyOptionsOptional
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
uuidGenerated using TypeDoc
extra arbitrary data saved by the importer that can be used by the plugins (like gltf material variants)