mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
set gl vertcolor mapping to bgra format, the same as we do for stateblocks
This commit is contained in:
parent
008423bf32
commit
aeb43432fa
|
|
@ -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…
Reference in a new issue