Skip to content
0:00 / 0:00

#shaders#waterrendering#gerstnerwaves

How Games Fake Water

Acerola

314K subscribers • 6 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Acerola
  • Linked in the descriptionGarrettGunnell/Water

Intermediate. Assumes working knowledge.

317K views3 years ago2 recommendations

Graphics and audioGame developmentRenderingGPUs, shaders and CUDAGame programming

Acerola explains the math and shader techniques video games use to render realistic water, from sine waves to Fresnel reflectance.

Get a free 30 day trial and 20% off an annual plan at 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! patreon.com/acerola_t Socials: Twitter: twitter.com/Acerola_t Twitch: twitch.tv/acerola_t Discord: discord.gg/FxGQvbfm6Y Code: github.com/GarrettGunnell/Water References: developer.nvidia.com/gpugems/gpugems/part-i-natural-effects/… iquilezles.org/articles/fbm/ shadertoy.com/view/MdXyzX 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

Why it's here

2 people recommend this

What people say. Recommended as a highly engaging guide to water rendering that inspires beginners to build their first graphics projects.

Moments people linked to

u/Miserable_Special734in r/GraphicsProgramming • Recommends

My first graphics project in DirectX 11 based on Acerola's "How Games Fake Water" Youtube video. This was my first ever dive into using a graphics API and I used Acerola's video on rendering water in video games as a jumping on point to begin learning DirectX 11. Link to Original Video: [video
121View on Reddit

u/kabune_in r/GraphicsProgramming • Recommends

…on becoming a graphics programmer. My aim is to master advanced graphics techniques for creating stunning visuals. While I've dabbled in graphics programming—created a raytracer, raymarching projects, and using OpenGL for game-like projects previously—I feel a bit stuck. I want to push beyond and explore more complex stuff. Recently, I watched a link to this video by Acerola where he suggested implementing advanced shaders like an ocean or grass shader aiming high performance. He also advised diving into research papers for ideas, but I'm having trouble finding those. Any tips on finding these papers or other advice to help me on this learning journey? EDIT: I want to share resources I found so tha…