removes w=z trick (was causing fisheye, effectively)

This commit is contained in:
Azaezel 2016-05-18 06:38:13 -05:00
parent 3262c004a5
commit d79b9a2988
12 changed files with 4 additions and 12 deletions

View file

@ -2805,7 +2805,7 @@ void DeferredSkyGLSL::processVert( Vector<ShaderComponent*> &componentList,
{
Var *outPosition = (Var*)LangElement::find( "gl_Position" );
MultiLine *meta = new MultiLine;
meta->addStatement( new GenOp( " @.w = @.z;\r\n", outPosition, outPosition ) );
//meta->addStatement( new GenOp( " @.w = @.z;\r\n", outPosition, outPosition ) );
output = meta;
}