Simple Day Night Cycle for 3D Open World Games

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

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

  • @Kyle-cg5ul
    @Kyle-cg5ul 11 месяцев назад +10

    As someone just starting from 0 info i am loving your videos! Wanting to make a banjo kazoooie style collectathon game and your tutorials are great, quick, to the point and easy to understand- my favorite unity tutorials so far without question

  • @CaineGlover-ee6nq
    @CaineGlover-ee6nq 11 месяцев назад +4

    Haven't even watched it yet and I'm already happy!

  • @davidtourangeau
    @davidtourangeau 11 месяцев назад +1

    So glad you're back making amazing tutorials! Thanks!

  • @pricemedlin5651
    @pricemedlin5651 11 месяцев назад +3

    Awesome tutorial!

  • @yaboidabid
    @yaboidabid 11 месяцев назад +1

    Amazing tutorial, as always!

  • @vevedngeved8614
    @vevedngeved8614 11 месяцев назад +1

    thank you so much for your work!! you're an inspiration to me! respect from INDONESIA!

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

    DUDE, you are making the same game as me! What gives??? (I'm following all of your tutorials, thank you

  • @cotirtaedy6842
    @cotirtaedy6842 11 месяцев назад +1

    Hello! Could you please show us how to interact with the environment? Like leaving a trail in grass behind you for a short duration, destroying trees etc. ? Thank you!

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

    Is there any way to stop looping the cycle, its constantly changing which is not realistic😪

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

    Awesome!!! Thanks man!!!

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

    This is greate!
    How can i add noon time of the to this shader graph?
    Iwant it to be day time than noon/afternoon time of day than night time.

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

    Dont know if your still active but tried following your underwater tutorial. did everything you said but didnt make it blurry. and was wondering how to make it a different color under water, and change the fog only underwater. been watching other videos and trying for hours but not working

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

      Changing the color should be easy, you just add a color grading to the post processing volume. If it isn’t working for you feel free to join the discord and I can help further.
      Changing fog while inside the water shouldn’t be too bad, just need to get a reference to the lighting settings at runtime. Depends exactly what you want though.

  • @ondrejjandos
    @ondrejjandos 10 месяцев назад +1

    How to make the sun/moon move on the sky?

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

    is there any way that i can control whether i need to be day or night using a script? like a script to control the skybox shader

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

      Yes, you can hook up the values from the shader to a script pretty easily, there are tutorials you can search on yt for how to do that =)

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

      Yes you can, the values that control night/day can be controlled via script by making them an exposed property. Plenty of tutorials u can look up on yt to control shader values using C#

  • @ThatLoserTyler
    @ThatLoserTyler 5 месяцев назад

    How can I control the brightness? My daytime skybox lights up like a nuke dropped when it's peak daytime.

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

    Is there a way to add 3 cycles, like day afternoon and night

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

      There is, instead of transitioning at 0.5 you could set two thresholds at 0.33 and 0.66 and specify a transition range where it blends between two skyboxes across that range of values. It might make sense to write a script for this behavior that controls these properties at some point rather than purely relying on shader graph though

  • @Zangir100
    @Zangir100 11 месяцев назад

    The tutorial is awesome! But i got an minor issue, the skybox is amazing in the editor but when I deploy it to my android the skybox changes to cubes with nothing in it... is the shader graph not compatible with android devices?

    • @spaderdabomb
      @spaderdabomb  11 месяцев назад

      That's interesting to hear, I never tried deploying to android. Does the build work if you just use the individual skyboxes instead of the shadergraph material?

    • @Zangir100
      @Zangir100 11 месяцев назад

      @@spaderdabomb Yes it does, without using the new material and only use the premade static ones, I get an "normal", nice skybox. By using the shader i get the skybox spliced into the cubes that creates the skybox..

    • @grandmasterskitz748
      @grandmasterskitz748 6 месяцев назад

      Hey, just curious, have you installed the URP correctly? In your assets folder you need to create > Render>URP>URP forward render. This should create 2 assets. (UniversalRenderPipelineAsset & Forward Renderer)
      Then you need to assign this inside Edit>Project settings >Graphics, you should see a field Scriptable Render Pipeline Settings. Insert the UniversalRenderPipelineAsset in the field to assign it.
      Also note, Edit>project settings>quality, you can assign the URPAsset into the low, medium, high, etc.. Render pipeline field.
      One last thing you can try is Edit>Render Pipeline >Universal Render Pipeline> Upgrade Project Materials to URP Materials.
      Hope it helps 😊

  • @peterjohnson806
    @peterjohnson806 8 месяцев назад

    Thanks for these tutorials. How do we make the environment go darker when it's night time ?

    • @spaderdabomb
      @spaderdabomb  8 месяцев назад +1

      If you want that it’s important that your environment materials are lit materials and receive light. Additionally, u gotta make sure your lighting source is set to the skybox. I’m hoping to make a more detailed version of this to show those types of things in the future :)

  • @zuzuappw
    @zuzuappw 8 месяцев назад

    Hey I have been having some troubles with unity i cant sign into unity at all please can you help?

    • @spaderdabomb
      @spaderdabomb  8 месяцев назад

      Did you create an account on their website?"

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

    I have a problem with the shader! My negate function doesnt work. It is just black. Pls help!
    Edit: I connected the boxes wront xd