A ULTIMATE Guide to LIGHTING in Godot

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

  • @tiborenyedi7001
    @tiborenyedi7001 16 дней назад +2

    Thank you for your thorough explanations about Godot.

    • @dev-worm
      @dev-worm  16 дней назад

      of course!! thanks for the kind words!! if you ever have any questions feel free to let me know!

  • @uhdpixels2
    @uhdpixels2 3 месяца назад +14

    Also an extra tip : you can add a normal map to your sprite so it can react to light more realistically

    • @dev-worm
      @dev-worm  3 месяца назад +3

      that is a very good tip!! I shouldve mentioned that in this video!

  • @toadley-b9l
    @toadley-b9l 3 месяца назад +4

    Thank you, this is the most helpful Godot 4 lighting tutorial I've seen!

    • @dev-worm
      @dev-worm  3 месяца назад +1

      I am so glad it was helpful!! thank you!

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

    Brooooo!!!
    This is my second time searching for something in godot and realizing that you just downloaded a video about it.🤣🤣🤣💙
    Sorry for my bad English it's not my language

    • @dev-worm
      @dev-worm  3 месяца назад +3

      the timing is so perfect lol!! I am just so glad I am able to help!

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

    Bro, u save us soo much time, also, can u make a video on the godot shader language or smthn, i think it would be very helpful for beginners to learn about all the functions and keywords, and besides, it wilk probly get u alot of views as noone else has a specific video about it, thank you

    • @dev-worm
      @dev-worm  3 месяца назад

      thank you for the idea!! I just noted it down and will look into creating something over it soon!! Thank you!

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

    You can also create an occlusion mask for tilemaps, so you can easily make your tiles to have an occluder.

    • @dev-worm
      @dev-worm  3 месяца назад +1

      that is a goodpoint that I forgot to mention! thanks for pointing that out!

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

    This is amazing! I really needed this!

    • @dev-worm
      @dev-worm  3 месяца назад

      I hope it helped!!

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

    You are the best godot youtuber

    • @dev-worm
      @dev-worm  2 месяца назад +1

      aw thank you so much that means the world!

  • @AverageNeovimEnjoyer
    @AverageNeovimEnjoyer 3 месяца назад +1

    Yo! Great work!

    • @dev-worm
      @dev-worm  3 месяца назад

      thank you!! i appreciate it!

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

    love your tutorials!

    • @dev-worm
      @dev-worm  3 месяца назад

      thank you so much!! it means the world to me!! I am so glad you like them and I hope you can find value within them!!

  • @Hello-cq6re
    @Hello-cq6re 3 месяца назад

    Amazing tutorial

    • @dev-worm
      @dev-worm  3 месяца назад

      thank you so much! I am so happy to hear that and I am so glad it was able to help!

  • @MagdySanad-ed8hi
    @MagdySanad-ed8hi 3 месяца назад

    Great Tutorial Thank You, I have a project and I made an auto load script that has functions and these functions have parameters why does the parameters (hints) doesn't show when I try to call the function from other script

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

    a lot of art styles rely on fighting against - or defying - the tendencies of the computer program, for example to make more lively music and animation.
    for example in my cute game, the lighting will be done with masking:
    every sprite has 2 variants: dimly lit on one render layer and fully lit on another. to achieve light, the light source adds a white shape to the mask (on its own render layer, making 3 render layers in total) that determines which parts of the fully lit render layer are visible instead of the dimly lit render layer.
    in my desired style, no light is blocked by walls because the light passing through all obstacles looks cute.
    if i decide that there should be a few darker levels where light gets blocked by walls, it's different and more creepy and it would not feel so intense if it was the default.

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

    Hi devworm, great video! I was wondering if u can do another save tutorial, this time about saving the current scene (the one u save in) as the one that the game starts on instead of the main scene.

    • @dev-worm
      @dev-worm  3 месяца назад +1

      yes ill look into a new save tutorial!! thank you for the idea!

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

      @@dev-worm Thank you for making these tutorials!!!

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

    Hey!
    Really nice tutorial!
    One question, does it make sense to make the light ocluders part of each "object" in the game? Like we would do with coliders. Instead of having those in a separate node.
    Thanks again for the tutorial!

    • @dev-worm
      @dev-worm  3 месяца назад +1

      yes it would make much more sense to do it that way! I only did it this way in the tutorial to kinda keep everything separate so it was easier to see what we were doing visually for the tutorial sake if that makes sense!

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

      Thank you!

  • @KNIGHT-6
    @KNIGHT-6 3 месяца назад

    I am new to making games. Using Godot 4 on mobile. I watched some tutorials but I dunno if maybe you could make a tutorial about how to make a 2d mobile game with touchscreen buttons

    • @dev-worm
      @dev-worm  3 месяца назад

      im actually working on a mobile control tutorial right now!

    • @KNIGHT-6
      @KNIGHT-6 3 месяца назад

      @@dev-worm That's great man. Maybe I could also watch your tutorial soon once its released. Imma sub to you

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

    Can you make a tutorial about glow?

    • @dev-worm
      @dev-worm  2 месяца назад

      what are you looking to learn about glow? i briefly covered the glow effect in this video!

  • @tik2243
    @tik2243 3 месяца назад +1

    Can't you click on the sprite node and then create an occluder for that node by clicking something where the anchor point settings for control nodes would be?
    I think you can also create collision polygons for sprites that way

    • @dev-worm
      @dev-worm  3 месяца назад +2

      really?? Im going to look into this right now!! you learn something new everyday!! Thank you so much for letting me know!

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

      Yeah, I think you can. But obviously it works best for a singular sprite. If you have multiple sprites close to each other then making occluder for each is probably not the best way to do it

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

    👍

  • @BookerDeWitt1
    @BookerDeWitt1 3 месяца назад +1

    So I just don't see the light and texture, I just see a big orange outlined square with nothing in it. What do I do? *For the PointLight2D* around 9:00, and it's enabled. And the directional light doesn't show up either... I'm really bad I think

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

      did you add the texture?

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

      @@Dr4w. yeah

    • @dansounddesigner5140
      @dansounddesigner5140 3 месяца назад +1

      You're likely missing the color rect. If you don't have a colored background (even if it's grey), the light won't be displayed.

  • @rore_8009
    @rore_8009 3 месяца назад +1

    tutorial 3D in godot please

    • @dev-worm
      @dev-worm  3 месяца назад

      I dont really use 3d but I want to start playing with it soon!

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

    Can somone help in how to code a enemy that shoots at player from a fixed distance in 2d

    • @dev-worm
      @dev-worm  3 месяца назад

      i’ll work on something soon for this!

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

      @@dev-worm thanks a lot.

  • @shadowflame3620
    @shadowflame3620 3 месяца назад +1

    First

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

    Seems about *R*ight

  • @Gman.218
    @Gman.218 3 месяца назад

    You say: right? Wayyy too much its kinda annoying but still i love these videos because they are so good

    • @dev-worm
      @dev-worm  3 месяца назад

      ah i’m sorry!! i’ll try and stop saying it so much!! i’m glad you like these type of videos!! i hope they are helpful!

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

    Change the thumbnail it's too bad bro 😶

    • @dev-worm
      @dev-worm  3 месяца назад +3

      working in a new one right now thank you

    • @Courage_the_Cowordly_Dog
      @Courage_the_Cowordly_Dog 3 месяца назад +1

      If thumbnail is too bad , then why people are clicking??
      It's A good Thumbnail for me!!

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

      @@Courage_the_Cowordly_Dog lol I think you never saw the old thumbnail then 🤣🤣🤣

    • @neer2415
      @neer2415 3 месяца назад +1

      ​@@Courage_the_Cowordly_Dogthe thumbnail is changed dude
      And this one kinda looks good

    • @neptun3189
      @neptun3189 3 месяца назад +1

      Fuck I kinda wanna see it now