This commit is contained in:
raven02 2014-03-07 21:41:40 +08:00
parent 2c7c1f547d
commit 1b831ce022

View File

@ -502,7 +502,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
Vec3f lightpos1 = Vec3f(gstate_c.lightpos[gstate.getUVLS1()]).Normalized();
uv[0] = (1.0f + Dot(lightpos0, normal))/2.0f;
uv[1] = (1.0f - Dot(lightpos1, normal))/2.0f;
uv[1] = (1.0f + Dot(lightpos1, normal))/2.0f;
uv[2] = 1.0f;
}
break;