mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
set gl vertcolor mapping to bgra format, the same as we do for stateblocks
This commit is contained in:
parent
b418e178f8
commit
b50f72b109
1 changed files with 1 additions and 1 deletions
|
|
@ -1159,7 +1159,7 @@ void DiffuseVertColorFeatureGLSL::processVert( Vector< ShaderComponent* >& comp
|
|||
outColor->setStructName( "OUT" );
|
||||
outColor->setType( "vec4" );
|
||||
|
||||
output = new GenOp( " @ = @;\r\n", outColor, inColor );
|
||||
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
|
||||
}
|
||||
else
|
||||
output = NULL; // Nothing we need to do.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue