Move SSAO pass to be before translucent rendering
Fix depth sampling location when not using fullscreen scene
This commit is contained in:
parent
09bec67821
commit
c7c0ffadb5
5 changed files with 17 additions and 4 deletions
|
|
@ -491,6 +491,8 @@ void FGLRenderer::DrawScene(int drawmode)
|
|||
|
||||
RenderScene(recursion);
|
||||
|
||||
AmbientOccludeScene();
|
||||
|
||||
// Handle all portals after rendering the opaque objects but before
|
||||
// doing all translucent stuff
|
||||
recursion++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue