You can read it here:


http://www.facewound.com/tutorials/shader1/


Cheers!
Next Recommended Reading
NVidia Shader Library - HLSL

Araf Global is a software consultancy company founded in 2016 focusing on cutting edge technologies.