# Dot Product is the coolest math in shaders (article)

**URL:** <https://forums.unrealengine.com/t/dot-product-is-the-coolest-math-in-shaders-article/1813601>\
**Category:** Rendering\
**Tags:** math, unreal-engine\
**Created:** [April 21, 2024, 7:27am UTC](https://forums.unrealengine.com/t/dot-product-is-the-coolest-math-in-shaders-article/1813601 "2024-04-21T07:27:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adder1812](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Adder1812](https://forums.unrealengine.com/u/Adder1812)\
**Post date:** [April 21, 2024, 7:27am UTC](https://forums.unrealengine.com/t/dot-product-is-the-coolest-math-in-shaders-article/1813601/1 "2024-04-21T07:27:04Z")

</div>

Hey! I thought I’d share with you an article I wrote about the usefulness of the Dot Product function in materials. I hope you like it!

> **[Dot Product is the coolest math in shaders.](https://medium.com/@adder1812/dot-product-is-the-coolest-math-in-shaders-e5baa66a9bbf)**
>
> Dot product is one of the most important, most versatile function used in shaders. There’s a chance you know and use it already — but if…

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [April 21, 2024, 8:39am UTC](https://forums.unrealengine.com/t/dot-product-is-the-coolest-math-in-shaders-article/1813601/2 "2024-04-21T08:39:22Z")

</div>

Nice tip with that dot product circle. I used cosinus functions for it. 😃

---

<div class="post-metadata">

**Author:** ![Adder1812](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Adder1812](https://forums.unrealengine.com/u/Adder1812)\
**Post date:** [April 21, 2024, 9:11am UTC](https://forums.unrealengine.com/t/dot-product-is-the-coolest-math-in-shaders-article/1813601/3 "2024-04-21T09:11:50Z")

</div>

Thanks:))
