GridVids
Sign in with YouTube

How Games Fake Water

Acerola Jul 24, 2023 22:50
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Get a free 30 day trial and 20% off an annual plan at https://brilliant.org/acerola ! #ad Many Acerola viewers ask the question: How do games render water? Well, real time water rendering might sound intimidating, but it turns out most video games (Final Fantasy XVI, Elden Ring, Genshin Impact, etc.) use a relatively simple technique. How convenient! Topics covered include: Intuitive sine waves, the sum of sines, vertex shaders, fragment shaders, central difference normals, calculating normals with partial derivatives, lambert's cosine law (lambertian diffuse), blinn phong specular, why gerstner waves are cringe, euler waves, fractional brownian motion, fresnel reflectance, cubemaps Support me on Patreon! https://www.patreon.com/acerola_t Socials: Twitter: https://twitter.com/Acerola_t Twitch: https://www.twitch.tv/acerola_t Discord: https://discord.gg/FxGQvbfm6Y Code: https://github.com/GarrettGunnell/Water References: https://developer.nvidia.com/gpugems/gpugems/part-i-natural-effects/chapter-1-effective-water-simulation-physical-models https://iquilezles.org/articles/fbm/ https://www.shadertoy.com/view/MdXyzX http://filmicworlds.com/blog/everything-has-fresnel/ Music: Afternoon Break - Persona 3 OST Iwatodai Dorm - Persona 3 OST In A Moment's Time - Skullgirls OST A New Frontier - VA-11 Hall-A OST Midori Eyes - Paradise Killer OST GO!GO!STYLE - Paradise Killer OST Prof. Omochao - Sonic Adventure 2 OST During The Test - Persona 3 OST Junes Theme - Persona 4 OST Underground Club - VA-11 Hall-A OST Karmotrine Dream - VA-11 Hall-A OST Neon District - VA-11 Hall-A OST Moonlit Melee - Skullgirls OST Your Love Is A Drug - VA-11 Hall-A OST Thanks for watching! arrow in thumbnail drawn by thlurp This video is dedicated to my friend, Alotryx. #acerola #graphics #gamedev #unity3d #graphics #shaders
Science & Technology
#Programming #Creative Coding #Educational #Computer Science #Algorithms #Essay #Video Essay #Acerola #Learning #Tutoring #Art #Generative Art #Technical Art #Physics #Simulation #How I Made #Shader #Shader Programming #Shader Code #HLSL #Game Development #Optimization #Performant #Post Processing #Unity #Water #Water Rendering #Fractional Brownian Motion