How to: Shader color depends on angle of surface point?


Dear all,

I need a shader which color depends of the angle from a surface point. I wanna shade an object with snow., but I do not want snow on vertically surfaces.
So I need a color information (e.g. from black to white) for the angle of the surface point (white = normal is vertically, black = normal is horizontally).

A simple sampler info did not make the trick…

Does this make sense? Any ideas?
Thank you,


Maya Snow shader


That simple :man_facepalming:
Thank you damaggio