docs.unity3d.com
    Show / Hide Table of Contents

    DOTS instancing shader

    To render entities with Entities Graphics, shaders must be DOTS Instancing compatible.

    SRP Shaders

    For default Universal Render Pipeline (URP) and High Definition Render Pipeline (HDRP) shaders, they are already DOTS instacing compatible.

    ShaderGraph

    If you have custom material properties in ShaderGraph that you want it to be DOTS instanced, see Material overrides.

    Custom Shader

    Entities Graphics provides a sample scene which demonstrates a simple unlit shader which renders using DOTS instancing.

    • URP: URPSamples > SampleScenes > 6. Misc > SimpleDotsInstancingShader

    For information on where to download the samples from, see Sample Projects.

    For more information about the dots instancing, see DOTS Instancing shaders.

    Back to top
    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