mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-10 12:45:46 +00:00
VertexShaderManager: Remove a hardcoded projection hack.
This commit is contained in:
parent
bbde075420
commit
3cfa04b5cf
@ -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]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user