2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:47:42 +00:00

Changes to avoid polluting alpha buffer

This commit is contained in:
Jack Andersen
2017-12-19 20:06:21 -10:00
parent 6d8344f44d
commit a8f27c5569
4 changed files with 5 additions and 5 deletions

View File

@@ -274,7 +274,7 @@ void View::Resources::init(boo::MetalDataFactory::Context& ctx, const IThemeData
m_solidShader = ctx.newShaderPipeline(SolidVS, SolidFS, nullptr, nullptr, m_solidVtxFmt, 1,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, boo::ZTest::None, false, true, true, boo::CullMode::None);
boo::Primitive::TriStrips, boo::ZTest::None, false, true, false, boo::CullMode::None);
boo::VertexElementDescriptor texvdescs[] =
{
@@ -285,7 +285,7 @@ void View::Resources::init(boo::MetalDataFactory::Context& ctx, const IThemeData
m_texShader = ctx.newShaderPipeline(TexVS, TexFS, nullptr, nullptr, m_texVtxFmt, 1,
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
boo::Primitive::TriStrips, boo::ZTest::None, false, true, true, boo::CullMode::None);
boo::Primitive::TriStrips, boo::ZTest::None, false, true, false, boo::CullMode::None);
}
#endif