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:
@@ -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);
|
||||
}
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user