Skip to content

copyExternalImageToTexture in WebGPUBackend is missing flipY #26813

@danrossi

Description

@danrossi

Description

Image textures in WebGPUBackend are displaying upside down and need the flipY property added to device.queue.copyExternalImageToTexture

Reproduction steps

na

Code

    const geometry = new THREE.PlaneGeometry(10, 10);
    const imgMaterial = new MeshBasicNodeMaterial();
    const loader = new THREE.TextureLoader();
    const imgMesh = new THREE.Mesh(geometry, imgMaterial);

     imgMaterial.colorNode = texture(loader.load("./image.png"), uv());

Live example

](https://danrossi.github.io/three-webgpu-renderer/tests/webgpu_text3.html)

Screenshots

No response

Version

153dev

Device

Desktop

Browser

Chrome

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions