GlobeEngine
Material.h
Go to the documentation of this file.
1 
9 #ifndef GlobeEngine_Material_h
10 #define GlobeEngine_Material_h
11 
12 #include "OpenGL_Includes.h"
13 #include <vmmlib/vmmlib.hpp>
14 #include <vector>
15 #include "Shader.h"
16 
17 namespace ge {
19  {
20  std::string name;
21 
22  float ambient[3];
23  float diffuse[3];
24  float specular[3];
25  float transmittance[3];
26  float emission[3];
27  float shininess;
28  float ior; // index of refraction
29 
30  std::string ambient_texname;
31  std::string diffuse_texname;
32  std::string specular_texname;
33  std::string normal_texname;
34  std::map<std::string, std::string> unknown_parameter;
35  };
36 
37 }
38 #endif
float ambient[3]
Definition: Material.h:22
std::string name
Definition: Material.h:20
float emission[3]
Definition: Material.h:26
std::string ambient_texname
Definition: Material.h:30
float diffuse[3]
Definition: Material.h:23
float specular[3]
Definition: Material.h:24
std::string normal_texname
Definition: Material.h:33
float shininess
Definition: Material.h:27
std::map< std::string, std::string > unknown_parameter
Definition: Material.h:34
Definition: Material.h:18
float transmittance[3]
Definition: Material.h:25
float ior
Definition: Material.h:28
std::string specular_texname
Definition: Material.h:32
Definition: AvalancheTrainingSimulationEngine.h:28
std::string diffuse_texname
Definition: Material.h:31