From 6f33c85c8cdba41bdfd1365124299d4672508c20 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Wed, 28 Oct 2020 18:29:24 +0300 Subject: [PATCH] Remove TODO's from deferred renderer --- libs/gfx/source/renderer/deferred.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libs/gfx/source/renderer/deferred.cpp b/libs/gfx/source/renderer/deferred.cpp index a4448df7..70937183 100644 --- a/libs/gfx/source/renderer/deferred.cpp +++ b/libs/gfx/source/renderer/deferred.cpp @@ -531,7 +531,6 @@ void main() if (need_clipping) { - // TODO: clip with near-Z manually instead of filling the entire screen *result++ = {-1.f, -1.f}; *result++ = { 1.f, -1.f}; *result++ = { 1.f, 1.f}; @@ -688,8 +687,6 @@ void main() if (o.casts_shadow) casts_shadow_bbox |= o.bbox; } - // TODO: frustum culling - // Resize g-buffer if needed auto buffer_size = geom::cast(target.viewport.dimensions()); @@ -801,10 +798,6 @@ void main() impl().screen_mesh.bind(); - // TODO: directional light shadows - - // TODO: point light shadows - // Draw unlit & ambient layers impl().ambient_pass_program.bind();