mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-09 22:41:00 +00:00
Removes the BGRA inversion when displaying vertex colors on materials
This commit is contained in:
parent
1444f47b88
commit
cbf758e089
|
|
@ -1250,7 +1250,7 @@ void DiffuseVertColorFeatureHLSL::processVert( Vector< ShaderComponent* >& comp
|
|||
outColor->setStructName( "OUT" );
|
||||
outColor->setType( "float4" );
|
||||
|
||||
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
|
||||
output = new GenOp( " @ = @;\r\n", outColor, inColor );
|
||||
}
|
||||
else
|
||||
output = NULL; // Nothing we need to do.
|
||||
|
|
|
|||
Loading…
Reference in a new issue