Adding Shaders and a 'Time' Variable

This commit is contained in:
2019-12-10 01:24:55 +02:00
parent b936db0ce9
commit 26a7e48784
11 changed files with 184 additions and 213 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ Model::Model(const char *filename) : verts_(), faces_(), norms_(), uv_(), diffus
std::cerr << "# v# " << verts_.size() << " f# " << faces_.size() << " vt# " << uv_.size() << " vn# " << norms_.size() << std::endl;
load_texture(filename, "_diffuse.tga", diffusemap_);
load_texture(filename, "_nm_tangent.tga", normalmap_);
//load_texture(filename, "_spec.tga", specularmap_);
load_texture(filename, "_spec.tga", specularmap_);
}
Model::~Model() {}