The accompanying pretty pictures can be found in this xsibase threadHere is my experiment shader on how to create rim light without light in a way to optimize the render and the process for the compositing step.
It can be very useful to create rimlight pass.
The download can be found here