Undo samuncle's commit that added specular lights, but in a way that would only work on nvidia gpus

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2013-12-08 20:19:46 +00:00
parent f96a647a9c
commit db0a3d37a2
3 changed files with 8 additions and 7 deletions

View File

@@ -376,8 +376,8 @@ void LightBlendProvider::OnSetConstants(IMaterialRendererServices *srv, int)
float ambient[3] = { s.r, s.g, s.b };
srv->setVertexShaderConstant("ambient", ambient, 3);
int spectex = 1;
srv->setVertexShaderConstant("spectex", &spectex, 1);
//int spectex = 1;
//srv->setVertexShaderConstant("spectex", &spectex, 1);
}
//-------------------------------------