title: hlsl dot function
body: <p>I was looking over an effect file I found in the DirectX SDK , and the only part that really threw me was the <code>Dot()</code> function.  That led me to a Wikipedia page about dot products that made no sense to me.  What is a dot product?</p>