Skip to content

Simplify Cubemap example - #553

Merged
greggman merged 1 commit into
webgpu:mainfrom
greggman:simplify-cube-map
Jan 27, 2026
Merged

Simplify Cubemap example#553
greggman merged 1 commit into
webgpu:mainfrom
greggman:simplify-cube-map

Conversation

@greggman

Copy link
Copy Markdown
Member

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

2 participants