material-extras
        
        
      
    
Define extra material properties, namely texture encoding, whether to render the material’s color and render order. Requires material attribute.
More properties at THREE.js Material.
This is the schema for Material extras, the properties of object material-extras.
Material extras Attributes
| Attribute | Type | Default | Description | Required | 
|---|---|---|---|---|
| overrideSrc | string | '' | Overrides the material source in all meshes of an object (e.g. a basic shape or a GLTF); Use, for example, to change the texture of a GLTF. | No | 
| colorSpace | string; One of: ['SRGBColorSpace', 'LinearSRGBColorSpace', 'DisplayP3ColorSpace', 'NoColorSpace'] | 'SRGBColorSpace' | The material colorspace. | Yes | 
| colorWrite | boolean | True | Whether to render the material’s color. | No | 
| renderOrder | number | 1 | Allows the default rendering order of scene graph objects to be overridden. | No | 
| transparentOccluder | boolean | False | If true, will setcolorWrite=falseandrenderOrder=0to make the material a transparent occluder. | No | 
| gltfOpacity | number | 1 | Opacity value to apply to the model. 1 is fully opaque, 0 is fully transparent. | Yes |