3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
Class of the Specular and Glossiness. More...
#include <gltfConvertMaterial.h>
Public Member Functions | |
SpecularGlossiness (const comms::cColor &diffuse_, const comms::cColor &specular_, float opacity_, float shiness_) | |
Constructor. More... | |
float | specular_intensity () const |
Gets the specular intensity. More... | |
float | diffuse_brighness () const |
Gets the diffuse brighness. More... | |
float | specular_brighness () const |
Gets the specular brighness. More... | |
float | specular_strength () const |
Gets the specular strength. More... | |
float | solve_metallic () |
Solve the metallic. More... | |
float | solve_roughness () |
Solve the roughness. More... | |
Class of the Specular and Glossiness.
gltf::SpecularGlossiness::SpecularGlossiness | ( | const comms::cColor & | diffuse_, |
const comms::cColor & | specular_, | ||
float | opacity_, | ||
float | shiness_ | ||
) |
Constructor.
diffuse_ | diffuse value |
specular_ | specular value |
opacity_ | opacity value |
shiness_ | shiness value |
|
inline |
Gets the diffuse brighness.
Referenced by solve_metallic().
float gltf::SpecularGlossiness::solve_metallic | ( | ) |
Solve the metallic.
References diffuse_brighness(), specular_brighness(), and specular_strength().
Referenced by gltf::gltfExporter::writeMaterials().
float gltf::SpecularGlossiness::solve_roughness | ( | ) |
Solve the roughness.
References specular_intensity().
Referenced by gltf::gltfExporter::writeMaterials().
|
inline |
Gets the specular brighness.
Referenced by solve_metallic().
|
inline |
Gets the specular intensity.
Referenced by solve_roughness().
|
inline |
Gets the specular strength.
Referenced by solve_metallic().