Time and Animation in Shaders! URP Shader Graph and HLSL! #Shorts Preview | Unity Game Dev Tutorial @NedMakesGames
Time and Animation in Shaders! URP Shader Graph and HLSL! #Shorts Preview | Unity Game Dev Tutorial  @NedMakesGames
Uploaded May 2021 | Updated September 2026, 3 weeks ago
✨ Watch the full tutorial! ✨
► youtu.be/XWbdZxADieU

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.

🎖️ Credits and references:
• 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

#Shorts #Gamedev #Unity
Time and Animation in Shaders! URP Shader Graph and HLSL! #Shorts Preview | Unity Game Dev TutorialThe Basics of SmoothStep, a Useful Shader Function in Unity URP ✔️ 2020.3 | Game Dev TutorialAdding Shadow Casting to Grass Baked with Compute Shaders ✔️ 2020.3 | Unity URP Game Dev TutorialWalking Through Creating a Full-Screen Transition Effect in Unity! [Tutorial Tuesday 3]Shader Graph and C# Interaction! Set Properties from Scripts! ✔️ 2020.3 | Unity Game Dev TutorialMapObjects for the Future! Tactical Lizard Tamer, Unity Game Dev Log [Part 135]Basics of Partial Derivative Shader Funcs in Unity! DDX, DDY, FWidth ✔️ 2021.1 | Game Dev TutorialTerrain Texture Layering! Tactical Lizard Tamer, Unity Game Dev Log [Part 146]Mouse Pointer in Screen and World Space! Mouse Picking in Unity! ✔️ 2021.1 | Game Dev TutorialWind Animated Grass In Unity URP Shader Graph Using Meshes! ✔️ 2020.3 | Game Dev TutorialPeicemeal Terrain Processing! Tactical Lizard Tamer, Unity Game Dev Log [Part 132]Blocks Are In! Tactical Lizard Tamer, Unity Game Dev Log [Part 169]
Ned Makes Games |

Time and Animation in Shaders! URP Shader Graph and HLSL! #Shorts Preview | Unity Game Dev Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER