How to use Godot's built-in Toon Shader | Game Dev Tutorial 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 40

  • @alzzaMain
    @alzzaMain 6 หลายเดือนก่อน +1

    Always thought godot toon shader is imperfect.. and now that I watched your video, it just hasn't been used right! Thank you so much!

  • @Crisisdarkness
    @Crisisdarkness 5 ปีที่แล้ว +18

    Wow, you are a very cool guy, your content is extremely useful and you are an excellent instructor, I feel that a great future awaits your channel, thanks for everything, I will be very attentive to your next lessons

  • @gmjin6452
    @gmjin6452 3 ปีที่แล้ว +5

    damn
    this looks fantastic and the fact that you put it open to the public is unfathomable!!
    Thank you for being so awesome!
    do you have a Ko-fi or a donation page?
    Edit:
    oh nvm just watched a recent vid and found it😁

  • @atikahrostam5778
    @atikahrostam5778 4 ปีที่แล้ว

    this channel is a gem! you are like Godot's version of Brackeys

  • @sandakureva
    @sandakureva ปีที่แล้ว

    Thanks, Dave. This is exactly what I was looking for.

  • @netherlabgames7511
    @netherlabgames7511 5 ปีที่แล้ว +1

    Great stuff dude! Looking forward to working through the next videos!

  • @LeCleverName
    @LeCleverName 3 ปีที่แล้ว

    You have definitely succeeded in showing me something awesome.

  • @sistemafuturo
    @sistemafuturo 5 ปีที่แล้ว

    Thank you so much! Looking forward for more tutorials, you have a nice pace and insights!

  • @nategreyson6014
    @nategreyson6014 4 ปีที่แล้ว

    dude thaaaaank you! your tutorials are amazing

  • @jasperbrooks2118
    @jasperbrooks2118 5 ปีที่แล้ว +2

    You're a hero, Well done

  • @charlieandyteranveizaga8971
    @charlieandyteranveizaga8971 5 ปีที่แล้ว +2

    muchas gracias buen hombre le diste solucion a un gran problema q tenia

    • @DavetheDev
      @DavetheDev  5 ปีที่แล้ว

      I'm glad I could help. :)

  • @DestusG
    @DestusG 2 ปีที่แล้ว

    Thanks for this man

  • @vikingzeppelin
    @vikingzeppelin 2 ปีที่แล้ว

    I subbed. And hit the bell

  • @wongwong5819
    @wongwong5819 5 ปีที่แล้ว +1

    thanks!

  • @FrancoisSchnell
    @FrancoisSchnell 5 ปีที่แล้ว +2

    Great, also what Linux distribution is this?

    • @DavetheDev
      @DavetheDev  5 ปีที่แล้ว +4

      Arch Linux, with the MATE Desktop Environment.

  • @yourkodi3945
    @yourkodi3945 3 ปีที่แล้ว

    how would you rotate the shader?

  • @cholasimmons
    @cholasimmons 4 ปีที่แล้ว

    Have you checked your custom shader's performance impact? would it cripple a mobile platform or is it good to go 😎

    • @DavetheDev
      @DavetheDev  4 ปีที่แล้ว +1

      I haven't done any performance checking, but it's a simple shader. I don't think there would be issues on a mobile device, at least with respect to performance.

    • @cholasimmons
      @cholasimmons 4 ปีที่แล้ว

      @@DavetheDev thanks for the prompt response, just had a look at your demo scene, it looks way better than your video, I see you improved on it.
      Thanks so much for sharing man.

  • @fire7side
    @fire7side 5 ปีที่แล้ว +3

    The built in shader doesn't do lines then?

    • @DavetheDev
      @DavetheDev  5 ปีที่แล้ว +2

      I'll be showing how to make an outline in the next tutorial. But, to give a quick reply, you can chain two materials together one after another using the "next pass" property. The first material shades the sphere while the second extends the the object's vertices along the normal vectors and switches culling mode to back facing. In plainer English, the second material renders a second copy of the object that's a little bigger than the first and turns it inside out making an outline. If that doesn't make sense, don't worry, the next tutorial will be out very soon. Its a concept that's easier to understand when you see it and it's kinda cool.

  • @Jkunable
    @Jkunable 5 ปีที่แล้ว +1

    How did you learn to write shaders?

    • @DavetheDev
      @DavetheDev  5 ปีที่แล้ว +4

      A while ago I made my own simple game engine to teach myself how to make games. I had to learn OpenGL and along with it the GLSL shading language. I got into it pretty hardcore and learned from books like these...
      people.inf.elte.hu/plisaai/pdf/David%20Wolff%20-%20OpenGL%204.0%20Shading%20Language%20Cookbook%20(2).pdf
      www.amazon.com/OpenGL-Superbible-Comprehensive-Tutorial-Reference/dp/0672337479
      But to begin you can also take a look at these...
      thebookofshaders.com/
      docs.godotengine.org/en/3.1/tutorials/shading/index.html
      www.shadertoy.com/
      Hope there's something useful in there. Good luck! ^_^

  • @AgriasOaks99
    @AgriasOaks99 4 ปีที่แล้ว

    Excuse me, Mr David
    But when I did that grow thing the outline seemed to shatter?
    Did I do something wrong? I put 0.5

    • @DavetheDev
      @DavetheDev  4 ปีที่แล้ว +1

      It depends on the shape of the object. If your object is smooth, the outline will work okay, but if your object has a lot of sharp corners, it might not look so good, especially with a value of 0.5. I try to keep the value as low as possible to avoid yucky artifacts. If you're having some problems due to the shape of your object, you may want to use "The Inverted Hull Method" in blender, because it gives you a lot more control over the outline shape. There are lots of videos about it on TH-cam. Hope that helps a bit. ^_^

    • @AgriasOaks99
      @AgriasOaks99 4 ปีที่แล้ว

      @@DavetheDev I see...
      Thank you, Sir
      Still expecting more godot video btw 😃

  • @alex135t
    @alex135t ปีที่แล้ว

    LINUX???

  • @Lucas-gg9yb
    @Lucas-gg9yb 4 ปีที่แล้ว

    It is possible to make the line of the toon like Tower of god style?

    • @DavetheDev
      @DavetheDev  4 ปีที่แล้ว +2

      Yes, it is possible, but not with algorithmic generated outlines alone. You'd have to manually manipulate the model's inverted hull, normals, and textures. Watching the GultyGear's Art Style GDC talk will start you down the right path: th-cam.com/video/yhGjCzxJV3E/w-d-xo.html

  • @jasperbrooks2118
    @jasperbrooks2118 5 ปีที่แล้ว

    I'm making a game in Visual Script, but I really need help . . Can you make a tutorial series, on how to use Visual scripting good, to do amazing stuff . . .

    • @DavetheDev
      @DavetheDev  5 ปีที่แล้ว +1

      Hi Jasper. Thanks for your kind comments. As for visual scripting, to be honest, you probably already know more about it than I do. It took me about a minute just now to remember how to make a VS file. lol While I think the idea of visual scripting is kinda cool, I've never gotten into it myself because I've been okay with regular scripts and because I like keeping my hands on the keyboard as often as possible. But, I'm legit curious to know your reasons for using Visual Scripting. If you don't mind, let me know. ^_^

    • @jasperbrooks2118
      @jasperbrooks2118 5 ปีที่แล้ว

      @@DavetheDev Well, code scares me, a lot . . When I see a tutorial, it takes 30 seconds, and they write complex stuff, I have no idea what means . . I'm an artist-type and, I wanted to start there, and gradually learn the name of functions, so on, and master code, over time . . As an entry point for very new users, and code-phobics, it's really nice . . I have some videos on my channel, about some stuff I've done in it, like controlling character, setting animations to key-presses, and so, so I got a little game, made in like 30 minutes, but it's noob . . .

    • @jasperbrooks2118
      @jasperbrooks2118 5 ปีที่แล้ว

      @@DavetheDev I made this using visual script, code scares me, confuses me . .
      th-cam.com/video/ys4Ld7x4rsc/w-d-xo.html 1 minute video . . .

    • @jasperbrooks2118
      @jasperbrooks2118 5 ปีที่แล้ว

      I need to do it this way, or my games never get done, or made . . . I fail, at code . .

    • @DavetheDev
      @DavetheDev  5 ปีที่แล้ว

      @@jasperbrooks2118 Cool, keep at it. I'm sure there are lots of people who are intimated by code. I've been doing it for so long that I don't really think about it anymore, so it's interesting to see things from a different perspective. Thanks. Keep on doing what you love, but if it helps, code isn't really designed to be scary. It's just a tool, made by Humans, for Humans. It can be your best friend if you take the time to learn about it, little by little.

  • @GPMTT
    @GPMTT 3 ปีที่แล้ว +1

    804th