Deferred renderer: clear dest buffer before rendering
This commit is contained in:
parent
2b1e772870
commit
271a3d1b6e
1 changed files with 2 additions and 0 deletions
|
|
@ -1509,6 +1509,8 @@ void main()
|
|||
|
||||
target.bind();
|
||||
|
||||
gl::Clear(gl::COLOR_BUFFER_BIT);
|
||||
|
||||
impl().screen_mesh.bind();
|
||||
|
||||
// Draw unlit & ambient layers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue