Your first Volumetric Fog Shader | Unity URP
Technically Harry
0:00 / 0:00
Your first Volumetric Fog Shader | Unity URP
45 936 просмотров · 1 год назад
Technically Harry
4,43 тыс. подписчиков
45 936 просмотров · 1 год назад
A gentle introduction into creating a volumetric fog shader from scratch, explaining the overall logic behind volume raymarching. There's a lot this video doesn't cover but it should serve as a good entry point for game developers and artists that seek to understand volumetric effects.
Link to the shader file: https://gist.github.com/HAliss/f84e3c...
Link to Sebastian Lague's Clouds video: • Coding Adventure: Clouds
Timestamps:
00:00 - Intro
00:35 - Patreon supporters
00:50 - Volumetric raymarching process
01:24 - Renderer feature setup
01:55 - Depth sampling
02:37 - World space reconstruction
03:10 - Raymarching setup
04:40 - Raymarching loop
05:40 - Making it pretty
06:18 - Blending the fog color
06:44 - Exponential fog falloff
07:12 - Reducing banding
08:57 - Density noise
10:36 - Lighting effects
12:59 - Light scattering
13:50 - Outro
✨Streams: / harryalisavakis
✨Bsky: https://bsky.app/profile/halisavakis.com
✨Twitter: / harryalisavakis
✨Shader tutorials and more: https://halisavakis.com
✨Join the Discord server: / discord