Тёмный

OpenGL - SSAO (screen space ambient occlusion) 

Brian Will
Подписаться 96 тыс.
Просмотров 35 тыс.
50% 1

Code samples derived from work by Joey de Vries, @joeydevries, author of learnopengl.com/
All code samples, unless explicitly stated otherwise, are licensed under the terms of the CC BY-NC 4.0 license as published by Creative Commons, either version 4 of the License, or (at your option) any later version.

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@ja100o
@ja100o 3 года назад
9:03 I´m currently replaying Far Cry 3 and I noticed that outline around characters and objects. Now I know why it´s there. Thank you very much!
@chofthch
@chofthch Год назад
im late but use hbao or hdao
@ja100o
@ja100o Год назад
@@chofthch thanks, I'll remember it for my next playthrough:D🫡
@chofthch
@chofthch Год назад
@@ja100o you are welcome
@JstaChillGuy
@JstaChillGuy 5 лет назад
I'm glad I could find a video explaining what exactly SSAO is and what it does and what the difference in with and without it is/looks like. (I had to know for in-game graphics settings if I need/want it) Thumbs up. PS: Nice voice btw.
@LochNessHamster
@LochNessHamster 2 года назад
Ambient occlusion is like the drop shadow of 3D lighting.
@Vagelis_Prokopiou
@Vagelis_Prokopiou 5 лет назад
Thanks Brian. Excellent 👌
@SaintP0int
@SaintP0int 5 лет назад
Thanks! I came here only looking for general idea of SSAO, and diagram helped me a lot!
@angieouchakova9107
@angieouchakova9107 4 года назад
great explanation, thanks!
@jeroen3648
@jeroen3648 3 года назад
Thank you for this clear explaination :>
@walidyider7766
@walidyider7766 5 месяцев назад
THANKK YOUUU SO MUUUCH
@xr.spedtech
@xr.spedtech 11 месяцев назад
You have a nice voice ... I put the "OOP is bad" video on speaker ... Best one for kicker speakers ....
@lisyarus
@lisyarus 4 года назад
Your way of generating a random vector inside a hemisphere doesn't produce a uniform distribution, since the probability around the four "corners" (±1, ±1, 1) is higher than in other areas. A better way would be to use rejection sampling: instead of normalizing the vector & making a random length, just check if it is inside the hemisphere, otherwise generate a new vector, and so on. This way, the distribution would be uniform.
@abyssaldision5134
@abyssaldision5134 Год назад
He's using accelerated lerp, so the majority of the samples end up around the origin (i.e., 0, 0, 0 not 1, 1, 1), thats what you want you don't want them evenly distributed inside the hemisphere.
@dmitrykolesnikovich
@dmitrykolesnikovich 4 года назад
Thank you so much for this video
@veggiet2009
@veggiet2009 2 года назад
Ambient occlusion is a good approximation for situations where direct illumination is not present. But then in the real world nothing really distinguishes an "emitted" light ray from a "reflected" light ray. But where a strong light is not present and where textures are less reflective, the lights get bounced in multiple directions the more light that gets sent in multiple directions either through diffuse reflection, or refraction, the more that light will appear like what we think of as "ambient" lighting
@syntaxed2
@syntaxed2 7 месяцев назад
There are no light "rays" in nature...just photons. Photons are particles, and particles are quantum objects - a quanta of a vibration in the electromagnetic field. They have wave-duality, meaning they are both particles and waves at the same time. They may also be entangled to other stuff. They dont bounce but rather get entangled to matter particles in varying degrees. We cant simulate any of this.
@raghul1208
@raghul1208 2 года назад
nice playlist
@187onaPigeon
@187onaPigeon 4 года назад
I am trying some OpenGL for the firsf time and 2 days ago 95% of this code would have been very confusing. I will try this later for sure. Thanks!
@Interestingworld4567
@Interestingworld4567 4 года назад
Try the VULKAN API
@CodeParticles
@CodeParticles 2 года назад
@Brian Will, I apologize for commenting 3 years so late, but is it possible to do a follow up on the improved SSAO called HBAO+? (Horizontal Based Ambient Occlusion? I read this on Nvidia papers, and they confirmed its better than SSAO in every way and even 3x more efficient?
@AssassinGrudge
@AssassinGrudge 5 лет назад
wait ao is the number of samples that are occluded from point of view ?
@pelecyphora1
@pelecyphora1 4 года назад
A g8t explanation
@staticminds2715
@staticminds2715 4 года назад
hey can you make some reshade filters ????? that do this
@dmitry6123
@dmitry6123 5 лет назад
Just two words: CACHE EFFICIENCY. Not a good idea to use whole gbuffer for random texture reads. Use 16bit depth buffer (reduced at least in half ) and restore position in any space you want. It would have much better performance. Just saying.
@dmitrykolesnikovich
@dmitrykolesnikovich 4 года назад
Are two pictures on right real? I mean last ten seconds of video
@robloxfan4271
@robloxfan4271 Год назад
Looks hardy any diffrent
Далее
OpenGL - Framebuffer Objects
14:37
Просмотров 20 тыс.
The Endless Grid
21:58
Просмотров 5 тыс.
НЕ БУДИТЕ КОТЯТ#cat
00:21
Просмотров 1 млн
OpenGL - PBR (physically based rendering)
12:47
Просмотров 31 тыс.
OpenGL - gamma correction, HDR tone mapping, bloom
15:26
I Created My Own Custom 3D Graphics Engine
26:29
Просмотров 84 тыс.
Advanced OpenGL Topics, BETTER SSAO: HBAO
4:28
Просмотров 4,3 тыс.
What the Heck Is Ambient Occlusion?!
2:48
Просмотров 202 тыс.
OpenGL - 3D rendering overview
15:31
Просмотров 24 тыс.
Career Advice For A World After AI
23:07
Просмотров 221 тыс.
OpenGL - Multisample Anti-Aliasing
11:21
Просмотров 17 тыс.
Adding Ambient Occlusion To My Voxel Game - Devlog 13
9:34