Commits

Lazar Sumar  committed b82a4af

Fixing metalic shader

  • Participants
  • Parent commits 82b8437

Comments (0)

Files changed (1)

File NPR/Shaders.cpp

 		glUniform1i(outlining, 0);
 	}
 
-	if (shaderFilename == "toon") {
+	if (shaderFilename == "toon" || shaderFilename == "metalic") {
 		GLint levels;
 		levels = glGetUniformLocation(pobj, "levels");
 		glUniform1i(levels, toonLevels);