2019-03-27 12:56:21 +09:00

27 lines
342 B
C++

#pragma once
#include <string>
#include <glm/vec3.hpp>
struct Material
{
glm::vec3 ka;
glm::vec3 kd;
glm::vec3 ks;
float shininess;
bool enabled = false;
};
class Texture
{
public:
Material mat;
GLuint tex_ref;
bool isNmap = false;
Texture(std::string file_name);
Texture(const Texture &other);
Texture() {};
~Texture();
};