You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A good way to improve visual quality it to use ambient occlusion. Currently, a fake AO is used: points closer to the center have a darker color which looks a bit like AO. But we should implement a better version of ambient occlusion!
Right now, I can think of two good possibilities:
SSAO (screen space ambient occlusion)
This is a technique used by many games: you only need a texture of depth values for each pixel on the screen (although having the SS normal makes certain things easier) and can do everything else in screen space by sampling random depth values in your neighborhood.
Precalculating ambient values based on the DE
We can also query the DE along the surface normal to evaluate the occlusion of a specific point. The occlusion information can be stored inside the vertex. More information here.
Reasons for SSAO
SSAO only requires one additional rendering pass on the GPU which can be pretty fast
There are many tutorials on how to implement this algorithm online
The precalculation method depends on several parameters that would need some fine tuning
Reasons for the precalculation-approach
The shape doesn't change, so there is no reason to calculate something every frame
SSAO can be tricky: occlusion can depend on camera angle (it shouldn't!) and the algorithm has several artifacts which can be avoided somehow... but then it get's even more tricky.
For SSAO we would need to change the rendering pipeline from our current forward renderer to a more elaborate kind of pipeline (to capture depth values in a texture)
The precalculation method seems to be more precise
The text was updated successfully, but these errors were encountered:
A good way to improve visual quality it to use ambient occlusion. Currently, a fake AO is used: points closer to the center have a darker color which looks a bit like AO. But we should implement a better version of ambient occlusion!
Right now, I can think of two good possibilities:
SSAO (screen space ambient occlusion)
This is a technique used by many games: you only need a texture of depth values for each pixel on the screen (although having the SS normal makes certain things easier) and can do everything else in screen space by sampling random depth values in your neighborhood.
Precalculating ambient values based on the DE
We can also query the DE along the surface normal to evaluate the occlusion of a specific point. The occlusion information can be stored inside the vertex. More information here.
Reasons for SSAO
Reasons for the precalculation-approach
The text was updated successfully, but these errors were encountered: