How Games Fake Water

Published: 24 July 2023
on channel: Acerola
218,829
16k

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!
  / acerola_t  

Socials:
Twitter:   / acerola_t  
Twitch:   / acerola_t  
Discord:   / discord  

Code: https://github.com/GarrettGunnell/Water

References:
https://developer.nvidia.com/gpugems/...
https://iquilezles.org/articles/fbm/
https://www.shadertoy.com/view/MdXyzX
http://filmicworlds.com/blog/everythi...

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


Watch video How Games Fake Water online without registration, duration hours minute second in high quality. This video was added by user Acerola 24 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 218,829 once and liked it 16 thousand people.