docs.unity3d.com
    Show / Hide Table of Contents

    Rim Light Settings

    The Rim Light highlight the edges of meshes. Rim Light is based on the angle between surface normal and view direction. The Unity Toon Shader provides variety of options for Rim Light.



    • Rim Light

      • Rim Light Color
      • Rim Light Level
      • Adjust Rim Light Area
      • Rim Light Feather Off
      • Light Direction
      • Light Direction Rim Light Level
      • Inverted Light Direction Rim Light

        • Inverted Rim Light Color
        • Inverted Rim Light Level
        • Inverted Rim Light Feather Off
      • Rim Light Mask

      • Rim Light Mask Level

    Rim Light

    A Check box to enable Rim Light that hits the 3D model from behind and emphasizes the contours of the model from the front.

    Rim Light Off Rim Light On


    Rim Light Color

    Specifies the color of Rim Light.


    Rim Light Level

    Specifies Rim Light intensity.


    Adjust Rim Light Area

    Increasing this value narrows the area of influence of Rim Light.


    Rim Light Feather Off

    A check box to disable Rim Light feather.

    Rim Light with feather Rim light feather disabled


    Light Direction

    A Checkbox to enable light direction. When Enabled, generates Rim Light in the direction of the light source.

    Rim Light Direction Off Rim Light Direction On


    Light Direction Rim Light Level

    Specifies intensity of Rim Light in the light source direction.


    Inverted Light Direction Rim Light

    Light color effectiveness to inverted direction rim lit areas.

    Inverted Light Direction Rim Light Off Inverted Light Direction Rim Light On


    Inverted Rim Light Color

    Specifies the color of inverted/antipodean Rim Light.


    Inverted Rim Light Level

    Specifies Inverted/Antipodean Rim Light Level.


    Inverted Rim Light Feather Off

    Disable Inverted Rim Light feather.

    Inverted Rim Light Feather On Inverted Rim Light Feather Off

    Rim Light Mask

    Rim Light Mask : a gray scale texture(linear). The white part of the texture represents Rim Light, and the black part masks.

    Gray Scale Texture Example
    Rim Light Mask Off Rim Light Mask On

    Rim Light Mask Level

    -1 gives 0% for the Rim Light effect, 0 gives 100% for the Rim Light and Mask effect, 1 gives 100% for the Rim Light and 0% for the Mask effect.


    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023