Simple game engine with complete export to scripting language
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
423 B

  1. #ifndef BLUECORE_MATERIAL_H
  2. #define BLUECORE_MATERIAL_H
  3. #include "ShaderManager.h"
  4. #include "TextureManager.h"
  5. namespace BlueCore
  6. {
  7. class Material
  8. {
  9. typedef ref_ptr<Texture> TexturePtr;
  10. typedef std::pair<std::string, TexturePtr> TextureUnit;
  11. std::vector<TextureUnit> _Textures;
  12. ShaderProgram _ShaderProgram;
  13. bool Tangents;
  14. float Shininess;
  15. float Specular[4];
  16. };
  17. }
  18. #endif /*MATERIAL_H_*/