Cg programs for shadow map