Browse Source

adress #16 - don't need to swizzle vert colors

AzaezelX 5 years ago
parent
commit
6859cbe308
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp

+ 1 - 1
Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp

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