[TextureSemantics]
More...
#include <Engine/Data/BlinnPhongMaterial.hpp>
[TextureSemantics]
Implementation of the Blinn-Phong Material BSDF.
- Todo:
- due to "Material.glsl" interface modification, must test this version with all plugins, apps, ... that uses Radium Renderer
Definition at line 36 of file BlinnPhongMaterial.hpp.
◆ TextureSemantic
◆ BlinnPhongMaterial()
Ra::Engine::Data::BlinnPhongMaterial::BlinnPhongMaterial |
( |
const std::string & |
instanceName | ) |
|
|
explicit |
◆ getAlpha()
Scalar Ra::Engine::Data::BlinnPhongMaterial::getAlpha |
( |
| ) |
|
|
inline |
◆ getDiffuseColor()
◆ getParametersMetadata()
nlohmann::json Ra::Engine::Data::BlinnPhongMaterial::getParametersMetadata |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSpecularColor()
◆ getSpecularExponent()
Scalar Ra::Engine::Data::BlinnPhongMaterial::getSpecularExponent |
( |
| ) |
|
|
inline |
◆ isColoredByVertexAttrib()
bool Ra::Engine::Data::BlinnPhongMaterial::isColoredByVertexAttrib |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isRenderAsSplat()
bool Ra::Engine::Data::BlinnPhongMaterial::isRenderAsSplat |
( |
| ) |
|
|
inline |
◆ isTransparent()
bool Ra::Engine::Data::BlinnPhongMaterial::isTransparent |
( |
| ) |
const |
|
overridevirtual |
◆ registerMaterial()
void Ra::Engine::Data::BlinnPhongMaterial::registerMaterial |
( |
| ) |
|
|
static |
Register the material in the material library. After registration, the material could be instantiated by any Radium system, renderer, plugin, ...
Definition at line 69 of file BlinnPhongMaterial.cpp.
◆ setAlpha()
void Ra::Engine::Data::BlinnPhongMaterial::setAlpha |
( |
Scalar |
a | ) |
|
|
inline |
◆ setColoredByVertexAttrib()
void Ra::Engine::Data::BlinnPhongMaterial::setColoredByVertexAttrib |
( |
bool |
state | ) |
|
|
inlineoverridevirtual |
Makes the Material take its base color from the VERTEX_COLOR attribute of the rendered geometry.
- Parameters
-
state | activate (true) or deactivate (false) VERTEX_COLOR attribute usage |
Any material that support per-vertex color parameterization should implement this method accordingly
Reimplemented from Ra::Engine::Data::Material.
Definition at line 113 of file BlinnPhongMaterial.hpp.
◆ setDiffuseColor()
◆ setRenderAsSplat()
void Ra::Engine::Data::BlinnPhongMaterial::setRenderAsSplat |
( |
bool |
state | ) |
|
|
inline |
◆ setSpecularColor()
◆ setSpecularExponent()
void Ra::Engine::Data::BlinnPhongMaterial::setSpecularExponent |
( |
Scalar |
n | ) |
|
|
inline |
◆ unregisterMaterial()
void Ra::Engine::Data::BlinnPhongMaterial::unregisterMaterial |
( |
| ) |
|
|
static |
Remove the material from the material library. After removal, the material is no more available, ...
Definition at line 127 of file BlinnPhongMaterial.cpp.
◆ updateFromParameters()
void Ra::Engine::Data::BlinnPhongMaterial::updateFromParameters |
( |
| ) |
|
|
overridevirtual |
◆ updateGL()
void Ra::Engine::Data::BlinnPhongMaterial::updateGL |
( |
| ) |
|
|
overridevirtual |
◆ BlinnPhongMaterialConverter
The documentation for this class was generated from the following files: