Unity: Progressive Lightmapper, Probes and Post Effects

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • In this Unity video tutorial we take a look at the Progressive Lightmapper. We look at its settings and what they do and go through the steps necessary to achieve a clean lightmap bake. We also look at lighting, Reflections, and how we can give dynamic objects secondary lighting. We also look at settings which can solve lightmap errors and Post Effects using the Post Processing Stack.
    digitalmeat.uk/
    If you would like to support Digital Meat, or follow me on social media, see the below links.
    Patreon: / digitalmeat3d
    Merchandise: rdbl.co/2BvfaVD
    Support: digitalmeat.uk...
    Facebook: / digitalmeat3d
    Twitter: / digitalmeat3d
    Google+: plus.google.co...
    BEEF DOCTOR: / @beefdoctor

Komentáře • 119

  • @Corey3D
    @Corey3D Před 5 lety +11

    Sir, this is a tutorial that every single developer should watch when they start learning about lights and working with them.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety +3

      Yeah, I've been hearing that a lot recently, I should have sold this on my website 😅😅

  • @zugolf4980
    @zugolf4980 Před 3 lety +3

    Absolutely sick tutorial! The swearing really elevated it, too.

  • @juihhg77
    @juihhg77 Před 4 lety +7

    clean, clear, factual, logical -> professionnal. thanks a lot

  • @supertenchoo4271
    @supertenchoo4271 Před 2 lety +2

    Wow I just keep watching watching , without getting overwhelming ,nice tutorial

  • @codder
    @codder Před 5 lety +15

    The best light map tutorial and more! Thank you!!!

  • @sebastiangraves7479
    @sebastiangraves7479 Před 5 lety +2

    Currently at 1:11:45, very well done. You speak clearly and the address almost all of the options in the inspector. I'm a programmer trying my hand at lighting and 3D environments, thank you for this wonderful guide.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      Glad it's helping Jeremy, it's funny because i'm a 3D artist trying to code my website, it's like walking through treacle and I want to die.

    • @sebastiangraves7479
      @sebastiangraves7479 Před 5 lety

      @@DIGITALMEAT Keep your chin up pal I promise it gets easier! Hahahaah

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      @@sebastiangraves7479 - I don't want to be doing it at all :(

  • @frankeehm
    @frankeehm Před 5 lety +3

    Amazing, you've solved 5 problems I had for two years in one video. Thanks mate!

  • @przemyslawkasperski2481
    @przemyslawkasperski2481 Před 5 lety +7

    Absolutely the best baking tutorial I've ever seen. Very detailed - Thank you so much!!!

  • @SalmanKhan-dx1ch
    @SalmanKhan-dx1ch Před 5 lety +3

    i could have used the knowledge a couple years ago
    Wish i had found you back then
    it would have saved me around 2 years of learning stuff myself

  • @arlorean
    @arlorean Před 6 lety +1

    Just brilliant. I was worried about the 2 hour length initially but it was time well spent. Thank you for making such a detailed tutorial. I feel armed and ready to start baking (and troubleshooting baking) now.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 6 lety

      Glad to hear it, 2hrs is a bit too long but i wanted to make sure I covered any issues you might come across

  • @SeanForsythTutorials
    @SeanForsythTutorials Před 5 lety +12

    Great job, nice and clear. Thanks for doing this, much appreciated.

  • @jonilo8792
    @jonilo8792 Před 4 lety +1

    One of the best videos on CZcams. Thanks!

  • @impheris
    @impheris Před 2 lety +2

    this is a master class, totally useful video

  • @matiascasag
    @matiascasag Před 6 lety

    Nice, thanks for that! Very usefull!
    You can duplicate objects with "Ctrl + D" (even light-probes).
    You can get better post processing version using the package manager, "Window -> Package Manager", choose the tab "All", click on Post-processing, select version and install.

  • @NUTTYAPE
    @NUTTYAPE Před 5 lety +1

    wow, 2 hours... BUT I feel so much better informed!! i learnt ALLOT. THANK YOU

  • @DennisGJerzSHU
    @DennisGJerzSHU Před 3 lety +1

    Thank you . This was just what I needed.

  • @BlackDragonProductions
    @BlackDragonProductions Před 5 lety +2

    Bloody good tutorial mate, top job, even with all my experience, I still learned a couple bits. Ace.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      Nice! I'm glad you got something out of it 😉

  • @AlexejKalmbach
    @AlexejKalmbach Před 4 lety +3

    This is probably the most complete tutorial on interior lighting and baking right now. You've covered almost every issue of that topic. You truly deserve a tenderloin :-)
    Still, if you guys want to undestand how to set up light probes more efficiently, watch this one: czcams.com/video/pzbebc0Ryv8/video.html

  • @tchpowdog
    @tchpowdog Před 5 lety +1

    Excellent video. I've actually found that using an emissive material instead of area light works better and looks better. Just my opinion.

  • @AnnaConstantinova
    @AnnaConstantinova Před 5 lety +4

    Amazing tutorial! Thanks!

  • @VoidloniXaarii
    @VoidloniXaarii Před 5 lety +2

    What an amazing explanation! Thank you so much

  • @robertvalentic4939
    @robertvalentic4939 Před 3 měsíci +1

    good work!

  • @challoww
    @challoww Před 5 lety +2

    Thank you, this is really really helpful!

  • @Blindconcept
    @Blindconcept Před 4 lety +1

    Really great material mate! thank you very much.

  • @RizuHaque
    @RizuHaque Před 5 lety +1

    I was wondering of the 2 hrs length but every secound was informative !!
    Really good 👍

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety +1

      I was a bit worried about the length but i wanted to make sure it was concise, glad you liked it :D

    • @RizuHaque
      @RizuHaque Před 5 lety

      DIGITAL MEAT
      One question !!
      Can we achive this type of lighting in realtime (not baked) ??

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety +1

      Kind of, Instead of doing a full light bake, you can do a precomputed light bake.

    • @RizuHaque
      @RizuHaque Před 5 lety

      DIGITAL MEAT
      Oh i was wondering if we can get something like this with less time consumption

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety +1

      What, a tutorial on precomputed light baking?

  • @loganpreshaw4430
    @loganpreshaw4430 Před 3 lety +1

    Your description for Directional lightmapping is wrong. It just tells normal maps the direction of light so they can be displayed properly, showing darker and lighter crevices depending on the direction of bounced/direct light. It does not consider the direction of normal map details and use that for bounces.
    All of the lighting information for your normal maps is absent when you switch that off so they appear flat (as was visible in the video).
    Nice tutorial though, learned a lot!

  • @joshpolman201
    @joshpolman201 Před 4 lety +1

    Epic tutorial, thank you very much!

  • @imDanoush
    @imDanoush Před 6 lety +6

    Very informative. Thanks!

  • @munchkinteeth
    @munchkinteeth Před 4 lety +2

    love the accent, my guy

  • @jemmy327
    @jemmy327 Před 5 lety +1

    Very grateful

  • @o00Adi00o
    @o00Adi00o Před 6 lety +2

    Amazing! Thank you so much for this!

  • @onurpekdemir
    @onurpekdemir Před 5 lety +1

    Awesome walkthrough! Thanks a ton! :-)

  • @Morphy-Z
    @Morphy-Z Před 3 lety +3

    Awesome tutorial! It's always bugged me how interiors with windows appear so dark in Unity. Compensating with area lights does fix how it looks, but it leaves me wondering if there's something fundamentally missing in Unity's lighting system. I'd expect a real room with an open window in the middle of the day to not look as dark.

    • @MarcoStillSeasonsCattaneo
      @MarcoStillSeasonsCattaneo Před rokem

      If you are using Built in Pipeline or URP, there is really no "physical setting", so it's a very "artistic" approach and fun to work with. Make sure you use ACES tonemapper, well redacted PBR materials and then push sun intensity. With proper setup you should be able to set your sun to values like 5 or 7 with helps a lot with bounce lights to create more realistic interactions. JFYI, the directional in the video looks way low on intensity. On top of that, every light has a "indirect multiplier" slider which helps to pump bounce lighting even more. Use it carefully as too much indirect lighting can give you a totally flat scene, but used carefully does all the difference. EDIT: don't forget that theorically you should compensate your exposure setting on a location basis.

  • @floriang.5794
    @floriang.5794 Před 4 lety +1

    About the UV overlap. Does it matter if I increase the amount of lightmap padding or does it depend on the model UVs?
    BTW that was by far the best tutorial about lighting I have seen. Thx

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety

      Thanks, glad you like it. To answer your question, yes, if you are allowing unity to generate lightmap UVs, you control the space between islands via the lightmap padding value.

  • @huseyinucar7708
    @huseyinucar7708 Před 6 lety +1

    Thanks for all your efforts. :-)

  • @ibragimkhydyrov9147
    @ibragimkhydyrov9147 Před 5 lety +1

    thank you!

  • @fsxdb000
    @fsxdb000 Před 6 lety +1

    nice man , great video

  • @IntrophyGamer
    @IntrophyGamer Před 6 lety

    Thank you for this wonderful tutorial! It's very interesting. I watched it till the end. Btw I have tried only unreal engine and cryengine before but now I feel that unity is kinda easier than both. Have you tried unreal before?

    • @DIGITALMEAT
      @DIGITALMEAT  Před 6 lety

      Cheers! I tried UE a long time ago it didn't like bringing in models from c4d so i abandoned it, might take another look.

  • @Yanus3D
    @Yanus3D Před 5 lety

    Thanks for this wonderful tutorial! You explain so many question marks for me as beginner in Unity :)
    Btw, me as user of traditional rendering (Kraytracing/Lightwave) I do not agree with bounce light limits. 4 bounce light is nothing ...the minimum amount for real Global Illumination is at least 30-50 bounce lights. This is necessary to prevent continuum of Light Map. Only one software can do that without any problems: Kraytracing. We use pure 40 bounce lights (no tricks like multiply photos, fakes, etc). We can use maximum 1000 bounce lights but this is not necessary.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      I agree, for raytracing in a 3D program it makes sense to have much higher bounces, but in a game engine it doesn't make sense to go much beyond 4 because the results are diminishing returns.

    • @MarcoStillSeasonsCattaneo
      @MarcoStillSeasonsCattaneo Před rokem

      Usually nobody until very recent times used more than 5 bounces. If you need them you need to rethink the way you are lighting your scenes

    • @Yanus3D
      @Yanus3D Před rokem

      @@MarcoStillSeasonsCattaneo I use 40 bounces in CPU off line rendering (Kray Render Engine for Lightwave 3D...we can do 1000 real bounces in our engine, not fake)

    • @MarcoStillSeasonsCattaneo
      @MarcoStillSeasonsCattaneo Před rokem

      @@Yanus3D I'm sure you can use them (with all the patience of the world, I might say XD ) but in my experience in almost every industry (VFX, illustration ecc) that's no option (probably you are more arch viz oriented). Every lighting artist doing tests can agree that after 10 bounces the differences are so minute to see that the huge rendertimes aren't even a smart thing to bother with (law of diminishing returns). with 10 bounces (if you want to "push it"), ACES colorspace with no caps in the indirect filtering and good artistic skills and taste you can get amazing lighting without having to render for days. Don't forget that you can even tweak indirect contribution per light, in unity. In this particular tutorial, it's not a matter of 15, 30, 40 bounces, lighting ratio is a bit off so no number of bounces can give you natural results. By experience, by using ACES tonemapping, PBR calibrated materials, touch of bloom and no initial color correction, in URP the Directional light intensity can be pushed to 5, 7 for a high, vibrant sun in the sky (arbitrary values, for correct physical values you need HDRP). That's a good start to get the right feeling and have believable indirect lighting without cracking up bounces and increasing rendertimes by several factors. In the video the "Sun" has 1 of intensity and in fact, looks a bit odd!
      EDIT: I digressed XD What I mean is that if you can use 40 bounces, it's totally good, my point is to try not to pass the message that "with less than 40 bounces" renders aren't good enough, that's really not the case ;)

    • @Yanus3D
      @Yanus3D Před rokem +1

      @@MarcoStillSeasonsCattaneo And here I am after 3 years of developing pipe-line in Unity DXR with my Postprocess system, Surfaces Nodes system and experience for Architecture: step back to very little (not physical based) amount of bounce lights in Unity DXR xD. The reason why I start use it (even if is far away from GI/Raytracing quality) is that after over 25 years using CPU Offline rendering I got tired, especially when my Ampere 3090 gives almost the same result of rendering in approximately 30.000+ faster . Details on my channel.

  • @clenhof
    @clenhof Před 3 lety

    Thanks for this great video, it helped me a lot to understand Unity's lightmapper, so I donated 5£ ;)
    Also, do you have a link where I could download the model you use ?

    • @DIGITALMEAT
      @DIGITALMEAT  Před 3 lety +1

      Thank you! I very much appreciate the support. Unfortunately I no longer have that model, it was just something I whipped up quickly at the time of recording.
      Something that may interest you, I am currently working on creating a course with a partner that covers a VR setup with lightmapping and post processing, I'll keep you posted :)

  • @efimsavelev3147
    @efimsavelev3147 Před 6 lety +1

    Thanks!Thanks!Thanks!

    • @DIGITALMEAT
      @DIGITALMEAT  Před 6 lety

      no problem buddy, hope it helps

    • @efimsavelev3147
      @efimsavelev3147 Před 6 lety +1

      Very help. I am a young 3d specialist in a new russian AR firm. We use the Unity as the main engine. And I adore Cinema4D. I try to make friends with them according to your lessons. Many thanks!

  • @stephanschmidt66
    @stephanschmidt66 Před 5 lety +1

    hej .. great pro render tutorial you made! regarding this current tutorial i have one question: what is the hint in your cinema 4d room object to ONLY see the wall sides when the camera is looking from inside??? and the greatest thing is ... that it appears in unity in the same way ... whats the way? thx in advance ...

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      In unity, this is default, unity does not display the backsides of polygons. If you want to achieve this in cinema 4d, use a display tag on your object or group, and turn on backface culling

    • @stephanschmidt66
      @stephanschmidt66 Před 5 lety +1

      @@DIGITALMEAT thx 4 your fast reply. i thought this in c4d and will try it. what about your website? seems 2b offline ... sry 4 my poor english ...

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      @@stephanschmidt66 - Yes I'm making changes to the website, hopefully will be up soon

  • @AC-rc9vv
    @AC-rc9vv Před 5 lety

    Great video. I'm having a problem when baking, it takes a really long time. I don't know if its a hardware issue or settings I need to change. The very first bake took 7 minutes.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      It is hardware dependent, If you have followed along with my settings and it's taking longer, it maybe because you have more objects to bake or it maybe that you have a weaker CPU than mine, I have a Threadripper 1950X

  • @mirankamal5431
    @mirankamal5431 Před 6 lety +2

    great video :D

  • @stephanschmidt66
    @stephanschmidt66 Před 5 lety

    me again ... have seen your nice tutorial about the backface culling but what is the right way if i have walls INSIDE the room??? i have tried to set two planes side by side - but i thing i have to decide: visible or not ... would be great to know a posibility to set it 50% opac ... (maybe also via the display tag)

  • @amilom007
    @amilom007 Před 4 lety +1

    can you make similar tutorial on precomputed realtime GI for day-night switching scene

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety +1

      That something I could think about :)

    • @amilom007
      @amilom007 Před 4 lety

      @@DIGITALMEAT
      Realtime GI with modern hardware is the future, in Unity it seem simply ticking a checkbox and press the Generate button which take very long hours, but in reality there is much work with UV2 and lightmap parameters for optimization and fast baking

  • @adammed8667
    @adammed8667 Před 4 lety

    i still do not understand the dislikes! who would watch this video then press the dislike??!! the world got crazy...

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety +1

      Well, it is internet, and I'm fine with the like to dislike ratio :D

  • @kenkeez
    @kenkeez Před 5 lety

    Great video. Very clear and easy to follow. One quick question, as I am new to Unity. When you are navigating your model in scene view, it appears that you are walking inside of the space (Much like a first person controller). How are you doing this?

    • @kenkeez
      @kenkeez Před 5 lety

      Figured it out as "Flythrough Mode". Very useful.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      @@kenkeez - yeah, Just hold the right mouse button down and use the WASD keys

  • @gamedeveloper1440
    @gamedeveloper1440 Před 5 lety +2

    Unity: Progressive Lightmapper, Probes and Post Effects

  • @brovideolol3488
    @brovideolol3488 Před 4 lety

    I have changed every object in my room to static but still can't see the ceiling. (Im using probuilder.)

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety

      I honestly don't know what the means. Are you saying that you have set your ceiling to static but it is not being baked?

    • @brovideolol3488
      @brovideolol3488 Před 4 lety

      @@DIGITALMEAT Yup

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety

      @@brovideolol3488 - Has a lightmap UV been generated for your pro builder object?

  • @zig8925
    @zig8925 Před 3 lety

    It annoys mw that the ony way to se normal maps from fully baked lighting, is by making surfaces smooth and reflective

  • @yifengchen5274
    @yifengchen5274 Před 5 lety

    Dude, what spec is your workstation?

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      Motherboard = Asus Prime X399-A
      CPU = Ryzen Threadripper 1950X
      GPU = GTX 1080ti
      RAM = GSKILL Trident Z 32GB
      C: DRIVE = Samsung 970 EVO 1 TB V-NAND M.2

  • @smatthews1999
    @smatthews1999 Před 5 lety +1

    Excellent video. I've paid a lot more for a lot less.
    "You know... making videos for game dev is harder than you think. You should head on over to Udemy and earn some money for your hard work."

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety +1

      I thought I'd go for a different approach, I put up the content for free and hoped my users would be good enough to join my Patreon or make a donation at my website . . . . . . . . . . . . I have 15 Patrons generating $23 a month 😂

    • @smatthews1999
      @smatthews1999 Před 5 lety

      @@DIGITALMEAT Patrean is a tough sell because of the subscription model. I don't know what the profit is on Udemy, but at $11 a student, it has to be worth something. I have personally purchased 50+ tutorials on udemy but no patreons. IMO there is a real need for intermediate lessons such as this one.

    • @DIGITALMEAT
      @DIGITALMEAT  Před 5 lety

      @@smatthews1999 - The problem with places like Udemy is that if I sign up as a creator with them, my work becomes their intellectual property, I don't retain the rights to my own work.

    • @smatthews1999
      @smatthews1999 Před 5 lety

      @@DIGITALMEAT I didn't know that!

  • @championsofodin9868
    @championsofodin9868 Před 4 lety

    Does this use HDRP or URP or built in render?

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety +1

      This was done back before HDRP even existed, but it should work in both :)

    • @championsofodin9868
      @championsofodin9868 Před 4 lety +1

      DIGITAL MEAT sick it looks great

    • @championsofodin9868
      @championsofodin9868 Před 4 lety

      DIGITAL MEAT hey do you have any tutorials for doing this in an outdoor scene?

    • @DIGITALMEAT
      @DIGITALMEAT  Před 4 lety +1

      @@championsofodin9868 - I'm afraid not, I'll look into doing an outdoor setting, FYI, you'd typically not lightmap outdoor scenes.

    • @championsofodin9868
      @championsofodin9868 Před 4 lety +1

      DIGITAL MEAT oh ok got it. I’d still like to see your outdoor lighting setup ill keep an eye out for more vids

  • @kaos88888888
    @kaos88888888 Před 6 lety +3

    You sound like sargon of akkad

    • @DIGITALMEAT
      @DIGITALMEAT  Před 6 lety

      Lololol cheers

    • @ItIsNathan3D
      @ItIsNathan3D Před 5 lety +1

      voice is a bit deeper, was just coming off of one of his interviews haha.

  • @tomaszjanik858
    @tomaszjanik858 Před 5 lety +1

    Anyone, how can I give more likes?

  • @jirikaminsky6397
    @jirikaminsky6397 Před 5 lety

    this video shows how unity is bad at lightning, u must make 50 steps to get no problems , this never happened to me in ue3 or 4