References for Self-illuminated shader with emission based in normal angle

Hi,

I’m looking for references to make a self-illuminated shader, with the emission “intensity” to be based on the angle of the faces normal.

If the face is facing the floor then use the color “Black” in the emission, if the face is facing the sky use the color “White” instead.

I`m using the ShaderLab language, to do something like this Will I have to use CG instead?

Thanks!

Your best bet is to write a surface shader.

Thanks for the reply. =]