CanvasMap
Getting Started Tutorials 3D Reference

Class CM3MeshStandardMaterial extends CM3MeshPhongMaterial

CM3Material Module

Manages THREE.JS material objects.


Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

Settings Group: StandardMaterial

Setting Name Type Options Default Comments
AlphaMapURL Map URL CMTYPE_STRING null
BumpMapURL Bump Map URL CMTYPE_STRING null
bumpScale Bump Scale CMTYPE_INTEGER 10
Color Color CMTYPE_COLOR 10
EmissiveMapURL Emissive Map URL CMTYPE_STRING null
emissive Emissive Color CMTYPE_COLOR
RoughnessMapURL Roughness Map URL CMTYPE_STRING null
MapURL Map URL CMTYPE_STRING
metalness metalness CMTYPE_INTEGER 10
roughness roughness CMTYPE_INTEGER 10
specular Specular Color CMTYPE_COLOR grey
wireframeLinewidth wireframe Line Width CMTYPE_FLOAT 1