SpeedTree
    Show / Hide Table of Contents

    Decal generator

    The Decal generator wraps a material with a flat mesh onto a parent to create surface details such as knots, lumps, or cavities.

    To create surface details with a material and a 3D mesh, refer to the Mesh detail generator. To create surface details procedurally, refer to the Knot generator.

    A decal generator used to create dark details on a tree trunk.

    Prerequisites

    To use the Decal generator, you need a material with both an opacity map and a flat mesh assigned to it. The mesh must have multiple vertices and triangles.

    Placement on the parent

    The Decal generator conforms the mesh to the surface of the parent. For accurate placement, the mesh must contain enough vertices and triangles to be deformed.

    If the placement looks off, add more vertices and triangles to the affected areas. If you can’t see the decal at all, add more geometry to the middle of the mesh.

    Use the Tessellation property in the Cutout Editor to add geometry quickly.

    Additional resources

    • Decal generator properties
    • Manage generators
    • Meshes
    Copyright © 2023 Unity Technologies
    • 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.