Models now get a standard normal and specular map if they dont have one

This commit is contained in:
tleety
2015-09-16 16:09:20 +02:00
parent 20fc1232d6
commit 825f6dc991
7 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ void dd::Systems::LevelSystem::CreateBrick(int row, int line, glm::vec2 spacesBe
model->ModelFile = "Models/Test/Brick/Brick.obj";
float x = spaceToEdge + line * spacesBetweenBricks.x;
float y = spaceToEdge + row * spacesBetweenBricks.y;
transform->Scale = glm::vec3(1.6, 0.2, 0.5);
transform->Scale = glm::vec3(1.6, 0.35, 0.5);
transform->Position = glm::vec3(x - 7, y + 1, -10.f);
m_World->CommitEntity(brick);
return;