Remove TODO's from deferred renderer

This commit is contained in:
Nikita Lisitsa 2020-10-28 18:29:24 +03:00
parent 149555889e
commit 6f33c85c8c

View file

@ -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<std::size_t>(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();