Sky Shaders in Godot 4.0 | What You Should Know

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

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

  • @stayathomedev
    @stayathomedev  ปีที่แล้ว +7

    Who's ready to jump into some more shaders?
    💛 Get GodotSky - A Dynamic Sky System for the Godot Engine
    stayathomedev.com/product/dynamic-sky-system/?
    📣 Twitter - twitter.com/StayAtHomeDev
    🎮 Discord Server - discord.gg/dmYbvFYQRQ

  • @clankfish
    @clankfish ปีที่แล้ว +25

    i was just thinking about godot and how to do skyboxes/shaders and then i see this video uploaded 3 minutes ago, spooky!

    • @stayathomedev
      @stayathomedev  ปีที่แล้ว +8

      3 minutes off! Dang! Almost

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

      Stayathomedev reads our minds 😱

  • @Weahl
    @Weahl ปีที่แล้ว +9

    Discovering your channel was a surprise, thanks for the great content!

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

    I'll be honest, I had no idea about any of this, I was just looking to get a simple skybox working, but you've revealed to me the wonderful world of sky shaders. You've definitely made my games look a lot more interesting now, thank you

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

    Mega useful video as always mate!

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

    When editing the shader code, no changes seem to take effect until I launch the game. Any suggestions? Great video btw

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

      I restarted the editor and it workeddhuh

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

      Thanks, more sky stuff coming soon

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

      That part of the video doesnt work at all for me... i apply his code but my sky isnt blue nor does any changes happen... just blackness.... kinda annoyed at all these tutorials but the user doesnt really explain anything.

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

    this video is so clean good job !

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

    Very cool as always.

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

    cant wait to make a game where you get a better tan depending on the part of the world you are xD, jokes aside great explanation this is super useful!

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

    how can i create the sky image? is a panoramic ldr? which are the measures?

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

      2:1 ratio. Typical HDRI images should work

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

    I dunno if this is the right place to ask, but do you have any or plans on making a tutorial for - or pointers for - a Tilebased RTS, kind of like Fire Emblem or Advance Wars in 3D?

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

      Definitely could...There will be a hexgrid tutorial coming soon that might help.

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

    is the source code for your cool sky available anywhere?

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

      There is actually a full asset package coming very soon for the entire sky system!

  • @jzenism
    @jzenism ปีที่แล้ว +7

    trying to follow along but your moving way to fast and not explain some of the stuff your doing... such as the part where you turn the sky blue... your code doesnt make it blue nor do you select a color blue... it just magically turns blue? what gives?... i just cant follow along now, as while yours looks fine with a slight blue sky mine is dark black and i cant even see the floor.... "You can add a color to the sky using a vector with this code here"... (magically turns sky blue)... meanwhile people trying to follow this sky isnt blue its black and that line of code doesnt do anyhting, please explaiN.

    • @leegaul2161
      @leegaul2161 ปีที่แล้ว +11

      He never showed where he set the color.
      Starting at 0:54 seconds where he sets Background to Mode 'Sky.'
      Then he moves down right below Background to the Sky section, and selects 'New Sky.' On that same spot the term 'Sky' appears. (Yes, Godot likes to use the same word for everything.)
      He clicks on 'Sky' and then he is able to select Sky Material as 'NewShaderMaterial' which is replaced by the white ball. Click on THAT white ball, which shows where he clicks on Shader option 'NewShader' in which he saves the shader named Skyshader.
      Before moving forward notice how the new named shader is under Sky Material and has a sub-option 'Resource.' When you click on the new shader it brings up the shader code on the bottom. That's where you fill out the information.
      When you write in "uniform vec3 skyColor : source_color;" Now look BACK to the Shader Material on the right side. A new option called 'Shader Parameters' has appeared. Click on it and an option named after skyColor is there, and you can click the color and set it. Then go back and finish writing the COLOR = skyColor in the void sky() method.

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

      Did this verbatim and still no sky just black@@leegaul2161

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

      Literally as i typed this... the energy multiplier had a reset arrow when i clicked that it turned blue!

    • @HurricaneSA
      @HurricaneSA 11 หลายเดือนก่อน

      @@leegaul2161 Thank you for this.

    • @cafertopcu3786
      @cafertopcu3786 10 หลายเดือนก่อน

      @@leegaul2161 I shall not forget thy help

  • @Shawn-cq7qy
    @Shawn-cq7qy ปีที่แล้ว

    Hi can you make a video on how to make a coin 3d please it will be good for others games❤

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

    As a new game developer, I found shader is really powerful and hard to learn, I wish somebody could make some tutorials from scratch, like 2d water/ fire.

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

      For 2D games or 2D effects in 3D?

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

      ​@@stayathomedev Thanks for your reply! I think 2D is more friendly to beginners.

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

    Nice

  • @BigEraser42
    @BigEraser42 5 หลายเดือนก่อน +1

    Do u like Chicken Tikka Masala?

  • @gollasso6007
    @gollasso6007 3 หลายเดือนก่อน +1

    Left out a lot of necessary details

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

    Use visual shader please!

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

      Definitely something to look at!

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

    shame that asset store does not support paypal

  • @GeneralChrisGaming
    @GeneralChrisGaming 7 หลายเดือนก่อน +1

    Far to much detail being left out for what is many is assuming is a sky shader tutorial for godot 4. I find myself saying how and what u did to get to what you are referencing which is simply going to do more damage to the new people who want to learn or pick up sky shaders. There isnt enough resources for godot to assume people are going to know what your doing especially as godot rapidly grows in popularity. Maybe this is a advance shader tutorial but if isnt labels you cant defend this. I am disappointed and I have some experience with shaders

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

    Hi, I bought you godot sky and having some issues. Sadly I cannot join your discord. The link is not working. How can I contact you?

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

      Sure, send an email to contact@stayathomedev.com