Basics of Lightmapping in Unity 2020.1

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 286

  • @pontojotape
    @pontojotape 4 роки тому +126

    definitely the best lightmapping tutorial i've ever seen

    • @UGuruz
      @UGuruz  4 роки тому +9

      Wow, thanks!

    • @archcast5550
      @archcast5550 3 роки тому +6

      It is the only best lightmapping tutorial i have ever seen!

    • @thefuzzycat
      @thefuzzycat 3 місяці тому

      @@archcast5550 lol

  • @CoffeePot
    @CoffeePot 4 роки тому +30

    Oh my god, not only is this amazing. The amount of detail being absolutely perfect, but you even flipped between two different versions.
    Amaaazing!! Thank you so much!!

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

      Glad you like it!

  • @bunnyvoid
    @bunnyvoid 4 роки тому +26

    this came at the right time. i've been doing a lot of lightmapping recently

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

    I knew all of this before I started to watch the video. But I just kept on watching, because you explain it in such a nice and easy way. Was a nice refresher.

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

      Awesome, thank you!

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

    This is one of the most concise, informative, and well presented tutorials, on any subject, I have ever seen.

  • @MrTeteX9
    @MrTeteX9 4 роки тому +7

    I wasn't knowing whats directional mode does. Now i understand ! Thank you :)

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

      Glad to hear that!

  • @masterability1385
    @masterability1385 4 роки тому +16

    I never knew Unity has this complicated Lighting Options.

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

    Amazing tutorial, everything is crystal clear. Thanks !

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

      Great to hear!

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

    This really helped me improve my graphics. Thanks!

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

      Glad I could help!

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

    This is the best lightmapping tutorial. So many things that were unclear are clear now. Thanks for making it.

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

      You're very welcome!

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

    The only good lightmapping tutorial

  • @30fpsprohere
    @30fpsprohere Рік тому

    Your tutorial and voice is really awesome my headache is gone ❤❤❤

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

    i followed brackeys tutorial first and it wasnt working because it was outdated, so i checked your tutorial and it works! thanks!

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

      You are welcome!

  • @MichoSchmidt
    @MichoSchmidt 4 роки тому +8

    This was something I needed, perfect explained !

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

      Thank you so much..

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

      @@UGuruz I have never been good with lightning, great video!

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

    The best LM tutorial and you sir are the best presenter of Unity tutorials in general. I feel most others go waay to fast to understand. Well done! +1

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

      Wow, thanks!

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

    Your tutorial is amazin!!! I was confused by the lightmap for so long, and your clear explanation solved my questions, and saved my dayssss!!!

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

    The absolute best Tutorial on Lighting I have ever seen. Man you just saved my butt!

  • @512Squared
    @512Squared Рік тому

    Such a good explanation of all of the settings. Really appreciate this.

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

    Awesome video, explain all the window is the best way to understand the possible settings. thanks!

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

    Really nice video... actually the best video about lightmapping for Unity I've seen

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

      Thank you so much.

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

    Very Good Vid! Thanks- I wanted to dig deeper into LightMaps and you were only one that provided every detail - cause - process and effect.

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

      You're welcome!

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

    Fantastic job lad. Cheers.

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

    Previously, I was very confused about light baking, since all my bakes were coming out badly. But this video helped me a lot. Thank you so much.

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

      Glad it was helpful!

  • @JavierHernandez-xo5nb
    @JavierHernandez-xo5nb 4 роки тому

    Matte. You save my life. Good tutorial.

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

      Glad I could help!

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

    Incredible Tutorial. Thank you for the no bs guide.

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

    Bc i think the explanation between all the different light modes are a bit confusing, here is a short explanation about the differences. But overall, it's a very good tutorial !
    - Realtime : no lightmap, the direct shadows and the bounces are calculated in ... realtime. Consumes alot of GPU
    - Mixed : mix between baked and realtime : calculate the lights and bounces in the lightmap, but not the direct shadows which stay in realtime.
    - Baked : as in the tutorial. All the light data are in the lightmap, no more light needed.

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

    Thanks for the informative and detailed tutorial!

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

      Glad it was helpful!

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

    Great video!!! Love the way you clearly explain and go through everything!

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

      Thanks so much!

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

    Bro i understand between directional and non Directional thanks and please keep making video for us. I love to watch your video 😍.

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

      Ok. Thanks

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

    Fantastic video. Really clearly and logically explained, thanks.

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

      Glad it was helpful!

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

    Thanks a bunch bro, I've been pondering over those fixed shadows

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

    Excellent video, answered lots of questions I had about URP.

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

      Glad it was helpful!

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

    Thank you so much for this lol, I've been needing this video 👍

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

      Glad I could help!

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

    Amazing video! Even though I'm using Bakery to handle lightmapping in Unity, this video helped me understand lightmap settings much better, which allowed me to improve my lightmaps significantly as well as reduce their file size (super important for mobile games). Thank you!

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

      You're welcome!

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

    Thank you for your tutorial!

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

    Nice Tutorial, congrats!

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

    thank you dude! really interesting!

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

      Glad you liked it!

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

    Very helpful, thank you for the awesome tutorial!

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

      You're very welcome!

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

    Amazing walk through of the new baker properties. Thank you so much for the video, it helped me figure out a ton about why my stuff was looking not so great in Unity.

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

    Thank you so much for making this tutorial. I really appreciate this tutorial.

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

      You are so welcome!

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

    good tutorial... I really like your explanations and sticking to the topic at hand!

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

      Glad it was helpful!

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

    VERY helpful. Cleared up a lot of lightmapper stuff, thank you!

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

      You're welcome!

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

    Thank you. Very clearly explained.

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

      You are welcome!

  • @zx-xn1lb
    @zx-xn1lb 4 роки тому

    老哥的舌头磨炼我的英语听力,讲的还是很不错的

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

    Very useful, thanks!

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

      You're welcome!

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

    Best tutorial ever. Thanks

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

      You're welcome!

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

    Wonderful tutorial, clear and concise, thank you!

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

      You're very welcome!

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

    this is good for basic URP lighting

  • @MathsPlusGames
    @MathsPlusGames 11 місяців тому

    Best video ever, why did you stop making videos?

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

    Good tutorial! Unfortunatly I'm missing interaction between static and dynamic objects. Maybe you can add something like this to your To-Do list ;)? What I mean is: how will a dynamic object interact with a static, light-mapped object. For example: the soldier in your video running through the shadow of the house.

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

    You have the best videos. Thank you! Can you recommend some videos about 3D modeling interior scenes optimized for mobile/cloud VR?

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

    Best video about lightmapping! Thanks a lot! What's the name of the courtyard model at the beginning of the video and where can I get it?

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

    That was an excellent tutorial!!

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

      Glad it was helpful!

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

    Your tutorial helped me a lot. :)

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

      Great 👍

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

    Very good explanation, thanks!

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

      You are welcome!

  • @republicofhandball8815
    @republicofhandball8815 4 місяці тому

    Could you explain simple to me, if I have a static house game object, which is suitable to be baked lighted, and a moving object (a car or a character) which is suitable just for real time lighting, which "light mode" should I use? "Mixed"? But am I sure this way, that the "static house" won't be lighted once again by the "realtime" light source ( I mean that real time component of the mixed mode)?

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

    Any chance you can provide a tutorial for baking and using lightmaps for big scenes interior/exterior? How can i use different lighting setups and environment lighting in the same scene? More advanced stuff and real lifr scenarios pls. The basics are fine but its rarely the time that i bake a single house on a single plane with a single direcrional light source you know what i mean? Great turorial tho, thanks!

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

    Nice video. Keep up the great work!!!

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

    amazing tutorial man! keep it up and thanks a lot!

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

      Glad you liked it!

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

    Very good toturial

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

    Hey, how are you? A question, in big open map (exterior, can be a terrain) what yu suggest like settings to bake this map and objects?

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

    Outstanding! How to lighting a character, the face for example while walking? The are any tutorial on UA-cam. Thanks!

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

    Hello bro how can I do not allow lighting on a particular place so that directional light dosest put light on that area

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

    This is really useful! Thank you!

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

      You're very welcome!

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

    can you please make tutorial on bakery lightmap plugin?

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

    What a great video!!!!! My scene was already at 919 setPass calls and got it down to 213 with Baked indirect lighting!!! And using my gpu to bake them was a way better choice. My poor ryzen 5 took 4 hours last night 😥

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

      That is awesome!

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

    As always cool video fro Unity Guruz. Best explanation tutorials ever ;-)

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

      Glad it was helpful!

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

    I love ur Videos ! Thanks :)

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

      Thanks for watching!

  • @徐传伟-j1u
    @徐传伟-j1u 2 місяці тому

    After baking the light map, the shadow is very black, there is no sense of ventilation, how to solve it?

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

    Thank you this video is very helpful

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

      You're welcome

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

    DON'T FORGET TO CHANGE COLOR SPACE TO LINEAR IF YOU USE URP. THIS WILL PREVENT YOUR SCENE TO BE TOO LIGHT OR DARK.

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

      Great Tip!

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

      Even if you're not using URP, it improves the lighting a lot in the built-in render pipeline as well.

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

      This saved my scene, thank you! I wondered why props and characters models were overlit, and was googling a solution for several days. Switching to linear fixed the issue. So glad I accidentally found your comment. I wonder why Unity sets it to gamma by default...

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

      @@SolidAlloy2 No clue lol. By now you'd think they would have some nicer quality presets

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

    Hello I have a dude about the light I export my model (house), in unity and when use any light inside ,sample one room the light is on, but this light pass from the edges wall and can see to the next room
    And the Sun (directional light) this one pass the windows ok but the sun reflection on the floors looks like don't have Walls the house what recommend to fix this thank you

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

    Great video, thank you for that!

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

      Glad it was helpful!

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

    Hi, I did the same steps, but I keep getting the following error when I start baking. Please advice.
    [PathTracer] Failed to add geometry for mesh 'Cube'; mesh is missing required attribute(s). Please make sure the mesh contains at least positions, normals and texcoord0

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

    wow, really good tutorial. I will check you other ones and patrion! Keep up the good work :-)

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

    awesome video, thanks for posting!

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

      Glad you enjoyed it!

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

    i have multiple objects in my scene ,is there a way to generate UV channel 2 for lightmap while importing or applying to multiple objects at once?

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

    Day Night Cycle would be interesting

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

    Thanks for a tutorial.

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

      You're welcome!

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

    🙏💎Please keeeep keep your amazing videos respect Sir 🙏✨

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

    Hello, can I ask something?
    I have a script that allow the player to turn on and off a lamps, but if I use a lightmap when I turn off the lamp, the light from the lamp are still there because of the lightmap.
    so is it possible to use that script with a lightmaps?

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

    Hi,UGuruz, This is the most helpful lightmapping tutorial i've ever seen. finally I find one tutorial I can follow. and no need to guess what's the parameters mean.
    only I question: You mentioned in this video, Unity can use 2nd UV set to bake? how to do that? I know Unreal can does that, but I searched on forum,still can not find a way to use my own UVset to bake lightmap.
    Or is that a silly idea? Thank you for this awsome tutorial. very practical

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

      If you create a second UV map for your object in your 3d software like blender,max maya then Unity will automatically choose that 2nd map for light baking. And you will also need to disable the "Generate Light map Uvs' Option in import settings.

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

      @@UGuruz Oh I see! Didn't expect such fast answer! seems Unity combine all the objects UV together, I didn't realize it use my 2nd UV already!
      Thank you for saving my whole day!!!!
      I am learn the Unity Series tutorials,these are gold mine.If I can follow will buy your tutorials for sure :)

  • @AlessandroNardi_DA
    @AlessandroNardi_DA 4 місяці тому

    This tutorial is incredible, simple and effective, I have only one question, when i made my lightbacking, it looks fine without materials, but when I apply materials to my objects and redo the lightbaking, seems like the material cover the lightmap, it's really flat and nothing changes with or without lightmap, what's the problem with my case?

    • @sealsharp
      @sealsharp 4 місяці тому +1

      The first thing i would check is, if it's a shader issue. Did you try it with the standard PBR shader?
      Lightmaps only work on LIT shaders that sample that lightmap. A few of the shaders you can buy, especially stylized (toon, anime, etc) don't have that implemented.

    • @AlessandroNardi_DA
      @AlessandroNardi_DA 4 місяці тому

      @@sealsharp Thank yo for your answer, I'll found the problem, i put the materials on the prefab instead of the single objects. I have another question, what is the set pass calls limit for a mobile game for oculus quest 2 standalone? Or there is some documentation on limitations? Thank you

    • @sealsharp
      @sealsharp 4 місяці тому +1

      @@AlessandroNardi_DA The answer isn't that simple. Not passes, not batches, not vertex-count and not any other single thing can be given a number. There's much more happening on the GPU than just drawing whats sent to it. GPUs do have an internal queue of processes and steps and so the limiting factor depends on many different aspects.
      The Quest 2's own GPU is an Ardeno (or something like that) and like many mobile GPUs, it does tile based rendering which has different performance behavior than desktop GPUs.

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

    Excellent video thank`s

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

      Thank you too!

  • @ПавлоК-з9н
    @ПавлоК-з9н 4 роки тому

    What about light maps and prefabs for procedural created levels?

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

    Best tutorial

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

    Lately you do not make lighting videos for HDRP? I miss them
    Cheers

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

    Perfect! Thx u so much. I need to update my Unity 5 big project 500kmx500km and this video was helpful. I'm lost, slower HDRP 2020 or stay with Unity default in 2019 LTS with lots of assets store assets...

  • @dev.ashesh
    @dev.ashesh Рік тому

    What is the best lighting settings for an mmorpg mobile game?

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

    Thank you so much, keep up the good work bro. Hearts from New Delhi :)

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

      My pleasure 😊

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

    Very helpful thank you

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

      You're welcome!

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

    Tutorial was great understandable but sad part is dude stopped making those.😭

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

    Is it possible to just download an old version of Unity without all the modules?..I have projects that don't work in 2019+ but work on 5.6.1? Thnx

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

    What if I baked light in bake mode, and then I want to add a switch light(point light with on off) will it affect somehow?

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

    Good video. Really helped me out. I was wondering if i could adjust the shading in the mobile lighting settings...like make it a little bit more hd

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

      Yes you can!

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

      @@UGuruz great! thanks.

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

    Nice video! Just a question: if I'm making a horror vr videogame, the scenario is only inside a house so, the only illuminations will be some spotlights but the player can handle a torch that with a dynamic light that will affect the scene illumination...which kind of settings should i use?

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

      I think you should go for Realtime GI.

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

      @@UGuruz what about light probes? May them help?

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

    Nice video. Thanks.

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

    Bro plz solve my problem when I make one room with white tiles texture and with white spot light when I bake it the room turns into grey plz solve bro

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

    Great tut mate, subd

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

    Brilliant! Thanks!

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

      You're welcome!