Skip to content

Conversation

@greggman
Copy link
Collaborator

There's no reason to use a cube. Not using a cube means

  • no need to have attributes
  • no need to create vertex buffers
  • no need to need to set vertex buffers in the pass
  • no need for a depth texture
  • draw 3 vertices instead of 36

There's no reason to use a cube. Not using a cube means

* no need to have attributes
* no need to create vertex buffers
* no need to need to set vertex buffers in the pass
* no need for a depth texture
* draw 3 vertices instead of 36
@greggman greggman enabled auto-merge (rebase) January 27, 2026 17:55
@greggman greggman merged commit 27925c8 into webgpu:main Jan 27, 2026
1 check passed
@greggman greggman deleted the simplify-cube-map branch January 27, 2026 17:58
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