Mastering Fog Rendering in OpenGL: Adding Depth and Atmosphere to Your Graphics (part 2/2)

Опубликовано: 19 Ноябрь 2024
на канале: OGLDEV
2,991
90

This is part two of the fog rendering chapter from the book "ShaderX2- Introductions and tutorials with DirectX9". This chapter was written by Markus Nuebel. Watch the first part before this one:    • Mastering Fog Rendering in OpenGL: Ad...  . In this video we take a look at the last two techniques in the chapter - layered fog and animated fog.

🔥 See the list of the books that I'm using as background information for my tutorials: https://ogldev.org/books.html. I highly recommend them for learning more about OpenGL and Vulkan. These are affiliate links so if you use them to buy any of the books the price is the same for you and I will get a small commission (thank-you!).

Timecodes
0:00 Intro
0:34 Layered fog
8:20 Animated fog
12:02 Conclusion

"Fast Multi Layer Fog" by Justin Legakis: https://dl.acm.org/doi/pdf/10.1145/28...
"Real Time Animation Of Realistic Fog" by Biri et al: https://www.researchgate.net/publicat...

Fog integral proof by Barukh Ziv: https://ogldev.org/www/misc/fog_integ...

Download the book for free: https://www.realtimerendering.com/res...

Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at    • OpenGL for Beginners  

Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.

Link to source: https://github.com/emeiri/ogldev/blob....
Checkout the tag 'TUT_39_FOG_PART_2' to get the same version of the code that was used in the video.

OpenGL 4.6 specification: https://www.khronos.org/registry/Open...

Feel free to comment below.

Email: [email protected]
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon:   / ogldev  

Credits:
Fog integral proof - Barukh Ziv (https://ogldev.org/www/misc/fog_integ...)
Integral image by I, KSmrq, CC BY-SA 3.0 (https://commons.wikimedia.org/w/index...)
Trignometric function image by Qualc1, CC BY-SA 3.0 (https://en.wikipedia.org/wiki/Periodi...)
Music: "Take what's yours" by CreatorMix (https://creatormix.com)
Music: "Adventure" by bensound (https://bensound.com)
Terrain model: https://www.turbosquid.com/3d-models/... by fieldaniel.
Texture: https://polyhaven.com/a/rock_04 by Rob Tuytel

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials