rim lighting shader

Has anyone created a rim lighting shader? like an incidence edge effect or fresnel edge effect, maybe with built in lightmapping//

http://www.fundza.com/rman_shaders/surface/fake_rim/fake_rim1.html

Thanks
S

have you seen this?

Thanks, will have a play.

Cheers

S