mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +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
|
|
@ -1250,7 +1250,7 @@ void DiffuseVertColorFeatureHLSL::processVert( Vector< ShaderComponent* >& comp
|
||||||
outColor->setStructName( "OUT" );
|
outColor->setStructName( "OUT" );
|
||||||
outColor->setType( "float4" );
|
outColor->setType( "float4" );
|
||||||
|
|
||||||
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
|
output = new GenOp( " @ = @;\r\n", outColor, inColor );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
output = NULL; // Nothing we need to do.
|
output = NULL; // Nothing we need to do.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue