docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Understand eyes

    Eye anatomy

    When rendering eyes, it’s helpful to become familiar with their biological structure to produce a realistic outcome.

    • The Iris is the flat, colored, ring that surrounds the Pupil. It sits underneath the Cornea.
    • The Cornea is the transparent lens on top of the Iris. It reflects and focuses light into the Pupil.
    • The Pupil is the opening in the Iris that allows light to pass into the eye and reach the retina.
    • The Limbus, or the Limbal Ring, is the darkened bordering region between the Cornea and the Sclera.
    • The Sclera is the opaque, protective outer layer of the eye.

    img

    Eye materials

    Use the Eye shader or the Eye Shader Graph as the starting point for rendering eyes in the High Definition Render Pipeline (HDRP). They model a two-layer material, in which the first layer describes the cornea and fluids on the surface, and the second layer describes the sclera and the iris, visible through the first layer. They supports various effects, such as cornea refraction, caustics, pupil dilation, limbal darkening, and subsurface scattering.

    Under the hood, the Eye shader is a pre-configured Shader Graph.

    Refer to Create an eye material for more information.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)