Time and Animation in Shaders! URP Shader Graph and HLSL! ✔️ 2021.1 | Unity Game Dev Tutorial @NedMakesGames
Time and Animation in Shaders! URP Shader Graph and HLSL! ✔️ 2021.1 | Unity Game Dev Tutorial  @NedMakesGames
Uploaded June 2021 | Updated September 2026, 1 week ago
✔️ Tested in 2020.3 ➕ 2020.1

Getting the current time in shaders is easier that it seems at first! Unity provides a shader graph node and many HLSL variables for your every need, but what exactly do they contain? When does the time counter begin? Is it affected by time scaling? I look into the URP source to find out. Time allows you to animate in shaders, which is super powerful! I showcase two animating shaders: one which loops, and one which starts at a specified time.

👋 Subscribe for weekly game development videos!
► ✨ Watch the full tutorial on Wednesday! ✨
youtube.com/c/nedmakesgames?sub_confirmation=1

👑 Join my Patreon to watch videos early, download all project files, vote on future topics, and more! Thank you so much!
patreon.com/nedmakesgames

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

🔴 Twitch ► twitch.tv/nedmakesgames
🐦 Twitter ► twitter.com/nedmakesgames
🎮 Discord ► discordapp.com/invite/ubxSVBK
📸 Instagram ► instagram.com/nedmakesgames
👽 Reddit ► reddit.com/u/nedmakesgames
🎶 TikTok ► tiktok.com/@nedmakesgames
☕ Ko-fi ► ko-fi.com/nedmakesgames

💬 Video transcript
docs.google.com/document/d/1bVubMrStQMw2l5VVmF88xgcUdC5AfumZnSEEOc1S6ok/edit?usp=sharing

⏲️ Timestamps:
0:00 Intro
0:30 Finding the source
2:03 A looping animation
2:40 A start time animation
3:16 Pausing
3:32 Wrap up and credits

🎖️ Credits, references and further reading:
• Unity Technologies: URP source and documentation
• Keijiro Takahashi: AngleAxis3x3 - gist.github.com/keijiro/ee439d5e7388f3aafc5296005c8c3f33

Music:
Bleeping Demo by Kevin MacLeod
Link: incompetech.filmmusic.io/song/7012-bleeping-demo
License: filmmusic.io/standard-license

#GameDev #IndieDev #Unity
Time and Animation in Shaders! URP Shader Graph and HLSL! ✔️ 2021.1 | Unity Game Dev TutorialTextures on the Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 145]Audio Mixers Connected! Tactical Lizard Tamer, Unity Game Dev Log [Part 119]New Unity Version! Cannoneer, Unity Game Dev Log [Part 7]Egg Shell Touch-Ups and Bones! Tactical Lizard Tamer, Unity Game Dev Log [Part 103B]Rendering Grass In Unity URP Using Noise and Geometry Shaders! ✔️ 2020.3 | Game Dev TutorialRotating Monsters! Tactical Lizard Tamer, Unity Game Dev Log [Part 111]Introducing Egg Dino! Tactical Lizard Tamer, Unity Game Dev Log [Part 98]Mipmaps in Unity Part 2! Shaders, Bias, and Texture2DLOD! #Shorts Preview | Game Dev TutorialThe Graphics Pipeline and You | Writing Unity URP Code Shaders Tutorial [1/9] ✔️ 2021.3 #shortsThe Basics of Dot Product in Unity URP. Vectors, Angles, and Lighting! ✔️ 2021.1 | Game Dev TutorialPlaying with Particles! Mazoid Unity Game Dev Log [Part 1]
Ned Makes Games |

Time and Animation in Shaders! URP Shader Graph and HLSL! ✔️ 2021.1 | Unity Game Dev Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER