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

LightProbeGenerator: adapt for WebGPU compatibility #29335

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

aardgoose
Copy link
Contributor

@aardgoose aardgoose commented Sep 5, 2024

Related issue: #29295

The cubeRenderTarget method has been made async which requires the original example to be modified to account for this.

The cube faces from WebGPU have the 'X' faces swapped, and all mirrored vertically.

As an aside: the WebGPU copyTexturetoBuffer() command can return all 6 faces of a cube texture in a single call in a single buffer.

@Mugen87 Mugen87 added this to the r169 milestone Sep 6, 2024
@Mugen87
Copy link
Collaborator

Mugen87 commented Sep 9, 2024

Do you mind adding an exception for the webgpu_lightprobe_cubecamera screenshot here?

https://github.com/mrdoob/three.js/blob/dev/test/e2e/puppeteer.js#L43

I'll revisit this after the merge.

@Mugen87 Mugen87 merged commit bac758d into mrdoob:dev Sep 9, 2024
10 checks passed
@aardgoose aardgoose deleted the probe-gen branch September 18, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants