Merge remote-tracking branch 'origin/deffered_rendering'

This commit is contained in:
2014-06-04 17:14:34 +02:00
5 changed files with 34 additions and 35 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ void Model::getSimilarVertexIndex()
{
glm::vec3 tempNormal, tempTangent, tempBiTangent;
if(glm::dot(Normals[i], Normals[t]) > 0)
if(glm::dot(Normals[i], Normals[t]) > .4f)
{
tempNormal = Normals[i] + Normals[t];
tempTangent = TangentNormals[i] + TangentNormals[t];