Basics of White Noise! Random Numbers for Shaders and ProcGen in Unity ✔️ 2021.1 | Game Dev Tutorial

Опубликовано: 21 Апрель 2026
на канале: Ned Makes Games
6,956
218

✔️ Works in 2020.3 ➕ 2020.1

Noise, in graphics programming, is a function that produces pseudorandom numbers based purely on its input. Usually, it follows some pattern, but white noise has no pattern! This makes it perfect to generate random offsets, normals, or colors for a variety of shader effects. It's also useful in procedural generation, to make sure the world persists over playthroughs. In this video, I explain how white noise works and show some of its practical uses.

👋 Subscribe for weekly game development videos!
► https://www.youtube.com/c/nedmakesgam...

👑 Join my Patreon for extra influence over topics, early access to videos, downloadable project files, and more!
►   / nedmakesgames  

🔗 Check out my website for a searchable list of tutorials!
► https://nedmakesgames.github.io

🔴 Twitch ►   / nedmakesgames  
🐦 Twitter ►   / nedmakesgames  
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ►   / nedmakesgames  
👽 Reddit ►   / nedmakesgames  
🎶 TikTok ►   / nedmakesgames  
☕ Ko-fi ► https://ko-fi.com/nedmakesgames

💬 Video transcript
► https://docs.google.com/document/d/1d...

📚 Reference scripts
► https://gist.github.com/NedMakesGames...

⏲️ Timestamps:
0:00 Intro
0:15 Noise
1:05 Breaking it down
2:30 Using it in Unity
3:25 Salt and pepper
3:48 Sparkle shader
4:12 Random deformation shader
4:34 Procedural generation
5:00 Wrap up and credits

🎖️ Credits and references:
• Unity Technologies: white noise implementation - https://www.ronja-tutorials.com/post/...
• TotallyRonja: White Noise - https://www.ronja-tutorials.com/post/...
• polyperfect: Low Poly Ultimate Pack - https://assetstore.unity.com/packages...

Music:
Bleeping Demo by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song...

License: https://filmmusic.io/standard-license

#GameDev #IndieDev #Unity