Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import the second UV map if present in glTF files. #9992

Merged
merged 1 commit into from
Oct 2, 2023

Commits on Oct 2, 2023

  1. Import the second UV map if present in glTF files.

    Conventionally, the second UV map (`TEXCOORD1`, `UV1`) is used for
    lightmap UVs. This commit allows Bevy to import them, so that a custom
    shader that applies lightmaps can use those UVs if desired.
    
    Note that this doesn't actually apply lightmaps to Bevy meshes; that
    will be a followup. It does, however, open the door to future Bevy
    plugins that implement baked global illumination.
    pcwalton committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    9deea3c View commit details
    Browse the repository at this point in the history