Click
Clipped from the super long shaders for beginners stream of two days ago!
Note that this is for two normalized vectors, it's a bit different if only one or none of them are normalized. Regardless the case of two normalized vectors is very common in shaders!
For example, Lambert shading is the dot product of the light direction and the surface normal
Full video will be up soon!
Twitch ❱ / acegikmo
Twitter ❱ / freyaholmer
Discord ❱ / discord
Instagram ❱ / freya_holmer