The Basics of Dot Product in Unity URP. Vectors, Angles, and Lighting! ✔️ 2021.1 | Game Dev Tutorial @NedMakesGames
The Basics of Dot Product in Unity URP. Vectors, Angles, and Lighting! ✔️ 2021.1 | Game Dev Tutorial  @NedMakesGames
Uploaded April 2021 | Updated September 2026, 2 weeks ago
✔️ Works in 2020.3 ➕ 2021.1

The Dot Product is a useful vector function which has many uses in shaders and gameplay programming. You can use it to calculate lighting, know when a projectile has reached it's apex, or calculate when a creature sees an object. In this video, I'll show you how to use it in various ways!

👋 Subscribe for weekly game development videos!
youtube.com/c/nedmakesgames?sub_confirmation=1

👑 Join my Patreon for extra influence over topics, early access to videos, downloadable project files, and more!
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

🎬 Previous videos
► All bout SmoothStep: youtu.be/I6HVbfMx2s4

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

⏲️ Timestamps:
0:00 Intro
0:13 The math
1:26 Using it in Unity
1:47 Lighting
2:18 Physics
2:41 Field of view
3:13 Wrap up and credits

🎖️ Credits and references:
• MarkGX: Drag a GameObject with the mouse - answers.unity.com/questions/12322/drag-gameobject-with-mouse.html
• Astigmatic: Special Elite font - fontsquirrel.com/fonts/special-elite
• iblendit: Low Poly Rocket - sketchfab.com/3d-models/low-poly-rocket-bd0df781d7db4db3961eddf0da0d3d9a

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

#GameDev #IndieDev #Unity
The 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]Point Lights and Outlines! Tactical Lizard Tamer, Unity Game Dev Log [Part 125]My Sparkling Glittering Material in Unity Shader Graph! ✔️ 2020.3 | Game Dev TutorialEndless Fields of Grass in URP with a Compute Shader! ✔️ 2020.3 | Game Dev TutorialMovement Messages! Cannoneer, Unity Game Dev Log [Part 6]Smooth Terrain, Finally! Tactical Lizard Tamer, Unity Game Dev Log [Part 150]Future Plans and Streams Starting Again Soon!All Blend Modes! Looking at the Shader Graph Blend Mode Filters ✔️ 2021.1 | Unity Game Dev TutorialPicking a Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 190]Loading Audio Mixers and Sources! Tactical Lizard Tamer, Unity Game Dev Log [Part 115]Easier Pathfinding! Tactical Lizard Tamer, Unity Game Dev Log [Part 156A]
Ned Makes Games |

The Basics of Dot Product in Unity URP. Vectors, Angles, and Lighting! ✔️ 2021.1 | Game Dev Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER