mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
.. we do however appear to need to swizzle DX vert colors...
This commit is contained in:
parent
6859cbe308
commit
206d86f1bb
|
|
@ -1252,7 +1252,7 @@ void DiffuseVertColorFeatureHLSL::processVert( Vector< ShaderComponent* >& comp
|
|||
outColor->setStructName( "OUT" );
|
||||
outColor->setType( "float4" );
|
||||
|
||||
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