2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 06:27:43 +00:00

CWorldShadow OpenGL fixes; discord-rpc integration

This commit is contained in:
Jack Andersen
2018-01-15 20:42:28 -10:00
parent 030e80d843
commit 669b3d6942
19 changed files with 175 additions and 27 deletions

View File

@@ -48,7 +48,8 @@ void CWorldShadowShader::blendPreviousShadow()
{
if (!m_prevQuad)
m_prevQuad.emplace(EFilterType::Blend, m_tex.get());
m_prevQuad->draw({1.f, 0.85f}, 1.f);
zeus::CRectangle rect(0.f, 1.f, 1.f, -1.f);
m_prevQuad->draw({1.f, 0.85f}, 1.f, rect);
}
void CWorldShadowShader::resolveTexture()