mirror of https://github.com/AxioDL/metaforce.git
frontface culling boo sync
This commit is contained in:
parent
fcb53addd1
commit
b80cb1ed29
|
@ -77,12 +77,12 @@ void TextView::Resources::init(boo::GLDataFactory::Context& ctx, FontCache* fcac
|
|||
m_regular =
|
||||
ctx.newShaderPipeline(GLSLVS, GLSLFSReg, 1, TexNames, 1, BlockNames,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
|
||||
m_subpixel =
|
||||
ctx.newShaderPipeline(GLSLVS, GLSLFSSubpixel, 1, TexNames, 1, BlockNames,
|
||||
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#if _WIN32
|
||||
|
@ -174,12 +174,12 @@ void TextView::Resources::init(boo::ID3DDataFactory::Context& ctx, FontCache* fc
|
|||
m_regular =
|
||||
ctx.newShaderPipeline(VS, FSReg, nullptr, nullptr, nullptr, m_vtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
|
||||
m_subpixel =
|
||||
ctx.newShaderPipeline(VS, FSSubpixel, nullptr, nullptr, nullptr, m_vtxFmt,
|
||||
boo::BlendFactor::SrcColor1, boo::BlendFactor::InvSrcColor1,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -287,7 +287,7 @@ void TextView::Resources::init(boo::VulkanDataFactory::Context& ctx, FontCache*
|
|||
m_regular =
|
||||
ctx.newShaderPipeline(GLSLVS, GLSLFSReg, m_vtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -81,11 +81,11 @@ void View::Resources::init(boo::GLDataFactory::Context& ctx, const IThemeData& t
|
|||
{
|
||||
m_solidShader = ctx.newShaderPipeline(GLSLSolidVS, GLSLSolidFS, 0, nullptr, 1, BlockNames,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
|
||||
m_texShader = ctx.newShaderPipeline(GLSLTexVS, GLSLTexFS, 1, TexNames, 1, BlockNames,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#if _WIN32
|
||||
|
@ -168,7 +168,7 @@ void View::Resources::init(boo::ID3DDataFactory::Context& ctx, const IThemeData&
|
|||
|
||||
m_solidShader = ctx.newShaderPipeline(SolidVS, SolidFS, nullptr, nullptr, nullptr, m_solidVtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
|
||||
boo::VertexElementDescriptor texvdescs[] =
|
||||
{
|
||||
|
@ -179,7 +179,7 @@ void View::Resources::init(boo::ID3DDataFactory::Context& ctx, const IThemeData&
|
|||
|
||||
m_texShader = ctx.newShaderPipeline(TexVS, TexFS, nullptr, nullptr, nullptr, m_texVtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -298,7 +298,7 @@ void View::Resources::init(boo::VulkanDataFactory::Context& ctx, const IThemeDat
|
|||
|
||||
m_solidShader = ctx.newShaderPipeline(GLSLSolidVS, GLSLSolidFS, m_solidVtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
|
||||
boo::VertexElementDescriptor texvdescs[] =
|
||||
{
|
||||
|
@ -309,7 +309,7 @@ void View::Resources::init(boo::VulkanDataFactory::Context& ctx, const IThemeDat
|
|||
|
||||
m_texShader = ctx.newShaderPipeline(GLSLTexVS, GLSLTexFS, m_texVtxFmt,
|
||||
boo::BlendFactor::SrcAlpha, boo::BlendFactor::InvSrcAlpha,
|
||||
boo::Primitive::TriStrips, false, false, false);
|
||||
boo::Primitive::TriStrips, false, false, boo::CullMode::None);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue