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


#1

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,
mickna


#2

Maya Snow shader


#3

That simple :man_facepalming:
Thank you damaggio