diff --git a/libstarlight/source/starlight/gfx/RenderCore.cpp b/libstarlight/source/starlight/gfx/RenderCore.cpp index 0916b65..cf3992c 100644 --- a/libstarlight/source/starlight/gfx/RenderCore.cpp +++ b/libstarlight/source/starlight/gfx/RenderCore.cpp @@ -120,7 +120,7 @@ void RenderCore::Open() { // set up mode defaults C3D_AlphaBlend(GPU_BLEND_ADD, GPU_BLEND_ADD, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA); // premult - C3D_DepthTest(true, GPU_GEQUAL, GPU_WRITE_ALL); // hmm. + C3D_DepthTest(false, GPU_GEQUAL, GPU_WRITE_ALL); // hmm. C3D_CullFace(GPU_CULL_NONE); } @@ -160,7 +160,7 @@ namespace { break; case BlendMode::Replace: - C3D_AlphaBlend(GPU_BLEND_MAX, GPU_BLEND_MAX, GPU_ONE, GPU_ZERO, GPU_ONE, GPU_ZERO); // flat replace + C3D_AlphaBlend(GPU_BLEND_ADD, GPU_BLEND_ADD, GPU_ONE, GPU_ZERO, GPU_ONE, GPU_ZERO); // flat replace C3D_TexEnvOp(env, C3D_RGB, 0, 0, 0); C3D_TexEnvOp(env, C3D_Alpha, GPU_TEVOP_A_SRC_ALPHA, GPU_TEVOP_A_SRC_ALPHA, 0); C3D_TexEnvFunc(env, C3D_RGB, GPU_REPLACE); diff --git a/libstarlight/todo.txt b/libstarlight/todo.txt index 50746aa..ae5d78b 100644 --- a/libstarlight/todo.txt +++ b/libstarlight/todo.txt @@ -4,7 +4,8 @@ roadmap to v0.5.1 { - clear bug workaround implemented ^ maybe replace clearing with the workaround entirely? - try to figure out why the workaround doesn't work in citra + - try to figure out why the workaround doesn't work in citra (it was a difference between openGL and PICA blend operations!) + https://github.com/citra-emu/citra/issues/2684 implement more blend modes { - flat replace masking