mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Working CSpaceWarpFilter
This commit is contained in:
@@ -92,6 +92,7 @@ void ViewManager::ParticleView::draw(boo::IGraphicsCommandQueue *gfxQ)
|
||||
m_vm.m_modelTest->GetInstance().ActivateLights(lights);
|
||||
m_vm.m_modelTest->Draw(flags);
|
||||
|
||||
m_spaceWarpFilter.setStrength(std::sin(m_theta * 5.f) * 0.5f + 0.5f);
|
||||
m_spaceWarpFilter.draw(zeus::CVector2f{0.f, 0.f});
|
||||
}
|
||||
if (m_vm.m_partGen)
|
||||
@@ -361,7 +362,7 @@ void ViewManager::stop()
|
||||
m_videoVoice.reset();
|
||||
m_projManager.shutdown();
|
||||
TShader<CThermalColdFilter>::Shutdown();
|
||||
TShader<CThermalColdFilter>::Shutdown();
|
||||
TShader<CSpaceWarpFilter>::Shutdown();
|
||||
CElementGen::Shutdown();
|
||||
CMoviePlayer::Shutdown();
|
||||
CLineRenderer::Shutdown();
|
||||
|
||||
Reference in New Issue
Block a user