docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Terrain Lit Material Inspector reference

    You can modify the properties of a Terrain Lit material in the Terrain Lit Material Inspector.

    Refer to Terrain Lit material for more information.

    Surface Options

    Property Description
    Receive Decals Enable the checkbox to allow HDRP to draw decals on this Material’s surface.

    Terrain

    Property Description
    Enable Height-based Blend Specifies whether HDRP should only render the Terrain Layer with the greatest height value for a particular pixel. When enabled, HDRP takes the height values from the blue channel of the Mask Map Texture. When disabled, HDRP blends the Terrain Layers based on the weights painted in the control map Textures.
    - Height Transition Controls how much HDRP blends the terrain if multiple Terrain Layers are approximately the same height.
    Enable Per-pixel Normal Specifies whether HDRP should sample the normal map Texture on a per-pixel level. When enabled, Unity preserves more geometry details for distant terrain parts. Unity generates a geometry normal map at runtime from the heightmap, rather than the Mesh geometry. This means you can have high-resolution Mesh normals, even if your Mesh is low resolution. It only works if you enable Draw Instanced on the terrain.
    Specular Occlusion Mode Sets the mode that HDRP uses to calculate specular occlusion.
    • Off: Disables specular occlusion.
    • From Ambient Occlusion: Calculates specular occlusion from the ambient occlusion map and the Camera's view direction.

    Advanced Options

    Property Description
    Enable GPU Instancing Enable the checkbox to tell HDRP to render Meshes with the same geometry and Material in one batch when possible. This makes rendering faster. HDRP cannot render Meshes in one batch if they have different Materials, or if the hardware does not support GPU instancing. For example, you cannot static-batch GameObjects that have an animation based on the object pivot, but the GPU can instance them.
    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)