Open World Environment Lighting In Godot 3 Tutorial

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 100

  • @TokisanGames
    @TokisanGames  5 років тому +52

    Join my discord for updates on my current game, Out of the Ashes:
    tokisan.com/discord
    See pics and details here:
    tokisan.com/out-of-the-ashes/

  • @ariansun4879
    @ariansun4879 5 років тому +69

    This tutorial was amazing. I loved how dense yet consumable it was. I always appreciate when an engine specific tutorial also teaches general concepts of the current topic - as lighting here. One of the best tutorials I have seen yet

    • @TokisanGames
      @TokisanGames  5 років тому +2

      Thank you so much for the feedback.

  • @Shazzner
    @Shazzner 4 роки тому +12

    This is one of the best Godot tutorials I've seen.

  • @robotrumble2_0
    @robotrumble2_0 Рік тому +2

    Great tutorial. I'm new to Godot and just made the recommended changes to the scene lighting using a procedural sky. They made a huge difference with the colors. The colors pop now, and the meshes now have a much more satisfying silhouette. I wish I could show screenshots before and after the changes. Thank you Tokisan!

  • @chiligoat5542
    @chiligoat5542 2 роки тому +2

    As relevant today as it was two years ago, an excellent, informative tutorial that takes its time and offers multiple solutions. Cheers!

    • @boerbol9422
      @boerbol9422 2 роки тому

      Thanks for letting us know this is still relevant info.

  • @general3978
    @general3978 5 років тому +3

    Awesome in depth tutorial, this should be a must watch for those reading the 3d docs!

  •  3 роки тому +2

    the thing really cool to complete this is the shadows by the clouds covering the sun :)

  • @thomasmaier7053
    @thomasmaier7053 5 років тому +5

    Nice one, love the open source focus, totally hits my needs square on the money. Great video! Also the preview of what we are about to learn before doing it helps a lot with understanding "why" we do the steps that follow. Definatly keep that!

  • @RaymondHulha
    @RaymondHulha 3 роки тому +1

    This video totally blew my mind... Very very well done and explained! Thank you Tokisan!

  • @plyczkowski
    @plyczkowski 5 років тому +9

    In 16:43 you wonder why lighting up the ground lights up the side and bottom faces of the cube: this works the same as it would in a hdr. The whole procedural sky contributes to the environment lighting.

    • @TokisanGames
      @TokisanGames  5 років тому +2

      Got it. I rotated my cube and played with it some more. Now I understand. Thanks for explaining.

  • @maxwellclarke1862
    @maxwellclarke1862 4 роки тому +5

    Wow, this is an absolutely amazing tutorial!

  • @JOELwindows7
    @JOELwindows7 4 роки тому +1

    Adjusted World Environment & Lighting in Godot
    This is your daily dose of Recommendation

  • @AdimasDuvitra
    @AdimasDuvitra 4 роки тому +1

    You're genius. Pure meat and one of the best tutorial out there.

  • @MapOfCydonia
    @MapOfCydonia Рік тому

    This is excellent, thank you so much. There is so much non-obvious information in this video.

  • @zm7160
    @zm7160 2 роки тому +1

    my god yes to so much of this.
    Especially the mirrored sky image.
    I wish Godot would ship with some nicer defaults.

  • @polygonalcube
    @polygonalcube Рік тому +2

    It'd be interesting to see an updated version of this for Godot 4.

  • @Konchunas
    @Konchunas 4 роки тому +1

    It is nice to have people with such an expertise in the community. Thank you!
    I would appreciate you making similar tutorial for the night time.

  • @n30hrtgdv
    @n30hrtgdv 4 роки тому +18

    I've been learning godot and blender during the pandemic and this video covers a VERY understimated part of gamedev: Making the actual game look good.

  • @BluePhoenixGames1
    @BluePhoenixGames1 2 роки тому

    thank you for sharing! I never would have thought of this before but now I will defenitely keep this in mind

  • @Tokamak_9
    @Tokamak_9 5 років тому +2

    Yes, indeed, much better than the default blue sky. We need to understend better all the settings that this engine has to offer. And they are plenty!

  • @Klayperson
    @Klayperson 4 роки тому

    Knowledgeable tutorial on an important subject. Delivery was thorough and efficient. Subscribed

  • @grittynerd
    @grittynerd 5 років тому +3

    About the procedural sky default settings, i think that the main issue is that there's less contrast and gradient variation compared to what you can see in other engines or just by looking at similar generated lighting on the internet. In Godot you have most white part in the horizon and sun but still the first is a very tiny (vertically) portion that very soon fades in the sky light blue, same with the sun. It's like all the white is basically distributed all over the sky itself, very "blurred". Not surprised that everything fades in the faint bluish overall color.
    Just checking on Google Image usually you see procedural skies with a lighter color in the horizon within around 10-20% of the vertical space of the dome (white or dawn tints), usually still fading to a medium tint of the main blue used for the sky to around half of the vertical space, then the upper part is basically the more or less darker or samey blue gradient. In other cases i think the clouds themselves provide that white part and you could have less variation in the rest of the dome itself without affecting the lighetr tints too much.
    It'd be cool to have a library of presets for the procedural sky for the various time of day or maybe having an simplified input where you set position on the Earth and time of day and it generates colors and sun positions settings itself, i've seen it in some other rendering software (ex. the Skylight emitter in the Mitsuba renderer ) and it could be a simple way to start a project without having to mess with all those parameters ;)

  • @jorn-jorenjorenson5028
    @jorn-jorenjorenson5028 3 роки тому +1

    Awesome tutorial, many thanks for sharing!

  • @burhaann
    @burhaann 4 роки тому +1

    u r a Godot GOD! 😗
    Please try to make more videos if u have some spare time.
    You are Super Under Rated😢

  • @netherlabgames7511
    @netherlabgames7511 5 років тому +1

    Thank you for making this video! Pure gold

  • @user-qc1mc2ly8j
    @user-qc1mc2ly8j 2 роки тому +1

    Personally, I prefer colored lighting for my games because they make things look nicer IMO
    Works for the style I'm going for

  • @filipecoelho9855
    @filipecoelho9855 4 роки тому +4

    Subscribed. This was amazing, thank you!
    Still counting on those shader tutorials, are you going to do them?

    • @TokisanGames
      @TokisanGames  4 роки тому +1

      I've gotten caught up in making modules for Godot, which need a couple videos done, and a game with a team, plus work. Shaders are on hold for now.

    • @filipecoelho9855
      @filipecoelho9855 4 роки тому +1

      @@TokisanGames I see... The thing is, tutorials on shaders are never enough! Well, hope everything goes good with those projects. Wish you the best. I will be waiting for more content :)

  • @ilookedeverywhere
    @ilookedeverywhere 3 роки тому +1

    Very helpful, thank you!

  • @mr_star75
    @mr_star75 3 роки тому +3

    I don’t know why godot or even unity
    They do not adjust basic lighting settings
    So that everyone who has no experience can get started
    Without having to play with the settings
    This is fundamental to any game engine
    It should be a priority

  • @Red_Fox_Miro
    @Red_Fox_Miro 5 років тому +2

    very very very nice!!!! It helped me out a lot! Sorry for my bad english i am not a Native speaker, i am from germany.

  • @pokonomo
    @pokonomo 4 роки тому +3

    Thanks for this amazing tutorial, it's hard to find these kind of resources when you don't know the technical details of 3D lighting. Do you plan on doing more videos on lighting/post processing stuff?

    • @TokisanGames
      @TokisanGames  4 роки тому +2

      I've been working on adding more noise algorithms to Godot and it's taken more time than I imagined. After that I plan to show off recent updates to the voxel engine, plus the noise algorithms (for 2D textures and 3D voxels). Then I'll finally get into shader code tutorials.

  • @devdude835
    @devdude835 5 років тому +2

    Awesome video keep making more

  • @hidemat5141
    @hidemat5141 5 років тому +5

    Nice. Thanks for this. Teach us how to make that beautiful sky shader in one of the up coming shader tutorials, please.

  • @GeneralGuitFiddle
    @GeneralGuitFiddle 7 місяців тому

    Very helpful, thank you

  • @marko-lazic
    @marko-lazic 5 років тому +1

    I like this video. It is motivating me to start doing something that I like but don't have time because of a writing software daily job.

    • @TokisanGames
      @TokisanGames  5 років тому

      Thanks. My main job is marketing on a subject matter I don't care for. Pursuing gamedev on the side has kept me sane. I work all the time now, but don't care because gamedev is more fun than playing games, dating, watching movies, etc.

  • @TinySalaad
    @TinySalaad 4 роки тому

    This was an amazing video, one of the best tutorials for godot I have ever seen, great work! Ive subscribed, hope to see more from you in the future.

  • @a.c.182
    @a.c.182 5 років тому +3

    The video is enlightening ! would really be great to know how you adapted Danil's shader to make it so beautyful. Skies are really painful to make when you are not a shader pro ^^

    • @bussin1337
      @bussin1337 5 років тому

      I see what you did there

  • @zorbn.
    @zorbn. 4 роки тому

    Thank you your videos are great!

  • @arthurdarocharuzinsky8182
    @arthurdarocharuzinsky8182 5 років тому +1

    Nice tips realy helpful!

  • @Sebax
    @Sebax 3 роки тому +1

    thanks!

  • @rahmanlinux9602
    @rahmanlinux9602 5 років тому +1

    Oh my god thank you very much

  • @ryanscott5317
    @ryanscott5317 4 роки тому

    excellent tutorial.

  • @Chevifier
    @Chevifier 3 роки тому +1

    12:19 "The sun looks like a massive light in the sky" -Tokisan Games 2020 😅😅😅

  • @God-yb2cg
    @God-yb2cg 3 роки тому

    "Highlights being blown out IS a thing that happens in real world photography."
    Yes and that's why I take around 20 shots until I can get the exposure right for tonemapping or else the photo is unusable. It's also why I prefer a photo with noisy shadows over a clear one with blown out highlights.
    Also the reason I sometimes spend a full day on darktable trying to get the tonemapping right and just give up and don't use the photo if I can't get it right.

  • @Zarocksx
    @Zarocksx 5 років тому +1

    Thanks a lot!

  • @whynotusepaper468
    @whynotusepaper468 4 роки тому +1

    Amazing tutorial. I love it. But how to light night scene.

    • @TokisanGames
      @TokisanGames  4 роки тому

      Study night time photography. It's far more difficult to light night scenes than day scenes. You must still expose your camera properly even though the image appears dark (but isn't).

    • @whynotusepaper468
      @whynotusepaper468 4 роки тому

      @@TokisanGames Thanks on advice!

  • @krenciak
    @krenciak 4 роки тому +1

    Nice! I think that I must switch to Godot. This is amazing game engine with big potential!
    I think in the future there will be AAA games that will be produced on Godot.
    Who is from 2023?

    • @irissepulveda3237
      @irissepulveda3237 4 роки тому

      I'm from 1917

    • @saul8510
      @saul8510 2 роки тому

      Shh don’t tell him that sonic colors ultimate port was made in godot

  • @ArabGameDev
    @ArabGameDev 5 років тому +2

    more tutorials please :)

  • @lovehartLH
    @lovehartLH 4 роки тому +1

    Do you have a link for your edited HDR?

  • @root4098
    @root4098 4 роки тому +1

    You don't reference the Skysphere shader used at 22:42. I'm unable to find this file anywhere. or skybox.gd.
    :/

    • @TokisanGames
      @TokisanGames  4 роки тому

      Look in the description.

    • @root4098
      @root4098 4 роки тому

      @@TokisanGames I did that and the files don't seem to be on that github.

  • @DodgerEcho
    @DodgerEcho Рік тому

    This super video👍👍👍

  • @33ordie
    @33ordie 4 роки тому

    Well, I did not see an example with the shadows working with the Voxels.

  • @Nugget11578
    @Nugget11578 4 роки тому

    when is that video on the shader sky coming?

  • @Toskyval
    @Toskyval 5 років тому +3

    Any chance for a day-night cycle tutorial?

    • @TokisanGames
      @TokisanGames  5 років тому

      Try this from Bastiaan.
      ua-cam.com/video/-2YWV1NWwGY/v-deo.html

    • @НеизвестныйЯ-г4ь
      @НеизвестныйЯ-г4ь 5 років тому

      @@TokisanGames Please answer, did you change this shader from godot assets? It seemed to me that in the original shader, the clouds hang too low above my head, but I don’t know how to fix it. In your case, everything looks normal. Do not share the secret?
      In turn, I redid this shader for the day and night cycle (the Moon and the Sun move, wind direction and strength, there are blinking stars, a simple lightning effect, 2d-clouds for perfomance low settigs). If interested, you can download here. github.com/Lexpartizan/Godot_sky_shader

    • @НеизвестныйЯ-г4ь
      @НеизвестныйЯ-г4ь 5 років тому

      ua-cam.com/video/dNbbq-Z3lfE/v-deo.html

    • @TokisanGames
      @TokisanGames  5 років тому +1

      @@НеизвестныйЯ-г4ь I am not using Bastiaan's shader, which was for the day/night cycle question. I'm using the shader in the YT description. I did modify some aspects of the shader itself, but the changes are minor. I don't think I changed the apparent view distance.

    • @НеизвестныйЯ-г4ь
      @НеизвестныйЯ-г4ь 5 років тому

      @@TokisanGames Yes, I meant this shader. Not Bastiaan's. Most likely it seemed to me that your clouds are higher. But I had to ask))

  • @startek119
    @startek119 4 роки тому

    thankyou

  • @igorgiuseppe1862
    @igorgiuseppe1862 5 років тому +3

    amazing sky, it instantly create an feeling of fantasy world that makes me want to play the game, despiste the fact that i know there is no game to play.
    its a "game seller"

  • @NeZversSounds
    @NeZversSounds 4 роки тому

    But what about setting up GLES2? Many options are not there.

  • @ChavsberryGaming
    @ChavsberryGaming 5 років тому +1

    Great tutorial UwU

  • @davidmurphy563
    @davidmurphy563 4 роки тому

    You didn't carry on with the channel? What a shame. Many thanks regardless.

  • @industrialdonut7681
    @industrialdonut7681 4 роки тому

    Why do you just max out the whitepoint?

  • @irissepulveda3237
    @irissepulveda3237 4 роки тому

    I don't understand the point of hdri images, what use do they have? can you use the hdri images as assets?

    • @TokisanGames
      @TokisanGames  4 роки тому

      In some engines and modelers they provide very nice lighting. UE4 allows you to create a shadow so an object will cast a shadow on the ground of the HDRI, so it looks more realistic. If blended well into the environment, they can look good.

  • @fruitdudetv
    @fruitdudetv 5 років тому

    Any chance you can link the hdr you are using in this example ? imo lighting in godot still looks bad.

    • @TokisanGames
      @TokisanGames  5 років тому +1

      I got it 10y ago and it's too low quality. You can find lots of free desert skies you could edit here:
      hdri-skies.com/
      hdrihaven.com/hdris/category/?c=skies
      hdrmaps.com/freebies

  • @godofdream9112
    @godofdream9112 2 роки тому

    i want to make a big map like gta vicity.. How sould i go for it... or is it even possible in godot4...?

    • @TokisanGames
      @TokisanGames  2 роки тому +1

      There is no pre-built system you can download and use to create a large, streaming, textured terrain system yet. You'll have to build your own. Shown in this video are godot 3 terrain systems. There is an infinite heightmap terrain tutorial for gd4 by devmar you can follow to get a start, but you'll need to do a lot of coding and shader work to make it robust enough for something like GTA.

  • @rinhlua4569
    @rinhlua4569 5 років тому +1

    If you could make godot tutorial for completely beginner, it will be awesome like simple script of moving player, jump, shoot, flying mechanics etc. Im sure there are people like me who dont have any idea about coding but still want to play around with game engine🤣🤣🤣

    • @TokisanGames
      @TokisanGames  5 років тому +2

      Check out kidscancode and gdquest. They have good beginning tutorials. Also work through all the tutorials in the docs and analyze the code in the demos. They are all simple. My focus is on intermediate and advanced tutorials which are sorely needed.

    • @rinhlua4569
      @rinhlua4569 5 років тому

      @@TokisanGames alright thanks for the information.

  • @als_pals
    @als_pals 3 роки тому

    Shouldn't these be the defaults then?

    • @TokisanGames
      @TokisanGames  3 роки тому +1

      See the pinned comment.

    • @NycroLP
      @NycroLP 3 роки тому +1

      @@TokisanGamesYikes, it got so much attention and yet its still ignored. Made me kinda pessimistic about Godots future.

  • @industrialdonut7681
    @industrialdonut7681 4 роки тому

    I liked it but I would've also appreciated not just throwing your own expensive HDR background in the video and leaving me behind with that lol I had to go with procedural sky and couldn't really follow that part of the video

  • @classicguy7813
    @classicguy7813 4 роки тому

    Does it work on Android without considerable slow fps downside?

    • @TokisanGames
      @TokisanGames  4 роки тому

      I haven't tried on Android, but the lighting setup uses only one directional light, which any system should be able to handle, otherwise it can't handle 3D at all.

  • @IronBrandon22
    @IronBrandon22 4 роки тому +2

    I am already 2 months into my game's development, and I've already broken every single rule :/

    • @ChrisD__
      @ChrisD__ 4 роки тому +1

      Haven't finished the watching tutorial by the time he said "Don't color your lights" I started pacing around the room in rage. Lmao. These aren't rules, there's more than one way to do this. But, no light in real life is perfectly white, use a Kelvin scale.

  • @tonywalker8030
    @tonywalker8030 2 роки тому +1

    great tutorial

  • @boerbol9422
    @boerbol9422 2 роки тому +1

    Thank you so much!