A module containing useful utility methods to work with Verge3D materials.
Replace one texture by another in the given material. Currently this method supports only MeshNodeMaterial and MeshStandardMaterial materials.
Dispose all textures found in the given material. Currently this method supports only MeshNodeMaterial and MeshStandardMaterial materials.
"blender"
, "max"
, "maya"
.
Generate node-based diffuse (lambert) material with the given color
and opacity
params.
Create node-based material which can be used for environment lighting and scene background.
"blender"
, "max"
, "maya"
.Generate node-based standard PBR material with the given set of parameters:
'white'
.1.0
(opaque).0
(non-metallic).1
.'black'
.1
.For more info on how to obtain the source code of this module see this page.