Shadows go brrr

This commit is contained in:
2025-01-16 14:03:28 +01:00
parent 8a3bf57d7e
commit 071caf51b6
22 changed files with 4140 additions and 3269 deletions

View File

@@ -40,6 +40,7 @@ void ShadowMapBuffer::SetRenderTarget(ID3D11DeviceContext *deviceContext) {
deviceContext->OMSetRenderTargets(0, nullptr, m_depthBuffer.GetDepthStencilView());
}
void ShadowMapBuffer::ResetRenderTarget(ID3D11DeviceContext *deviceContext) {
ID3D11RenderTargetView *nullRTV = nullptr;
deviceContext->OMSetRenderTargets(1, &nullRTV, nullptr);