.. we do however appear to need to swizzle DX vert colors...

This commit is contained in:
AzaezelX 2020-06-19 06:48:50 -05:00
parent 6859cbe308
commit 206d86f1bb

View file

@ -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.