Commit ad7af166 by Philipp Adolf

Enable fake sharpness

parent 99289847
...@@ -425,7 +425,7 @@ void Mesh::initMeshEntry(int index, aiMesh * entry) { ...@@ -425,7 +425,7 @@ void Mesh::initMeshEntry(int index, aiMesh * entry) {
qCDebug(log_mesh) << "Loaded Mesh:" << entries[index].name << "HasBones:" << entry->HasBones(); qCDebug(log_mesh) << "Loaded Mesh:" << entries[index].name << "HasBones:" << entry->HasBones();
entries[index].init(f,Vertices, Indices, false); entries[index].init(f,Vertices, Indices, true);
} }
void Mesh::render(QOpenGLShaderProgram *shader, QMatrix4x4 V,QMatrix4x4 P, int subdivision, bool regular){ void Mesh::render(QOpenGLShaderProgram *shader, QMatrix4x4 V,QMatrix4x4 P, int subdivision, bool regular){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment