Hello friends! I also post computer graphics related things on Twitter: twitter.com/SuboptimalEng
@afjer8 ай бұрын
Thank God Adobe got stopped. I'm getting tired of them consuming useful software and fencing it up behind their paywall.
@RayfuzuLearning7 ай бұрын
I second this !
@maq30097 ай бұрын
If there's 2 companies that need to stop their greedy monopolies it's Apple and Adobe. I hate having to subscribe to a product or having to pay $3,000 for a product license.
@ultimate9056Ай бұрын
@@maq3009add microsoft to the list
@sudo-apt-upgrade-brain8 ай бұрын
Love how you went from the big picture to the details of webgpu.
@SuboptimalEng7 ай бұрын
Thanks! It took months to research WebGPU and write the script for this video 😅
@justdoityourself71347 ай бұрын
DirectX was a thing long before XBox. It is the main graphics library for windows and was the heart of "PC" gaming.
@SuboptimalEng7 ай бұрын
Yea that makes sense. I read the story of John Carmack roasting it and saying OpenGL was better. Suppose the tides have changed now 😅
@leonss23567 ай бұрын
@@SuboptimalEng Direct3D is the name of the Graphics API, DirectX is a collection of Windows APIs for multimedia (which includes D3D)
@affegpus41957 ай бұрын
@@SuboptimalEngdirectx story is a bit confusing. Back in the mid/late 90s despite being the best selling computer platform PC/windows was lagging behind hard in terms of multimedia compared to the competition The issue was that every soundboard, video card, etc did things their own way. And barely anyone ever used the hardware because of that and did everything in software. So Microsoft came with direct x, the idea was to give a unified interface to features, and if they were not available on the hardware side, they would be emulated in software, so any program made using it would always work, so you had directdraw, directsound, directinput, etc But then they also saw this company doing 3d hardware and a 3d API to go with it, they bought the company and used their API as the basis for direct3d... Which was completely different from the other direct x libraries and had no emulation. Funny enough, few years in the future direct3d became the only survivor of directx, as everything else directx either died out or become more standardized and build in on windows. And even funnier, the initial d3d supposely was super low level and based on buffers and display lists... Kinda like dx12/vulkan, But mapped horribly to the wildly different 3d hardware at the time and it is a lot harder to use than the very abstract opengl
@Daniel_WR_Hart3 ай бұрын
Not only that, but the Xbox was originally going to be called the DirectX Box
@AykutKlc3 ай бұрын
@@leonss2356 it wa s a pack of Direct Draw, Play, Sound and 3D. Play was for networking.
@gaius_enceladus7 ай бұрын
Great to learn that WebGPU can be used on desktop apps too, as well as web apps! Even better that it's being developed as a standard by the W3C! That fact alone has me sold on it!
@SuboptimalEng7 ай бұрын
Totally agree!
@jimmy215848 ай бұрын
Old-school game programmer here. I looked at Vulkan for doing 3D graphics, but decided it was for making engines, not applications. This looks like a nice middle ground of performance vs boilerplate.
@SuboptimalEng7 ай бұрын
This is exactly how I felt when learning WebGPU. Get 80% performance with 20% of the code! That’s more than enough for most applications and simulations I want to make. And the added bonus of being able to distribute each project on a web app!
@yds62688 ай бұрын
I was introduced to WebGPU exactly due to WGPU being the go-to graphics API for Rust applications. So for me WGPU is more important. I prefer writing desktop applications, but working the same on Windows/Linux.
@SuboptimalEng8 ай бұрын
That’s awesome! I didn’t realize all the hype about WebGPU until it came to the web last year. Did you use WGPU to make any projects yet?
@yds62688 ай бұрын
@SuboptimalEng, not yet, I'm still using OpenGL (or rather Miniquad crate, which is based on OpenGL). But I know that every big Rust project uses WGPU these days. Good example is Veloren - a free and open source Voxel RPG.
@lozer93gurl6 ай бұрын
This video is incredible! Thank you for the level of research that went into this. Instant sub!!
@SuboptimalEng6 ай бұрын
Thanks, I'm glad that this video helps convey the importance of WebGPU for graphics programming!
@dmug7 ай бұрын
I remember seeing WebGPU news but skipping over it. Thanks for this. It’ll be interesting if web GPU front ends to coreML. Also, if React Native, Native Script, Electron etc start folding this in. In any case, browsers with web assembly and web GPU are getting to be quite peformant.
@SuboptimalEng7 ай бұрын
Interesting! I do not know much about Apple's native ecosystem, but I do know that already Apple released WebGPU for Safari. And Google released it for Chrome and Android 12. Hopefully, Apple will follow suit and release it for Safari on iOS. That's when the fun really begins!
@albertkim18096 ай бұрын
I'd love a video on the state of javascript-browser-based game engines, and how they currently compare with state-of-the-art game engines. Just found this channel, amazing content man!
@FumezCreates8 ай бұрын
This is an amazing video. Thank you for taking the time to make this.
@SuboptimalEng8 ай бұрын
Thanks! It took months to gather all that info and turn it into a video. I actually started writing the script last year 🤓
@FumezCreates8 ай бұрын
@@SuboptimalEng wow...impressive work. KZbin videos are no joke. What's was the most tedious part of the process. And what was the most fun part. 1. Research 2. Scripting 3. Recording 4. Video & Audio Editing
@SuboptimalEng8 ай бұрын
Most tedious part was the scripting. A tough balance between what to keep, what to remove, and what to simplify. I made this video because I wish something like this existed when I started learning about WebGPU. Helping others understand its importance is a great feeling 🥹
@alvin31719978 ай бұрын
Great summary, love it!
@varundurge7 ай бұрын
Best video on KZbin explaining this topic
@SuboptimalEng7 ай бұрын
Thanks Varun!
@timur.shhhhh20 күн бұрын
First look at WebGPU: oh, it's so easy and useful Second look at WebGPU: i have no idea what it is
@SuboptimalEng20 күн бұрын
It may be that you've hit the valley of knowledge. Need to push through it to learn it!
@BrianSheppard7 ай бұрын
Not the 1970s... the 1990s... that hit hard... why do you want to hurt us. lol.
@SuboptimalEng7 ай бұрын
I’m a 90s kid. It’s hurts me as much as it hurts you 🥲
@envadehАй бұрын
Games that use their own renderers may use webgpu, but I don't think any engine will switch to webgpu, because as you said, it just interfaces with the 3 APIs, which means it's higher level and lets go of freedom
@zaqk26 ай бұрын
Super concise explanation... Browsed many other vdos from your channel.... So lovely... Thanks Subscribed !
@SuboptimalEng6 ай бұрын
@맥시멈한삶7 ай бұрын
The attempt to consolidate fragmented graphics APIs is commendable, but I wonder if this ambitious project can succeed without conflicting interests. I still think it might be premature. By the way, despite my opinion, the video was excellent. I'll share it with my friends. Thank you.
@SuboptimalEng7 ай бұрын
Thank you! And I must admit that you raise a valid point. WebGPU may struggle to find the perfect consensus, but I'm hopeful since a lot the big tech companies are invested in it. For example, even Apple, the company that stopped supporting OpenGL and had a slow release cycle for WebGL, released WebGPU for Safari last month. This is much sooner than what the graphics community expected and it shows a sign of commitment from their end. Google already released WebGPU for Chrome and Android 12. These are good signs and make me stay hopeful! On a side note: I really appreciate your level-headed approach of disagreeing with me on the comments section. It can get heated down here. Thank you!
@ryuuguu017 ай бұрын
Nice explanation. I won't be using it directly myself but indirectly as Unity switches from webGL to WebGPU later this year.
@SuboptimalEng7 ай бұрын
Thanks! I believe the folks at Unity are already making progress on getting games running on WebGPU.
@BarafuAlbino7 ай бұрын
Vulkan was designed by AMD. Only when they understood that no one cares about an AMD-only API, they tossed it to Khronos and forgot about it themselves.
@SuboptimalEng7 ай бұрын
Oh interesting! I did not know that.
@Browsinghard7 ай бұрын
Great overview, thank you!
@igorgiuseppe18627 ай бұрын
13:50 actually, vulkan is multiplatform, it support linux, android and windows. (and probably consoles, but they are NDA proprietary platforms so i cant say for sure, on xbox you probably can use something akin to dxvk) the issue is apple, but you can solve it with moltenVK (at least on macOS, im not sure if its accepted on apple store for iOS)
@ThePengumCrewАй бұрын
When the Nintendo Switch was about to launch, one of it's main features for developers was native Vulkan support alongside its proprietary API. It still is currently the only console to have native support.
@rajqsl55254 ай бұрын
Loved it!! Thanks much
@MaxPower-117 ай бұрын
Thanks for the video. BTW, Dassault is pronounced 'daso'
@SuboptimalEng7 ай бұрын
I watched a video on how to pronounce it and still struggled to say it correctly 😂
@Demonicbuilds84 ай бұрын
You accent is realy good dude.
@SuboptimalEng3 ай бұрын
Thanks?
@timseguine27 ай бұрын
I am investigating webgpu. I bounced off of vulkan a few times now because I feel like its benefits don't fully justify its complexity from a developer perspective.
@SuboptimalEng7 ай бұрын
Great to hear that! We need people need to get on the WebGPU train. It’s got a good balance of performance and ease of use.
@tempname82633 ай бұрын
Try investigating BGFX
@timseguine23 ай бұрын
@@tempname8263 Thanks for the tip. I will take a look when I get a chance.
@ulrich-tonmoy8 ай бұрын
I Guess it time for Tauri to shine like you can create an app with vanilla react or any other js lib and build for desktop and mobile i guess js game dev will get a little boost
@SuboptimalEng8 ай бұрын
That would be an interesting outcome for sure. Electron needs some competition 😅
@rch5395Ай бұрын
"Video games don't need the maximum performance" said no one ever before this video
@igorthelight7 ай бұрын
4:15 - But you do not need 2000 lines of code to draw two triangles, because most of those 1000 lines of code is just initialization and you will never write them again! ;-)
@SuboptimalEng7 ай бұрын
You got me there 😂
@pepe66667 ай бұрын
awesome video. thank you for making a coherent picture of everything. as for new APIs, i hope it stays. my argument is that directX, openGL and metal should have been the glue between software & hardware, yet we didnt need 3 of them. vendors creating competing platforms is the core of so much of our problems in life. we get something that eventually wraps the existing multitudes of frameworks and then someone will make a competitor to the high level framework. android and ios should be able to run the same programs, given similar hardware. xbox and playstation should be able to play the same games. PCs and macs should be able to run the same programs. vendors could have put their efforts into making this the reality, but they simply dont want to. and that simply not wanting to steers these platform decisions & gives us a perpetual problem they simply dont want to fix.
@SuboptimalEng7 ай бұрын
Weird to have this type of vendor lock-in. Not like we pay them to use these APIs.
@Ayo222107 ай бұрын
This is great info. Put some this info on Wikipedia, if you add media there back linking from that to your website is good for SEO.
@nyantaro17 ай бұрын
Really good video!
@timog73587 ай бұрын
really great video
@naphipps282197 ай бұрын
I plan on keeping vulkan as my game engine’s main rendering implementation, and maybe pickup webGPU/OpenGL/etc later so the engine can reach more platforms. WebGPU is nice but a little too new for me for now.
@SuboptimalEng7 ай бұрын
That’s a good point. No need to jump ship to WebGPU immediately. It is a little early right now, but I do hope it ends up becoming what it’s promising to be.
@tempname82633 ай бұрын
BGFX
@naphipps282193 ай бұрын
@@tempname8263 BGFX is really great! I happen to prefer more direct control and less API to learn, but I’d definitely recommend BGFX otherwise.
@JohnDoe-sy6tt7 ай бұрын
Good video! Thanks!
@TusharDeb7 ай бұрын
Very informative!
@theetheemattnewman7 ай бұрын
Great content. Spend time on Q/A to assure all of the companies and/or words you are saying, are pronounced correctly. “Dassault” is pronounced like ‘Da-Soh’ not like the word assault with a “d” at the beginning. It is important to remember that when you are putting content online that nearly 20,000 people have consumed within the past five days, that for some viewers also responsible for helping them learn the vernacular. You are effectively giving a lesson here, so you need to make sure that it is as accurate possible.
@SuboptimalEng7 ай бұрын
Thank you! In my defense, I did watch a video about how to pronounce Dassault Systemes last year. I've spent months writing and rewriting this script and I just forgot about the pronunciation by the time I recorded. One a side note: I thought that WebGPU was a niche topic. I did not expect this video to get this many views. I'm actually really hyped that so many people are interested in learning more about WebGPU!
@DanyloSyrotynskyy7 ай бұрын
WebGPU is great since it will allow gaming on Web! We will be able to publish demos of our games! On the other hand it will not dominate native gaming since it performance could never match native, so UE5 will still use Metal or Vulkan as backend
@SuboptimalEng7 ай бұрын
I'd love to see more games made directly on the web! I actually think of Figma as a video game that disguises itself as a design tool.
@DanyloSyrotynskyy7 ай бұрын
@@SuboptimalEng we have web based care game 😉
@livinginharmony3607 ай бұрын
Right now it's currently working draft, not standard yet.
@recursion.7 ай бұрын
I love your channel man even tho that " by no means you're not an expert on this topic" 😛😛
@SuboptimalEng7 ай бұрын
I appreciate that, thanks Recursion!
@BhargavaMan7 ай бұрын
This was great!
@martiananomaly7 ай бұрын
Interesting...
@4115steve8 ай бұрын
I want to see a fusion 360 or blender using wGPU and rust
@SuboptimalEng8 ай бұрын
That would be interesting! Hopefully open source too.
@cunty7 ай бұрын
super interested in the native applications. loved the video, i love hearing passionate people share their views on an extensively researched topic
@SuboptimalEng7 ай бұрын
Yep! I’m definitely interested in seeing what kind of native apps people make with WebGPU.
@IAmPattycakes7 ай бұрын
You seem to act like Vulkan doesn't run in multiple places. It's not for the browser, but it does run everywhere else. You don't actually need directx or metal.
@tempname82633 ай бұрын
How would it compare to BGFX though?
@SuboptimalEng3 ай бұрын
Never used BGFX so I can’t say.
@insertoyouroemail7 ай бұрын
wgpu provides a dll which you can use to easily bind in other languages. It's really nice API.
@zoltar31727 ай бұрын
Thank you, learned a lot!! Can you also do WebXR? I started to learn both, and to know if they could work together and add to each others strength. Logo's look similar, are they or will they eventually be the same? These two would be a dream team in XR future and userfriendly ness
@SuboptimalEng7 ай бұрын
WebGPU doesn’t support WebXR yet. I believe there is a proposal for it.
@Vvvv-oh6pe6 ай бұрын
Does it even run on pc with only cpu
@king_james_official4 ай бұрын
it's a wrapper... for your gpu
@_ash648 ай бұрын
Great video!
@boohoo54197 ай бұрын
this video is all over the place..
@SuboptimalEng7 ай бұрын
So is the graphics industry, until WebGPU 😉
@alexandrustefanmiron77237 ай бұрын
I think web is getting to be a very ineficient vm made out of many parts that have nothing to do with the final state and bogged down by decades of compatibility targets!
@bananesalee70867 ай бұрын
does it work with every XR headset or just vision pro ? I'm totally a nooob with those things
@SuboptimalEng7 ай бұрын
WebGL supports WebXR. So websites using WebGL + WebXR should work on headsets. WebGPU doesn’t not support WebXR yet.
@jtkyber7 ай бұрын
Nice video! Do you think its reasonable for me to try to learn 3d graphics/games programming with WebGPU if I only have experience with full stack web development, making a fairly complex JS ray casting game engine, and making a basic HTML/TS 2D Game? I don't really have any knowledge of 3D graphics programming concepts
@SuboptimalEng7 ай бұрын
I'm really not sure. I'd always recommend Three.js for those interested in 3D graphics on the web😅
@jtkyber7 ай бұрын
@@SuboptimalEng I'll definitely learn Three.js eventually. I just really like the idea of building a game from scratch, which is why I decided to build a relatively complex raycasting engine with vanilla JS not long ago. An actual basic 3D game engine definitely requires more specialized knowledge, but it also seems a lot less messy compared to a raycasting engine.
@PeakKissShot7 ай бұрын
On that last point nobody needs direct X. Now that the Xbox is dead hopefully dx will follow.
@greenhacker0com7 ай бұрын
I have been really excided when i first heard about it and thought it would be revolutionary for a lot of software but i feel like there havent been a lot of big projects(maybe exept figma) that use it.
@SuboptimalEng7 ай бұрын
Technically Figma started WebGL and still uses it heavily. I believe that WebGPU will enable engineers to port apps (that are more complex than 2D design tools like Figma) to the web.
@FumezCreates8 ай бұрын
Do you have a Discord Community ?
@SuboptimalEng8 ай бұрын
I’m more of a lurker on other peoples discord channels. I do use Twitter quite a bit though!
@FumezCreates8 ай бұрын
@@SuboptimalEng ohh...I'm not on Twitter. But I'm in a few Discord Servers. If you are active on Discord we could connect there. I'm planning to get into 3D Web Development and Graphics. I'm currently learning React and I plan to get into React Three Fiber and then ThreeJS and WebGPU later in the year.
@bubbakittee53882 ай бұрын
Good summary. But Dassault is pronounced “dasso”, not “dassalt”. It’s French.
@SuboptimalEng2 ай бұрын
Thanks for the tip, will remember for next time 🙏
@engchoontan84837 ай бұрын
I stopped at 4:32. Assumptions, TV-box, octaCore snap dragon expensive nor, runs webGPU, browser-plugin on mobile-phome runs webGL and user draw triangle using scalable-vector presentation-software as WYSIWYG rapid-program-development and convert scalable-vector graphics to game-engine API... I am retired and leaving the expensive for the in-the rat-race people. Just got an update to tech interfaces... Thanks.
@engchoontan84837 ай бұрын
Oh, and CAD-CAM circa 1992 with sticker plotter printer cutter 3D painting oops printing model with 2 roll bar and a laser drum and laser heating edge and powder and inkjet and scanner-calibration and camera-calibration... heads... Or something old-tech lumped together to aim heat and stick powder before-after ion drum... Small room...
@cold_ultra7 ай бұрын
What in the non euclidean fuck?
@SuboptimalEng7 ай бұрын
I thought I was the only one confused about this comment 😅
@engchoontan84837 ай бұрын
@@cold_ultra why you give a fuck.? Try - don't give a fuck.
@cold_ultra7 ай бұрын
@engchoontan8483 u good bro? You are giving off a few sings of having a stroke
@henrikfisch7 ай бұрын
An other generic "hot shit" supported by "high tech companies" which will abandon this for the next "hot shit" in roughly two seconds from now on. By the way the same "big tech companies" (who are big because of their money not because of their ideas) strongly go against an open Internet by introducing "hot shit" after "hot shit" again.
@Originalimoc7 ай бұрын
Yet another nice name. 😒😒😒😒
@someguy7827 ай бұрын
flormp
@DrakeStardragon7 ай бұрын
What is it? It's more of "you won't own anything, we'll let you use it under very controlled scenarios at very expensive prices because we buy all of it up so you can't."
@johola7 ай бұрын
Vulcan and Metal are based on AMD's Mantle... Thats why they are so similar 😂
@SuboptimalEng7 ай бұрын
I thought Metal was much easier to work with than Vulkan tho?
@syntaxed23 ай бұрын
IMO it is quite revolutionary, real crossplatform abstraction over modern GPU API'S.
@Dabid137 ай бұрын
I think at the end you forgot vulkan also works on Windows
@SuboptimalEng7 ай бұрын
True, missed that detail 🥲
@salsichalivre54017 ай бұрын
Every time you said “And for that reason”, I expected you to say “I m out”
@SuboptimalEng7 ай бұрын
Heh. I’m all in on the future of web graphics!
@jerbear79527 ай бұрын
Before you take his deal I want to talk to you about licensing
@oryxchannel7 ай бұрын
So freaking thorough and engaging. Amazing work on WebGPU. Have a couple of entrepreneurial ideas this night just by watching this. Thank you.
@SuboptimalEng7 ай бұрын
Thanks! It’s great to see more folks get excited about WebGPU.
@lasindunuwanga52927 ай бұрын
This makes me falling in love with game making again 🥲