Realistic Game Lighting Without Killing Performance, Using Baked Lightmaps - Godot Tutorial

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

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

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

    This is the style or teaching we need. Most teaching in American based TH-cam videos tend to be verbose, far too much talking and not enough explanation and demonstration. So thank you :)

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

      Glad you like my style :)

    • @brandondp.23
      @brandondp.23 3 ปีที่แล้ว +5

      @@garbaj We *love* your style.

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

    Just found your channel. Incredibly succinct, easy to follow, enough explanation for people who are new to gamedev while still being short enough for people just trying to figure out Godot's conventions compared to other engines. Don't want to gush too much, but after wading through a bunch of filler in a 20 minute tutorial on the same thing this very refreshing to see.

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      Glad you're finding my videos helpful, thanks for watching

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

    oh damn, it's so easier than in Unity

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

      Godot is so easy to use compared to other engines

    • @FelineRaptor-gv4te
      @FelineRaptor-gv4te 3 ปีที่แล้ว

      but i thought all we had to do was set the mode of a directional light from real time to baked? lol

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

    Man I was watching "are you coding juan?" and now I'm watching this really good tutorial

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

    Love your vids, Thank you for helping me with my Godot projects!

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      You're welcome!

  • @SirHarticus
    @SirHarticus 2 ปีที่แล้ว

    Damn dude, you really have so many great tutorials on here. Every other time I'm googling something new to learn about Godot 3D, you've got a video on the subject. Best of luck with your current project and thanks for all the help.

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

    Great! Keep the good work Garbaj!

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      Thanks!

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

    Thanks for the tutorial, Garbaj.

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      You're welcome, glad you're liking the videos

  • @nightcode3171
    @nightcode3171 4 ปีที่แล้ว

    Oh, here it is. This is awesome, idk how i missed this. Again, the bestttt.. thankssss

  • @boerbol9422
    @boerbol9422 2 ปีที่แล้ว

    Thanks so much for taking the time to make this AMAZING tutorial.
    Great stuff!

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

    Dude I have no words u did this for me again love u bro 🤩 thanks for listening discord.
    The mistake I was doing was not selecting used for baked map in geometry section

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      Glad I could help!

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

      @@garbaj I tried but still I m getting array type error on unwrapping uv2 help

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      I honestly have no idea, sorry

    • @RedHeadphone
      @RedHeadphone 4 ปีที่แล้ว

      @@garbaj can u share the scene of objects that would really help

  • @a.perf.1453
    @a.perf.1453 4 ปีที่แล้ว +2

    Amazing! I'm glad I found your channel

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      Thanks :)

  • @creativeskyOld
    @creativeskyOld 2 ปีที่แล้ว

    I used this method in a level with ps1 style that I made, really good and simple tutorial +1 subscriber!

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

    baked lighting seems prettybepic

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

      indeed :)

  • @realMenta
    @realMenta 2 ปีที่แล้ว

    Thanks for the straight to the point tutorial!!

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

    If you want to know the true power of Baked Lightmaps, watch some gameplay of Mirror's Edge and look at that nice interior lightning

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      How Does Mirror's Edge Still Look This Good? th-cam.com/video/2TNSaEJHBrQ/w-d-xo.html

  • @bity-bite
    @bity-bite 4 ปีที่แล้ว +3

    Yes! That's really helpful

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      Glad to help!

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

    You are amazing thanks! Im from Brazil sorry for english errors : )

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      No problem!

  • @michaeldamon7500
    @michaeldamon7500 4 ปีที่แล้ว

    Excellent video. Thank you

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

    The best teacher

  • @SheepyKSP
    @SheepyKSP 4 ปีที่แล้ว

    Yay! now my school laptop wont blow up into flames or try to kill my ears with the fans while trying to make a cool game

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

    extremely useful :D

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      I know right?

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

    For static dynamic object movement (things moving in a pattern) you can sequentially bake light maps and simply update object materials; sounds like a sequel to this video - what do you think G?
    Good stuff btw.

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      I had no idea, I'll have to look into it

  • @裵泰宇
    @裵泰宇 4 ปีที่แล้ว +2

    Thanks for your video.
    I live in Korea and I'm a poor English speaker but there's no Godot Engine videos in Korea.
    I'm glad to know your TH-cam Channel and I'll learn godot by your video. >_ㅇ
    I pushed subscribe and like button & Have a good day !
    전 한국에 살고 영어는 잘 못하지만 한국에는 Godot Engine에 대한 영상이 없더라구요.
    당신의 TH-cam 채널을 알게되어서 기쁘고 당신의 영상을 통해 많이 배우겠습니다. >_ㅇ
    구독과 좋아요 버튼 눌렀구요, 좋은 하루 보내세요 !

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

      Thank you for the subscribe!

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

    Tip:make baked lighmap as camera's child,so it renders everything you see and it doesnt blow up your pc

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

    if u guys r having problems unwrapping the meshes (alert: contain mesh is not type arraymesh), import a mesh from blender (cube, etc.) with a preferred size and import it into godot and drag it in the mesh property of the mesh instance (this will automatically turn ur mesh into a arraymesh)

  • @FirstNameLastName-wv2iz
    @FirstNameLastName-wv2iz 4 ปีที่แล้ว

    3:16 i haven't tried yet but the Docs said something something about "process being automatic" i think regarding updating lights on dynamic game objects, is this something that they updated since you've uploaded your video or am i misunderstanding what the docs said?

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

    When i pressed Unwrap UV2 for Lightmap/AO i become an error: Contained Mesh is not of type ArrayMesh. pleasse help

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

    Camera not seeing what it see in editor

  • @NazirAhmed-s3j
    @NazirAhmed-s3j ปีที่แล้ว +1

    how your shapes are array?\

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

    So whenever I try to do Mesh > Unwrap for Lightmap/AO it says 'Contained Mesh is not of type ArrayMesh' Any Idea what I'm doig wrong?

    • @maxee22backee96
      @maxee22backee96 4 ปีที่แล้ว

      me too idk what to do i need help

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

    Amazing! Is it possible to bake light during the game, with script ? ^^

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

    Do you know how to do this in Godot 4.3? The "Use in baked light" option no longer exist, or I don't find it. Have tried setting Global Illumination to static, but the mesh doesn't receive any lightning data after a bake. The texture bakes fine, but the result are not applied in the scene.

  • @PRATHAM_TALUKDAR
    @PRATHAM_TALUKDAR 7 หลายเดือนก่อน

    Bro when I added camera, and ran the scene, the camera didn't saw the same lighting and graphics as in the editor. Please helppp

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

    Is it possible to use baked lightmaps with gridmaps (setting the scene using gridmaps and then baking lights)? I tryied a few times but can't get my scene to work that way.

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

    Is it bake only in self-texture or can it bake lights of the whole world into a single texture like it Unity does?

  • @deansimon751
    @deansimon751 3 ปีที่แล้ว

    If I try to unwrapp the mesh for lightmap there is an alert Contained Mesh is not of type Arraymesh.

  • @constantinefedotov8394
    @constantinefedotov8394 3 ปีที่แล้ว

    Baking lighting is pretty nice, but it's still pretty unstable and crashes a lot :)

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

    The thumbnail is misleading

  • @nicholascureton933
    @nicholascureton933 2 ปีที่แล้ว

    I've been looking for Godot's rendering quality.
    I noticed there's no shadow of the yellow box in the floor.
    Is that normal in Godot? No casting shadow?

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

    its says its not an array mesh

  • @CopyCatBlack
    @CopyCatBlack 3 ปีที่แล้ว

    can shape keys work on rig with animation if i export from blender to godot??????

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

    Bro in Godot 3.2 , it just kills the engine after pressing the bake lightmap button (I have done everything you did) and in 3.3 , it says rasterizing mesh and kills the engine.

  • @irtezamasud
    @irtezamasud 2 ปีที่แล้ว

    Lights bounce almost to none with black surface. try to use a light surface while demonstrating baking for getting the good light bounce.

  • @maxee22backee96
    @maxee22backee96 4 ปีที่แล้ว

    thank you

  • @catconsumer
    @catconsumer 3 ปีที่แล้ว

    Can you make a game on godot without coding challange c:

  • @itsME-dc4vm
    @itsME-dc4vm 3 ปีที่แล้ว +1

    nice ;D

  • @atomnetto3796
    @atomnetto3796 2 หลายเดือนก่อน

    is game that have dynamic time have baked lighting

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

    What lighting can we use for objects that move. For example a player?

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

      Just any old light. Directional light, point light, etc

  • @hdhwkq
    @hdhwkq 4 ปีที่แล้ว

    Hmm I gotta bake my 🍞

  • @morfy2581
    @morfy2581 3 ปีที่แล้ว

    QUESTION: what should i do with the dynamic light object? Can i just delete it afterwards, cause im assuming i dont need it anymore since lighting is baked. And keeping a dynamic light would kinda be pointless slowdown for the performance? not sure.

    • @tymondabrowski12
      @tymondabrowski12 3 ปีที่แล้ว

      I guess you might still need it if you have anything other than static bodies?

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

    Baked lightmap in Godot 4.0 is so much better than it is in 3.2.

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

      I'm excited to see the differences

    • @cmds.learning7426
      @cmds.learning7426 4 ปีที่แล้ว

      yes ,3.2 's gi and baking is just a toy.4.0 powerful

  • @realMenta
    @realMenta 2 ปีที่แล้ว

    Is there a way to bake a light via code?

  • @shwetanksingh2156
    @shwetanksingh2156 4 ปีที่แล้ว

    Dani crying in corner

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

    is this still relevant to godot 4?

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

    is this method viable on big maps?

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      No, it's exclusively for indoor maps

    • @Bollalillo
      @Bollalillo 4 ปีที่แล้ว

      @@garbaj Ty for a quick response :)

  • @intrigazTV
    @intrigazTV 4 ปีที่แล้ว

    Where do I see baked output textures? Are they big or not?

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

      not sure, I'll have to look into it

  • @b3daz
    @b3daz 4 ปีที่แล้ว

    Nice and easy. :)

  • @root4098
    @root4098 4 ปีที่แล้ว

    this isn't working for me. u skipped over the worldenvironment and omni direcitonal steps

  • @forhadrh
    @forhadrh 3 ปีที่แล้ว

    👍👍❤

  • @cmds.learning7426
    @cmds.learning7426 4 ปีที่แล้ว

    yes, bake lighting is better quality and better performance

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      Agree!

  • @murtazarizvi368
    @murtazarizvi368 3 ปีที่แล้ว

    TBH, large scenes arent capable of this

  • @kiwiladi
    @kiwiladi 4 ปีที่แล้ว

    Fuuuuuuuuuck I passionately hate your thumbnails dude, but good tutorials as always.

    • @garbaj
      @garbaj  4 ปีที่แล้ว

      why

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

    It's a shame that you used such a misleading thumbnail and video at the beginning. None of that uses baked light maps at all.

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

      i did it all for the views