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

Updated texture reprojection to work on WebGPU #5021

Merged
merged 1 commit into from Feb 1, 2023

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Feb 1, 2023

  • updated reprojection shader to avoid unused uniforms, those are now included using defines only when needed
  • updated few examples to use pc.createGraphicsDevice
  • added envAtlas projection to cubemap rendering example
  • disabled unsupported movie texture on WebGPU in box-reflection example
  • small WebGPU changes to get it all to work

Mipmaps are not supported on WebGPU yet, so quality of some projections is not there yet. Also, some of them are upside down, which will be fixed in a separate PR

Screenshots from WebGPU:
Screenshot 2023-02-01 at 10 51 19
Screenshot 2023-02-01 at 10 50 53

@mvaligursky mvaligursky self-assigned this Feb 1, 2023
@mvaligursky mvaligursky added area: graphics Graphics related issue area: examples labels Feb 1, 2023
@mvaligursky mvaligursky merged commit 1428063 into main Feb 1, 2023
@mvaligursky mvaligursky deleted the mv-reproject-webgpu branch February 1, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants