Nodes > Functions > Util > Rim

Returns the ratio between the world normal and the direction to the camera. Useful for highlighting the edges of an object.
Inputs
| Name | Type | Description |
|---|---|---|
| Normal ( Tangent Space ) | float | World space normal vector to use |
| Exponent | float | Exponential value to apply to the rim |
| Intensity | float | Multiplier on the final rim result |
Outputs
| Name | Type | Description |
|---|---|---|
| Rim | float | Rim ratio |
Properties
| Name | Type | Description |
|---|---|---|
| Mode | dropdown | If vertex normal is selected, the node will use the vertex normal automatically |
| Space | dropdown | Choose if the Normal input is in World Space or Tangent Space |
| Invert | bool | Inverts the rim ratio |
Was this page helpful?