Graphics: Move shadow-mapping related code to LightShadow classes

This commit is contained in:
SirLynix
2022-11-26 18:33:12 +01:00
committed by Jérôme Leclercq
parent ec3bc45544
commit 1768f20365
27 changed files with 496 additions and 160 deletions

View File

@@ -18,7 +18,7 @@ namespace Nz
return m_renderMask;
}
const RenderTarget& Camera::GetRenderTarget()
const RenderTarget& Camera::GetRenderTarget() const
{
if (!m_renderTarget)
throw std::runtime_error("no rendertarget set");