Questions tagged [ssao]
Screen-space ambient occlusion.
24 questions
1 vote
1 answer
2k views
How to convert from frag position to UV coordinates when my viewport doesn't cover the screen?
So, I'm implementing SSAO as part of my rendering pipeline using OpenGL/GLSL. It works pretty well when I have a camera that takes up the entire screen. However, when my camera is smaller than the ...
0 votes
0 answers
849 views
SSAO in my unity games has flickering lines at the top and right side of the screen
I've tried both the built-in unity ambient occlusion that comes with the post-processing stack, as well as another one ported from the Microsoft MiniEngine by someone: https://github.com/keijiro/...
0 votes
1 answer
203 views
Reconstructing Position from Depth - Inverted Y?
I am currently trying to understand the following wierd result. This is basically from deferred shading in monogame/XNA. For Comparison I also write the ViewSpace Position in a Buffer and the ...
0 votes
1 answer
187 views
nvidia SSAO visible errors
I am trying to add ssao effect to a visualization application but there are errors in resulting image. I am using code from https://github.com/nvpro-samples/gl_ssao . Errors occur in rapidly changing ...
4 votes
0 answers
409 views
SSAO shader program produces no occlusion
I'm attempting to implement screen-space ambient occlusion by the method shown here. My SSAO shader program is the one part that isn't working. Here are the outputs of the initial rendering pass, ...
4 votes
1 answer
1k views
SSAO issue - surfaces darken based on camera angle
I have a strange issue in my engine where my SSAO effect will extremely darken or lighten based on my camera angle: In that example, I'm just outputting the ssao texture to the screen. The texture is ...
2 votes
1 answer
3k views
SSAO, depth buffer linearization (?)
I'm trying to implement SSAO in my application but it doesn't look as it should. I think that the problem is with depth buffer linearization but I tried almost all methods which I found on the Web and ...
8 votes
1 answer
3k views
Strange SSAO effect (wrong position/normal textures in view space?)
I try to create an SSAO effect in my game engine (DirectX 11, C++), based mainly on gamedev.net tutorial by José María Méndez. Unfortunately, it doesn't cover texture-creating problem (normals, ...