We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

AO map flipped after GLTF export

Home Forums Bug Reports and Feature Requests AO map flipped after GLTF export

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #57289
    radek
    Customer

    Hi.

    Verge3D 4.1.1
    Blender 3.3.0

    I have a 3D model where the AO map is in a different UV space.

    This model is correctly loaded into the scene

    But after exporting the scene, the AO map is vertically flipped

    Attachments:
    You must be logged in to view attached files.
    #57297
    kdv
    Participant

    that’s because v3d.js creates new textures with flipY = true by default. Why? Maybe it’s a kind of a joke )))

    GLTF and USDZ exporters issue with AO map

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #57324

    Indeed, glTF uses the DirectX format for textures while WebGL follows OpenGL’s. We’ll try to fix this for the next update which we planned for tomorrow.

    Chief 3D Verger | LinkedIn | Twitter

    #57325
    kdv
    Participant

    Changing this.flipY from true to false in the class Texture completely removes the propblem with the occlusion/roughness/metallic texture which is generated by the V3D GLTF exporter.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.