gpuweb
webgl2-voxels
Our great sponsors
gpuweb | webgl2-voxels | |
---|---|---|
56 | 3 | |
4,580 | 81 | |
1.7% | - | |
9.1 | 0.0 | |
1 day ago | over 4 years ago | |
Bikeshed | JavaScript | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gpuweb
- WGSL Is Terrible
-
WebGPU now available for testing in Safari Technology Preview
People keep spreading this incredibly misleading statement, and yours is even more misleading (suggesting Apple opposed a 'GPU WASM')
By all accounts, Apple's /only/ stance was that if WebGPU used SPIR-V it would be a non-starter for them, due to ongoing legal issues between Apple and Khronos.
Apple actually proposed WebHLSL in collaboration with Microsoft, to have HLSL be the standard.
Mozilla employee's stance[0] was that SPIRV was too low level, did not fit with the goals of WebGPU portability and security, and expressed concern that Khronos may add functionality to SPIRV they cannot support in WebGPU like raytracing instructions .. 'So we'd always be on the verge of forking SPIR-V in some way.'
It was also noted by many people that even if a bytecode format was used, it would still have to be translated to the target (HLSL/DXIL, MSL, etc.) in almost the same way a text format would.
Nobody proposed a 'GPU WASM equivalent' or an alternative bytecode format.
The hard truth is that shader compilation is a fucking nightmare, people do not realize how bad it is across the different native APIs. SPIR-V is good, but it doesn't solve that - and presents other challenges if you are a web browser API. Vulkan and SPIRV are not the golden goose many make them out to be.
[0] https://github.com/gpuweb/gpuweb/issues/847#issuecomment-642...
-
Show HN: WebGPU Particles Simulation
Yes it is still a bit new. WebGPU is not finished and is still being worked on: https://webgpu.io/
-
Capturing the WebGPU Ecosystem
WebGPU currently doesn't support the "bindless" resource access model (see: https://github.com/gpuweb/gpuweb/issues/380).
The "max number of sampled texture per shader stage" is a runtime device limit, and the minimal value for that seems to be 16. So texture atlasses are still a thing in WebGPU.
-
Why aren't we using highly efficient int8 calcualtions in quants? (maybe eli14?)
There's even an implementation under discussion to have the dp4a instruction added to WebGPU (https://github.com/gpuweb/gpuweb/issues/2677)
- WebGPU – All of the cores, none of the canvas
- How to get Chromium working with the Vulkan driver on a RPi4?
- Anyone has Chromium WebGPU working?
- [Rust_Gamedev] WGSL est-il un bon choix?
- I want to talk about WebGPU
webgl2-voxels
-
WebGL 2.0 Achieves Pervasive Support from All Major Web Browsers
You got me wondering what was going on - 425Kb seemed pretty high. I imagined there would only be around 50K of non-compressed source code. Turns out the 200Kb+ culprit is the texture atlas I nabbed off the internet: https://github.com/mrspeaker/webgl2-voxels/blob/master/res/m... - I'm only using a handful of cells out of that, I should chop it!
-
PlayCanvas introduces new Engine Examples Browser
This is really cool, and I love the idea of embedding assets around the web. When I first saw PlayCanvas years ago I kind of ignored it... but it just keeps going and just gets more and more feature-filled. Now it really seems like a solid product - and a solid idea... Well done to the creators!
Does anyone know who PlayCanvas are? (And are they hiring?!) I love WebGl and WebGl2 (here's a little Minecraft thing I made: https://github.com/mrspeaker/webgl2-voxels), so for my own projects I always want to do it all "from scratch". But this is a much more productive engine and that playground is really tempting me to dive in further.
What are some alternatives?
wgsl.vim - WGSL syntax highlight for vim
RandomxAudits - Audit Proposals and Reports for RandomX
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
uBlock - uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
noclip.website - A digital museum of video game levels
BestBuy-GPU-Bot - BestBuy Bot is an Add to cart and Auto Checkout Bot. This auto buying bot can search the item repeatedly on the ITEM page using one keyword. Once the desired item is available it can add to cart and checkout very fast. This auto purchasing BestBuy Bot can work on Firefox Browser so it can run in all Operating Systems. It can run for multiple items simultaneously.
wgpu-rs - Rust bindings to wgpu native library
WASI - WebAssembly System Interface
naga - Universal shader translation in Rust
webgpu-wgsl-hello-triangle - An example of how to render a triangle with WebGPU using WebGPU Shading Language - the "Hello world!" of computer graphics.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
wgsl-cheat-sheet - Cheat sheet for WGSL syntax for developers coming from GLSL.