SimpleGL  1.1.0
A framework for platform independent rendering
Public Attributes | List of all members
sgl::Material Struct Reference

This structure defines a material. More...

#include <lighting.hpp>

Public Attributes

glm::vec4 ambient
 The ambient reflection factor. More...
 
glm::vec4 diffuse
 The diffuse reflection factor. More...
 
glm::vec4 specular
 The specular reflection factor. More...
 
float shininess
 The Phong-Exponent. More...
 
glm::vec4 emission
 The Self-Illuminance. More...
 

Detailed Description

This structure defines a material.

Definition at line 20 of file lighting.hpp.

Member Data Documentation

glm::vec4 sgl::Material::ambient

The ambient reflection factor.

Definition at line 23 of file lighting.hpp.

glm::vec4 sgl::Material::diffuse

The diffuse reflection factor.

Definition at line 26 of file lighting.hpp.

glm::vec4 sgl::Material::emission

The Self-Illuminance.

Definition at line 35 of file lighting.hpp.

float sgl::Material::shininess

The Phong-Exponent.

Definition at line 32 of file lighting.hpp.

glm::vec4 sgl::Material::specular

The specular reflection factor.

Definition at line 29 of file lighting.hpp.


The documentation for this struct was generated from the following file: