4 ms·
WebGPU is the hot thing right now. This could be the start of a cross platform revolution; So exciting.
by rafaelvasco 7y ago
WebGPU is the hot thing right now. This could be the start of a cross platform revolution; So exciting.
- azakai 7y agoYes! Part of the cross-platform story here is an Emscripten port of webgpu.h, https://github.com/emscripten-core/emscripten/pull/10218 https://github.com/emscripten-core/emscripten/pull/10218 So you can write an application and run it either natively (using Dawn or wgpu-native) or on the Web (as WebAssembly + JavaScript).
- Pete_D 7y agoGenuine question from someone looking at toying with graphics programming who had never heard of WebGPU before today: does this mean I should hold off on learning WebGL? How different are the two?
- pjmlp 7y agoIf you don't have any kind of experience, you are better off starting with WebGL. It is more beginner friendly and it is here now. You can either start from scratch: https://webglfundamentals.org/ https://webglfundamentals.org/ Or use one of the two most developer friendly frameworks. https://threejs.org/ https://threejs.org/ https://www.babylonjs.com/ https://www.babylonjs.com/ If you have zero experience in graphics, another approach is to learn about 3D software rendering in first place. https://www.davrous.com/2013/06/13/tutorial-series-learning-how-to-write-a-3d-soft-engine-from-scratch-in-c-typescript-or-javascript/ https://www.davrous.com/2013/06/13/tutorial-series-learning-... Leave WebGPU for when you feel comfortable with 3D programming.
- Pete_D 7y agoThanks! I'd actually been looking for that software rendering article for a while as well and couldn't find it.