What's in a wgsl fragment shader? ft Bevy

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024
  • Learn Rust at www.rustadvent...
    GitHub: github.com/rus...
    mesh.wgsl: github.com/bev...
    Twitter: / rustadventure
    Twitter: / chrisbiscardi

Комментарии • 6

  • @emionyt
    @emionyt 2 года назад +10

    Hey Chris,
    thank you for this video, it really will help a lot of people understand the (currently poorly taught) shaders of bevy!
    As suggestion I'd recommend doing a "semi" complicated case soon. Something like a water shader (maybe with reflection) or a shader imitating some kind of stonefloor as there is a lag of intermediate examples currently. Thank you for the good work regardless and have a nice day! :)

    • @chrisbiscardi
      @chrisbiscardi  2 года назад +2

      I'm working on some pbr examples currently (some even sampling quixel megascans), so expect to see videos on those soon. Water (and particles) are something I want for the 2d platformer example, so those will come around eventually as well!

  • @jamstoast
    @jamstoast 13 дней назад

    are there any examples of showing multiple shaders being used on multiple instances of a mesh in the same scene?

    • @chrisbiscardi
      @chrisbiscardi  13 дней назад

      There are automatic and custom instancing examples in the bevy repo in the shaders folder
      github.com/bevyengine/bevy/tree/main/examples/shader

  • @diegocamilopenaramirez6101
    @diegocamilopenaramirez6101 2 года назад

    SO what about Vertex Shaders?

    • @chrisbiscardi
      @chrisbiscardi  2 года назад +1

      went out this morning -- ruclips.net/video/85uJc81SQZ4/видео.html