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

WebGPURenderer: Add textureGrad support #28048

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

RenaudRohlinger
Copy link
Collaborator

@RenaudRohlinger RenaudRohlinger commented Apr 2, 2024

Description

This PR introduces support for textureGrad and textureSampleGrad in the WebGL and WebGPU backends, respectively. An example has been created because of the numerous possible combinations of textureGrad, which seem to differ in WebGPU. It would be great to extend the use case to avoid unintentionally introducing breaking changes and ensure A/B testing.

https://raw.githack.com/renaudrohlinger/three.js/utsubo/feat/texture-grad/examples/webgpu_texturegrad.html

image

This contribution is funded by Utsubo

@RenaudRohlinger RenaudRohlinger requested a review from sunag April 2, 2024 10:30
@RenaudRohlinger RenaudRohlinger added this to the r164 milestone Apr 2, 2024
@sunag sunag merged commit 75b06a1 into mrdoob:dev Apr 2, 2024
11 checks passed
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.

2 participants