void bind() const;
private:
GLuint progId;
- aiColor3D ambient, diffuse, specular;
- ai_real shininess;
+ aiColor4D ambient, diffuse, specular;
+ ai_real shininess, reflectivity, refractiveIndex, opacity;
struct Texture {
- Texture(const std::string &path);
+ Texture(const std::string &file);
GLuint texId;
};
- Texture *texture = nullptr;
+ Texture *diffuseMap = nullptr;
+ Texture *specularMap = nullptr;
+ Texture *normalMap = nullptr;
};