mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Merge pull request #773 from Areloch/VertexColorHLSLBRGAFix
Removes the BGRA inversion when displaying vertex colors on materials
This commit is contained in:
commit
9a436f3c17
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue