VertexShaderManager: Remove a hardcoded projection hack.

This commit is contained in:
NeoBrainX 2013-12-30 19:26:10 +00:00
parent bbde075420
commit 3cfa04b5cf
1 changed files with 4 additions and 3 deletions

View File

@ -411,9 +411,10 @@ void VertexShaderManager::SetConstants()
g_fProjectionMatrix[12] = 0.0f; g_fProjectionMatrix[12] = 0.0f;
g_fProjectionMatrix[13] = 0.0f; g_fProjectionMatrix[13] = 0.0f;
// donkopunchstania: GC GPU rounds differently? // donkopunchstania suggested the GC GPU might round differently
// -(1 + epsilon) so objects are clipped as they are on the real HW // He had thus changed this to -(1 + epsilon) to fix clipping issues.
g_fProjectionMatrix[14] = -1.00000011921f; // I (neobrain) don't think his conjecture is true and thus reverted his change.
g_fProjectionMatrix[14] = -1.0f;
g_fProjectionMatrix[15] = 0.0f; g_fProjectionMatrix[15] = 0.0f;
SETSTAT_FT(stats.gproj_0, g_fProjectionMatrix[0]); SETSTAT_FT(stats.gproj_0, g_fProjectionMatrix[0]);