A rim shader is useful for achieving a lighting effect related to the contour/outline edges of an object. This tutorial demonstrates a simple shader that simulates a fake rim light shading effect. It can be useful for creating fresnel or cartoon like skin effects.
No rim shader (Standard Surface) Rim shader color set to white
- A SamplerInfo node is connected to a ramp which determines the color of the rim light effect. This is connected to the Base Color attribute of a Standard Surface shader.
Rim shader network
- Changing the color of the ramp will affect the rim lighting efffect. You can adjust the width and strength of the rim effect using a ramp texture.
Ramp color set to yellow Ramp color set to black
Thanks to sample and hold for use of the toy scan model.