mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #2310 from Azaezel/vertColorCorrection
Vert color correction
This commit is contained in:
commit
c4e10825f4
2 changed files with 55 additions and 103 deletions
|
|
@ -1159,7 +1159,7 @@ void DiffuseVertColorFeatureGLSL::processVert( Vector< ShaderComponent* >& comp
|
||||||
outColor->setStructName( "OUT" );
|
outColor->setStructName( "OUT" );
|
||||||
outColor->setType( "vec4" );
|
outColor->setType( "vec4" );
|
||||||
|
|
||||||
output = new GenOp( " @ = @;\r\n", outColor, inColor );
|
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
output = NULL; // Nothing we need to do.
|
output = NULL; // Nothing we need to do.
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue