Remove TODO's from deferred renderer
This commit is contained in:
parent
149555889e
commit
6f33c85c8c
1 changed files with 0 additions and 7 deletions
|
|
@ -531,7 +531,6 @@ void main()
|
||||||
|
|
||||||
if (need_clipping)
|
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};
|
*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;
|
if (o.casts_shadow) casts_shadow_bbox |= o.bbox;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: frustum culling
|
|
||||||
|
|
||||||
// Resize g-buffer if needed
|
// Resize g-buffer if needed
|
||||||
|
|
||||||
auto buffer_size = geom::cast<std::size_t>(target.viewport.dimensions());
|
auto buffer_size = geom::cast<std::size_t>(target.viewport.dimensions());
|
||||||
|
|
@ -801,10 +798,6 @@ void main()
|
||||||
|
|
||||||
impl().screen_mesh.bind();
|
impl().screen_mesh.bind();
|
||||||
|
|
||||||
// TODO: directional light shadows
|
|
||||||
|
|
||||||
// TODO: point light shadows
|
|
||||||
|
|
||||||
// Draw unlit & ambient layers
|
// Draw unlit & ambient layers
|
||||||
|
|
||||||
impl().ambient_pass_program.bind();
|
impl().ambient_pass_program.bind();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue