Godot 4 Simple Outline Shader

Поделиться
HTML-код
  • Опубликовано: 2 апр 2024
  • Quick tutorial on how to make an outline shader in Godot 4!
    Original shader code by LopkaUna:
    godotshaders.com/shader/clean...
  • НаукаНаука

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

  • @mrtomithy
    @mrtomithy 4 месяца назад +48

    today i learned that i know nothing about shaders

    • @shirotonbo6315
      @shirotonbo6315 3 месяца назад +5

      I learned that too and also learned how to steal them lol

  • @abject_ladder
    @abject_ladder 3 месяца назад +13

    Hi. Thanks for the tutorial. The outline doesn't seem to render over the top of any objects that are behind the outlined object - is there a workaround for this?

  • @stripes4591
    @stripes4591 4 месяца назад +9

    i have no idea how any of this works, but i still enjoyed the vid

  • @redalchemy7322
    @redalchemy7322 4 месяца назад +5

    Ooo this is cool!
    Seems pretty modular too since you can put it on anything with the "Next Pass" material.
    Also, thanks for sharing the Godot shaders website. Definitely going to be coming back there for some cool visual effects.

  • @landozr2443
    @landozr2443 4 месяца назад

    Great tutorial gwizz!

  • @queblegamedevelopment4143
    @queblegamedevelopment4143 4 месяца назад +1

    Thank you for your free content!
    Much love from Bangladesh 🙏🏼🙏🏼🙏🏼

  • @NexusBaum
    @NexusBaum 4 месяца назад

    So much mega great practical useful thing in just 5 minutes!

  • @ghilsh4569
    @ghilsh4569 3 месяца назад +8

    this looks great the but the outline only renders where there are no other nodes behind it. do you know how it could be tweaked to address this?

    • @jackoubridge
      @jackoubridge 2 месяца назад +3

      I'm having the same issue. I've tried playing with render priority and moving my nodes around the tree, but the outline will always be drawn behind other nodes. Have you found a fix for this?

    • @Cr4y7-AegisInquisitor
      @Cr4y7-AegisInquisitor Месяц назад

      @@jackoubridge Let me know 👀

    • @kokostyuba7586
      @kokostyuba7586 25 дней назад

      having the same issue here

  • @HatycokeDev
    @HatycokeDev 4 месяца назад

    This is a great idea to enter to the shaders tutorial, is very hard even in the visual script XD

  • @Neelonmusk
    @Neelonmusk 4 месяца назад

    Can you make a tutorial on how to create a skin section. Where you can choose which player you want to play as (change the skin of the main character) in 2d

  • @grfx1336
    @grfx1336 3 месяца назад

    For some reason my outlined object turns black when running the game even though it looks fine in the editor. Anyone knows how I may fix that?

  • @paralaxa
    @paralaxa 4 месяца назад

    it will work when I use it on a `3d` Billboard sprite?

  • @AsatteGames
    @AsatteGames 4 месяца назад

    Can this be applied to 2D scenes?

  • @Brekfestus
    @Brekfestus 3 дня назад

    How can I make the outline not stay the same and have a fixed size which is visible however far you are from the object? Right now the outline size stays the same no matter how far I am, and that is not what I want.

  • @JonestarkXYZ
    @JonestarkXYZ Месяц назад +1

    Lo intente en godot 4.2.2, en modo de compatibilidad. La previsualización del material sale la esfera con el "Outline" pero cuando agrego ese material a algún objeto "mesh3D" no salen. Que hay que hacer ?

    • @Gwizz1027
      @Gwizz1027  Месяц назад

      disable compatibility mode

  • @Pumpkyn_I
    @Pumpkyn_I 4 месяца назад +3

    Does this method work for 3D models exported to godot?

  • @reddyplayz4618
    @reddyplayz4618 2 дня назад

    the website doesnt work anymore could you paste the code here?
    Dont worry, turned on a vpn and it worked

  • @WeirdWimp
    @WeirdWimp 4 месяца назад

    Next could you make a online proximity chat tutorial?

  • @BEExPyro
    @BEExPyro 4 месяца назад

    Can you change a color of a 3D cube with gdscript?

    • @Gwizz1027
      @Gwizz1027  4 месяца назад

      ya

    • @ziggyzoggin
      @ziggyzoggin 2 месяца назад

      yes, "material.albedo_color = [Color you want]". You need to have a material on the cube first though, otherwise there's not material to change.

  • @Thisisdcode
    @Thisisdcode 4 месяца назад

    i somehow need this righ notw wow

  • @rogelioayus
    @rogelioayus 4 месяца назад +2

    It seems shader is a separate discussion that you are unable to understand or told us what things work hahaha

  • @benlefler6304
    @benlefler6304 4 месяца назад

    10!!!

  • @MisterBones223
    @MisterBones223 4 месяца назад +3

    Sticking out your GYATT for the Gwizzler

  • @jasonwilliams8730
    @jasonwilliams8730 4 месяца назад

    👍

  • @CopyCatBlack
    @CopyCatBlack 3 месяца назад

    I hope they make the game engine more easier for the beginners.
    I see potential on godot but it is not good for beginner 😢😢😢

    • @ziggyzoggin
      @ziggyzoggin 2 месяца назад

      What the heck are you on about? Godot is very beginner friendly. *Unity* is the super confusing one. Guessing by the way you type and your emoji usage, I suggest you start with Scratch to get a better feel for game development before using something like Godot.

    • @CopyCatBlack
      @CopyCatBlack 2 месяца назад

      @@ziggyzoggin i am trying to understand gdscript for about a year, I still get problem and bugs need to solve which I cant find if there was a visual script or block of code
      What I mean is make a game without code
      Now I am seeing is that you can create custom shader with code.
      I just hope if some one kind enough to make a tool in which we can make a game without code thankQ.

    • @ziggyzoggin
      @ziggyzoggin 2 месяца назад

      @@CopyCatBlack Godot 3.x has a visual editor, never used it though since code is easy enough

    • @ziggyzoggin
      @ziggyzoggin 2 месяца назад

      @@CopyCatBlack Godot 3.x has a visual code editor, never used it though since code is easy enough

    • @o.kheir24
      @o.kheir24 2 месяца назад +2

      @@CopyCatBlack Keep going, you'll find it hard at first but coding is way better than visual scripting especially if you know what you are doing. Visual scripting causes a lot of bugs and performance issues. Just focus on getting better at coding in general not just in GDscript. I recommend you start learning basic OOP stuff (object oriented programming) since almost everything revolves around that.