mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 14:19:12 +00:00
Transition all Textured/ColoredQuad usages
- Upload textures using staging buffer - Fixes SetOrtho logic - More work on thermal visor rendering (still WIP) - Rework Dawn backend initialization - Support MoltenVK on Metal - Various fixes & cleanup
This commit is contained in:
@@ -76,10 +76,10 @@ void CWorldShadowShader::lightenShadow() {
|
||||
void CWorldShadowShader::blendPreviousShadow() {
|
||||
SCOPED_GRAPHICS_DEBUG_GROUP("CWorldShadowShader::blendPreviousShadow", zeus::skMagenta);
|
||||
|
||||
if (!m_prevQuad)
|
||||
m_prevQuad.emplace(EFilterType::Blend, m_tex);
|
||||
zeus::CRectangle rect(0.f, 1.f, 1.f, -1.f);
|
||||
m_prevQuad->draw({1.f, 0.85f}, 1.f, rect);
|
||||
// if (!m_prevQuad)
|
||||
// m_prevQuad.emplace(EFilterType::Blend, m_tex);
|
||||
// zeus::CRectangle rect(0.f, 1.f, 1.f, -1.f);
|
||||
// m_prevQuad->draw({1.f, 0.85f}, 1.f, rect);
|
||||
}
|
||||
|
||||
void CWorldShadowShader::resolveTexture() {
|
||||
|
||||
Reference in New Issue
Block a user