Hello guys, i am wondering if there is a way to get/mask only the pixels that are facing the camera from a normal map, in case you are wondering why, i’m trying to make a sparkling snow material, but getting sparkles only on certain area based on the position and rotation of the camera, i hope someone can help me with this, thank you 
It is a simple as taking a dot product between pixel normal and camera vector.
Also there is a good thread about sparkling materials.
