Godot 4: Edge detection shader (tutorial) - Sobel operator and Gaussian blur

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 11

  • @joshhoffman7811
    @joshhoffman7811 9 місяців тому +1

    fantastic walkthrough. thank you!

  • @Hex_is
    @Hex_is 9 місяців тому +1

    Wow very cool thanks again for another great tutorial!

    • @FencerDevLog
      @FencerDevLog  9 місяців тому

      Thank you! 😎 I am glad you find it useful.

  • @Marina1983s
    @Marina1983s 9 місяців тому

    Happy New Year! 🎄

  • @JuJuR
    @JuJuR 6 місяців тому +1

    If I dont want the rgb and only one color like red for the outlines how would I change that?

    • @FencerDevLog
      @FencerDevLog  6 місяців тому +1

      You can try to multiply the final value with vec3(1.0, .0., 0.0) or filter out the green and blue components. It will probably need some tuning of the convolution function, though. This algorithm isn't primarily intended for outlining. I'll see if I can do another video on this topic.

    • @JuJuR
      @JuJuR 6 місяців тому +1

      @@FencerDevLog thank you very much

  • @EPICgamerGD
    @EPICgamerGD 9 місяців тому +1

    Sir can you make a tutorial about intersection shader with Godot visual shaders please

    • @FencerDevLog
      @FencerDevLog  9 місяців тому +1

      I am not sure what's meant by that. Can you give me an example?