How to get the camera vector in the shadow pass?


I transform the vertex normal from WS to tangent space to improvise a fresnel. Hope it helps.