소스 검색

Merge pull request #2310 from Azaezel/vertColorCorrection

Vert color correction
Areloch 6 년 전
부모
커밋
0f22f2b20a
2개의 변경된 파일31개의 추가작업 그리고 78개의 파일을 삭제
  1. 1 1
      Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp
  2. 30 77
      Templates/Full/game/art/shapes/cube/cube.dae

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

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 30 - 77
Templates/Full/game/art/shapes/cube/cube.dae


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.