Merge pull request #2310 from Azaezel/vertColorCorrection

Vert color correction
This commit is contained in:
Areloch 2019-03-30 16:30:01 -05:00 committed by GitHub
commit c4e10825f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 103 deletions

View file

@ -1159,7 +1159,7 @@ void DiffuseVertColorFeatureGLSL::processVert( Vector< ShaderComponent* >& comp
outColor->setStructName( "OUT" );
outColor->setType( "vec4" );
output = new GenOp( " @ = @;\r\n", outColor, inColor );
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
}
else
output = NULL; // Nothing we need to do.

File diff suppressed because one or more lines are too long