docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Create Draco Files

    For creating Draco™ (.drc) files, there are multiple options.

    Command Line Tool

    Draco's Encoding Tool is a command line tool that is able to convert a mesh or point cloud into a Draco (.drc) file. It supports the following input types:

    • Wavefront OBJ (.obj)
    • PLY
    • STL

    Example for encoding a Wavefront OBJ (input.obj) into a Draco file (output.drc):

    draco_encoder -i input.obj -o output.drc
    

    See the draco_encoder documentation for usage details.

    Unfortunately there's no binary distribution, so you have to build the executable yourself following Draco's build instructions.

    Tip: Similar to the Encoding Tool there's a glTF Transcoding Tool that it able to apply Draco compression on glTF files. See Draco and glTF for more information.

    Within Unity

    In the Scene/GameObject Encoding/Decoding via Menu sample you'll find an Editor script that lets you encode meshes to Draco within the Editor.

    Trademarks

    Unity is a registered trademark of Unity Technologies.

    Draco™ is a trademark of Google LLC.

    Khronos® is a registered trademark and glTF™ is a trademark of The Khronos Group Inc.

    In This Article
    Back to top
    Copyright © 2025 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)