mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 21:23:46 +00:00
Merge pull request #218 from Azaezel/alpha40_vertcolorCorrect
adress #16 - don't need to swizzle vert colors (on GL)
This commit is contained in:
commit
0364769f9a
2 changed files with 2 additions and 2 deletions
|
|
@ -1242,7 +1242,7 @@ void DiffuseVertColorFeatureGLSL::processVert( Vector< ShaderComponent* >& comp
|
|||
outColor->setStructName( "OUT" );
|
||||
outColor->setType( "vec4" );
|
||||
|
||||
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
|
||||
output = new GenOp( " @ = @;\r\n", outColor, inColor );
|
||||
}
|
||||
else
|
||||
output = NULL; // Nothing we need to do.
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Add a link
Reference in a new issue