d3d12: Something strange is happening to depth...

This commit is contained in:
vlj 2015-05-13 17:48:02 +02:00 committed by Vincent Lejeune
parent 411265d83a
commit 40e19e0c95
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ void Shader::Compile(SHADER_TYPE st)
pos.z = dot(pos, vc[258]);
pos.y = dot(pos, vc[257]);
pos.x = dot(pos, vc[256]);
pos.z = 0;
pos.z = -pos.z;
Out.pos = mul(pos, scaleOffsetMat);
Out.color = In.color;
return Out;