Rim or velvet style shader for terrain.

Hi !

I am not a shader programmer but I would love my terrain to have a nice rim light effect or velvet shader type. I can not find any…

I found some nice rim light shader on the web, but none work on terrains.

In the picture bellow the sphere as a shader made by tigerShan who posted on unity forum:
http://forum.unity3d.com/threads/76750-Very-Simple-Velvet-shader!

Any idea how I could get this effect on terrains ?

Thank you

21616-rim.jpg

I wrote a blog post a few months back that describes the process of applying any custom shader to a Unity terrain: Custom Unity Terrain Material / Shaders | Alastair Aitchison