WebGPU Game Part 1 - Setup WebGPU

Sdílet
Vložit
  • čas přidán 6. 07. 2023
  • Part 1 of tutorial on WebGPU where goal is to create a game using new WebGPU API.
    Github Code
    github.com/luka712/youtube_se...
    #opengl #webgl #gpu #webgpu #typescript #graphics

Komentáře • 14

  • @yolamontalvan9502
    @yolamontalvan9502 Před 8 měsíci +2

    First time I heard of WebGPU. Thank you for showing us.

  • @c0nsumption
    @c0nsumption Před 8 měsíci

    Excited. Going to be starting this today 🙏🏽

  • @weeb3277
    @weeb3277 Před 4 měsíci +2

    whenever you get a warning in vscode, you can just hover your mouse cursor over an underlined variable to see what the issue is

  • @Doppio_00
    @Doppio_00 Před 11 měsíci

    WEB GPU is the future!!!

  • @IrvingWash
    @IrvingWash Před 6 měsíci

    This is gold

  • @Doppio_00
    @Doppio_00 Před 11 měsíci

    Are we really teaching a course on making games with WEB GPU?
    I hope it lasts to completion, please.
    Thank you so much for starting this course.
    What kind of game are we making?
    Do you use WASM as well? How do you use shaders?
    I'm looking forward to everything.

    • @3Angle_
      @3Angle_  Před 11 měsíci +6

      Yes, it should be done to completion.
      I was thinking 2d space shooter kind of game as it will provide all the building blocks for further games.
      My goal is to have following by end of tutorials:
      - efficient rendering of sprites ( sprite batching )
      - efficient rendering of fonts ( probably just as bitmap )
      - post processing effects
      So in summary, goal would be to have efficient 2d renderer for making 2d kind of games.
      But I won't touch too much some stuff, like physics, since it kinda falls outside of scope of WebGPU.
      Wasm is already covered in part2 ! Be sure to check it out.
      Many thanks for comment

  • @thavrisco1632
    @thavrisco1632 Před 10 měsíci +4

    I never knew you needed so little config to use something like WebGPU. Vulkan is dead. Metal is dead. OpenGL ES 2.0 was already dead. WebGPU lives.

    • @mustaghees.b
      @mustaghees.b Před 10 měsíci +3

      WebGPU uses all those dead tech you mentioned (except OpenGL I guess) xD

  • @pixelusion2311
    @pixelusion2311 Před 4 dny

    Is it possible to use WebGPU without webpack and node.js stuff? Just pure WebGPU and browser?

    • @3Angle_
      @3Angle_  Před 4 dny

      Sure , it is. I just used this setup to have strong types.

  • @bubu88134
    @bubu88134 Před 7 měsíci

    Do you know an alternative for 2d, maybe some engine that is not as hard?

    • @3Angle_
      @3Angle_  Před 7 měsíci

      yes sure, for Typescript/Javascript you can check Phaser.js. It's really nice engine for web game development. If you're looking at web. For desktop there is really a lot.

  • @blfunex
    @blfunex Před 9 měsíci

    border: 1px solid;