docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    PolySpatial Asset Support

    Meshes

    RealityKit offers a limited set of predefined vertex formats. Meshes can supply a position, a normal, a tangent, a color, blend weight and blend indices. Unity will supply up to 8 texture coordinates to RealityKit, but note that only the first two UV channels are useable within its MaterialX implementation, limiting the utility of the extra geometric data.

    As Unity and RealityKit use different coordinate systems, some vertex attributes are modified when passing between systems. Handedness swapping is performed for position, normal, and tangent. UVs are flipped for all UV channels.

    Materials

    Please refer to PolySpatial Material Support for detailed information about material and shader support on visionOS.

    Unity Shader Graphs

    Please refer to Shader Graph Support for detailed information about how custom shaders defined via Unity Shader Graph are converted to MaterialX to interop with RealityKit.

    Textures

    Unity provides support for 2D textures, 3D textures, and cube maps on visionOS, and takes advantage of native texture compression options.

    Render Textures

    Please refer to PolySpatial Render Texture Support for detailed information about support for render textures.

    Fonts

    Both rasterized and SDF fonts are supported on visionOS, but we highly recommend using SDF fonts to ensure sharpness at all viewing distances.

    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)