In the material expression palette, PixelNormalWS returns the pixel normal in world space, but I’m trying to access the pixel normal in view space – that is, the pixel’s normal relative to the camera.
Is there a way to access this?
In the material expression palette, PixelNormalWS returns the pixel normal in world space, but I’m trying to access the pixel normal in view space – that is, the pixel’s normal relative to the camera.
Is there a way to access this?
You should be able to use the transform node. You could try transforming from world->view and see if that gives you what you want.
Perfect, thanks!