Jump to content

Learning WebGPU from scratch


eonarheim
 Share

Recommended Posts

Hi friends!

I was really excited to see Chrome shipping WebGPU in 113! It theoretically greater promises performance improvements over WebGL!

I took a stab at learning the API from scratch and found it to be a pretty enjoyable API to use.

There are 3 big differences:

* No more global state, everything is captured into objects that can be reuses

* Brand new shading language WGSL which is very Rust-like

* Direct compute shader support so you don't need to do the texture hack anymore to pass data

What are your thoughts on WebGPU? Have you tried it yet? Has anyone here looked at using compute shaders yet for games (thinking about physics simulations)?

I posted a video on youtube of me learning WebGPU from scratch and give my impressions on the API

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...