Reworked material

This commit is contained in:
Robert 2021-01-29 17:28:48 +01:00
parent 5c51de37a6
commit bf751c6c69
12 changed files with 251 additions and 32 deletions

View file

@ -15,18 +15,7 @@
namespace oglu
{
/**
* @brief A structure representing an object's material.
*/
class OGLU_API Material
{
public:
Color ambient = Color::White;
Color diffuse = Color::White;
Color specular = Color::White;
float shininess = 32.0f;
};
class Material;
typedef std::shared_ptr<Material> SharedMaterial;
/**