dot product, or scalar product, is a mathmatical operation done like this: vectors c and n, c being camera, n being normal dot product = n.x*c.x + n.y*c.y + n.z*c.z