Modifier and Type | Class and Description |
---|---|
class |
LambertMaterial
Material for lambert shading model
|
class |
PbrMaterial
Material for physically based rendering based on albedo color/metallic/roughness
|
class |
PhongMaterial
Material for blinn-phong shading model.
|
class |
ShaderMaterial
A shader material allows to describe the material by external rendering engine or shader language.
|
Modifier and Type | Method and Description |
---|---|
Material |
MaterialConverter.call(Material mat)
Custom converter to convert the geometry's original material to GLTF's PBR material.
|
Material |
Node.getMaterial()
Gets the first material associated with this node, if sets, will clear other materials
|
Modifier and Type | Method and Description |
---|---|
List<Material> |
Node.getMaterials()
Gets the materials associated with this node.
|
Modifier and Type | Method and Description |
---|---|
Material |
MaterialConverter.call(Material mat)
Custom converter to convert the geometry's original material to GLTF's PBR material.
|
void |
Node.setMaterial(Material value)
Sets the first material associated with this node, if sets, will clear other materials
|
Copyright © 2018. All rights reserved.