Jelajahi Sumber

Merge pull request #2310 from Azaezel/vertColorCorrection

Vert color correction
Areloch 6 tahun lalu
induk
melakukan
0f22f2b20a

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

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

File diff ditekan karena terlalu besar
+ 30 - 77
Templates/Full/game/art/shapes/cube/cube.dae


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini