HIGH QUALITY LIGHTING using Light Probes - Unity Tutorial

High quality lighting is not performant... Until now! Let's have a look at Light Probes in Unity.
► Get the free ebook! (sponsored) create.unity3d.com/nine-ways-...
● Simple Lighting in Unity: • LIGHTING in Unity
····················································································
❤️ Donate: www.paypal.com/donate/?hosted...
► Join Discord: / discord
● Website: brackeys.com/
● Twitter: / brackeystweet
● Instagram: / brackeysteam
········································­­·······································­·­····
► All content by Brackeys is 100% free. We believe that education should be available for everyone.
❤️ Donate: www.paypal.com/donate/?hosted...
········································­­·······································­·­····
♪ "ES_Dress Code_Black - oomiee" by Epidemic Sound

Пікірлер: 403

  • @Danidev
    @Danidev4 жыл бұрын

    ooo that's awesome, gotta try that!

  • @fl7977

    @fl7977

    4 жыл бұрын

    Y E S

  • @wagwan0

    @wagwan0

    4 жыл бұрын

    Karlson,yes

  • @stevenbraun918

    @stevenbraun918

    4 жыл бұрын

    Dani milk

  • @indieevolution7402

    @indieevolution7402

    4 жыл бұрын

    kzread.info/dash/bejne/aGmh18eCaJSdqbg.html

  • @SorcererStudios

    @SorcererStudios

    4 жыл бұрын

    Absolutely

  • @noravanguard3993
    @noravanguard39934 жыл бұрын

    Baked lighting is one of the ways the first mirror's edge looks so good to this day

  • @KZ_Suntorn

    @KZ_Suntorn

    4 жыл бұрын

    this guy gets it

  • @magnusm4

    @magnusm4

    4 жыл бұрын

    Graphically, meh. Style, kind of it's own thing but not fully realized. Visually appealing and beautiful, not really. It's like if cancer joined a chat and everyone grabbed a bathtub of bleach and started playing Splatoon

  • @icarusswitkes986

    @icarusswitkes986

    4 жыл бұрын

    I love mirrors edge

  • @miltosser6799

    @miltosser6799

    4 жыл бұрын

    half life alyx as well

  • @Skyflairl2p

    @Skyflairl2p

    4 жыл бұрын

    @@magnusm4 damn, the edge

  • @natalyasparrow6748
    @natalyasparrow67484 жыл бұрын

    Thanks for the tip on the ebook! I really needed something like this. Your videos have really opened up the world for me, because I always wanted to do game development but didn't think I could ever grasp the skills needed to make anything more than mods. That all changed when I found your channel. So again, thank you so much for all that you do!

  • @rorytait5640
    @rorytait56404 жыл бұрын

    Remember the old intro. I used to jam to it everytime. Great vids. Its because of you I got into programming and making games. thx and keep up the amazing work.

  • @MicMan2710
    @MicMan27104 жыл бұрын

    It seems like this is the only channel capable of teaching unity in a simple way. Other channels always over simplify or over complicate things. And so many of them have bad quality and bad accents. Awesome channel!

  • @bunnyviking7008
    @bunnyviking70084 жыл бұрын

    Good video. I was literally trying to figure out light probes this week as i knew they made the lighting more performant but the unity docs tell you how to place them, but not really what they do in detail. I love that your videos explain _why_ you're doing something, not just _how_ to do something.

  • @Runix1
    @Runix14 жыл бұрын

    Oh wow, yeah, I expected to have to type settings into each individual probe. This seems like a super easy way to really improve the feel of my games! Thank you!

  • @shadmansudipto7287
    @shadmansudipto72874 жыл бұрын

    I just learned this yesterday and it was hard with not many good tutorials, and you come up with one today.

  • @ZOMBIEBUST3R
    @ZOMBIEBUST3R4 жыл бұрын

    I love the timing in your videos. I was just starting playing around with lighting since I've always done 2D or real time stuff. As soon as I opened youtube to find a video on how to mix baked lighting with dynamic objects you appear on my recommended hahahhaha. This has happened a couple times already XD 10 out of 10, good mindreader.

  • @123Billygoatman123
    @123Billygoatman1234 жыл бұрын

    Super concise! Proper lighting has always intimidated me, but your lighting tutorials help a lot!

  • @benmeister
    @benmeister4 жыл бұрын

    I really needed this. You do such good work explaining all the features in short fun videos.

  • @Whatsittoy
    @Whatsittoy10 ай бұрын

    I was struggling with the Unity tutorial on lighting at the light probe section. They linked to this video for good reason- totally cleared up my misunderstanding of how light probes worked and how to set them up. Fixing my scene was cake after watching this, thanks! The bit about the light probes themselves showing the light at their position is very nice for debugging your light probe setup, and using a white ball or cube too.

  • @MythicLegionDev
    @MythicLegionDev4 жыл бұрын

    Thanks for the great video Brackeys! I didn't even now about light probes before this.

  • @brandonhohn245
    @brandonhohn2454 жыл бұрын

    THANK YOU, I was just getting into learning about lighting and was watching the older videos!

  • @eljerav6897
    @eljerav68972 жыл бұрын

    the ebook link is still working :D Great video and explanation, thank!

  • @andr3wdr0n3
    @andr3wdr0n34 жыл бұрын

    Wait, that non static object casts shadow being in shadow!

  • @riccardomariotti3863

    @riccardomariotti3863

    4 жыл бұрын

    I was going to comment the same thing. It really bugs me cause it's not realistic and if you notice it once you'll see it everywhere. Anyone got a solution? (Great video as always anyways)

  • @gower1973

    @gower1973

    4 жыл бұрын

    @@riccardomariotti3863 Yeh its called raytracing, all this other stuff is just fake tricks

  • @andr3wdr0n3

    @andr3wdr0n3

    4 жыл бұрын

    @@gower1973 realtime shadows solves that, but its "expensive calculations"

  • @profande

    @profande

    4 жыл бұрын

    @@andr3wdr0n3 yeah it's incredibly expensive cause it's raytraced edit: was mega wrong l0l. Read comment below

  • @GugureSux

    @GugureSux

    4 жыл бұрын

    No, this has nothing to do with raytracing. Simple Deferred-shading projection shadows are old tech, and quite "cheap" to run this day and age. Some professional games mix static shadow-maps and dynamic shadows, culling latter away at the distance. Some go a step beyond and use more complex algorithms to fade dynamic shadows in/out as they move within the static shadow-map, showing the projected shadows only when on a well-lit area. Obviously these can cause other issues if your scene has changing lighting conditions (ie. day/night cycle), so many games just cull out projected shadows and leave only the per-pixel shading on the 3D models intact.

  • @dremovremen1764
    @dremovremen176410 ай бұрын

    I guess a lot of things have changed over these years? I didn't add any additional probes except for the basic 8, but my sphere still adequately reacted to shadow/light blue/red transitioning.

  • @srmango1727
    @srmango17274 жыл бұрын

    Got the e-book. This is gonna be very usefil. Thanks for telling us

  • @raque5423
    @raque54234 жыл бұрын

    Cool and usefull. The quality of the video is high and very pleasant for eyes. Thanks to everyone in your team:)

  • @aggressivemastery
    @aggressivemastery4 жыл бұрын

    THANK YOU BRACKEYS !!! I've been having a problem with Amplify Imposter Shader, throwing the most screwed up and flickering self shadows. I had no light probes, but had my material set to blend with light probes(lazy to keep deselected that.) So it was blending at random between black of no light probes and the albedo texture. This tied in that all together for me this morning, and now it looks to be gone. This is a huge relief. Thank you, LOL Micah

  • @sundarakrishnann8242
    @sundarakrishnann82423 жыл бұрын

    An awesome teacher, I just remember your last video right now while seeing this video, I really miss your videos Brackeys...Please comeback...

  • @c1oudsky

    @c1oudsky

    3 жыл бұрын

    missing someone could sound nuce, but why ask to come back imagine you said goodbye to some people and moved on through your life with a smile cause you had other things you felt excited to go towards, but then someone reaches you and asks you to comeback? I feel like that would feel a bit off to ya, like you know what makes you happy but someone asks you to come back to something you got over

  • @siddharthtrivedi3322
    @siddharthtrivedi33224 жыл бұрын

    Amazing video and I really like this topic to cover :) One question - after implementing light probes, do we required Directional Light within the scene? I am asking this question because we baked light data.

  • @brandonfarfan1978
    @brandonfarfan19783 жыл бұрын

    As I was enjoying the lesson, it ended so soon. Thanks for this light probes lesson brackeys.👍

  • @JoshuaAnthonyYT
    @JoshuaAnthonyYT4 жыл бұрын

    Brackeys, I'm making a game in a duo team in which I do all of the programming for a national competition, and I just want you to know it would be impossible without your videos

  • @Oxmond
    @Oxmond4 жыл бұрын

    The ebook is AWESOME!!! 🤓❤️❤️❤️

  • @Oxmond

    @Oxmond

    4 жыл бұрын

    And great tutorial Brackeys! 👍

  • @blastoffproductionsgames9613
    @blastoffproductionsgames96133 жыл бұрын

    Thank you so much, I was terrified to use lightprobes before, now I know what they actually are now lol!

  • @DemersCreations
    @DemersCreations Жыл бұрын

    If the probes don't show up in scene-view you need to increase the 3D icon scale in the Gizmo dropdown.

  • @techtycho4752
    @techtycho47523 жыл бұрын

    Thanks, I always wondered what is light probes until I watched this awesome video!

  • @ThomasChen-ur2gt
    @ThomasChen-ur2gt3 жыл бұрын

    We miss you Brackeys

  • @____---__________--------_____
    @____---__________--------_____4 жыл бұрын

    Dude you're like a legend in my dev classes

  • @damsen978
    @damsen9784 жыл бұрын

    It would be absolutely fantastic if you make a video showing how to do a proper server browser, using filters and what not, all for online multiplayer games in Unity.

  • @sylvainatoz2045
    @sylvainatoz20454 жыл бұрын

    Thanks a lot. I really taught it was very complicated. Awesome.

  • @mitopaler5574
    @mitopaler55744 жыл бұрын

    very informative good starting point!!!!!

  • @songwengang755
    @songwengang7552 жыл бұрын

    What a nice tutorial as always!

  • @aaronplays_
    @aaronplays_4 жыл бұрын

    Please make a video about perfecting the baking. The sphere is casting shadows while in the shadow and the lighting transitions like a smooth gradient when going from shadow to light or vice-versa. At 7:59, the sharp line between shadow and light should be visible on the object too.

  • @ondrejeder8816
    @ondrejeder8816 Жыл бұрын

    Thanks for this, great short and simplem video explaining the concept :-)

  • @MrFunkaliciouss
    @MrFunkaliciouss4 жыл бұрын

    At first I didnt know how light probes worked but this helps, thanks brackeys

  • @PlayerOne360
    @PlayerOne3604 жыл бұрын

    Another great tutorial. Thank you

  • @IsTheRealKaz
    @IsTheRealKaz4 жыл бұрын

    1M subs!! Congratulations!!!!!

  • @ThirteeNov
    @ThirteeNov4 жыл бұрын

    Very nice tutorial presentation

  • @santiagojuarez1289
    @santiagojuarez12893 жыл бұрын

    Nice vid, keep it up :)

  • @emeraldmation7019
    @emeraldmation70194 жыл бұрын

    Can you do a grappling hook tutorial please

  • @siatap7310

    @siatap7310

    4 жыл бұрын

    Yes

  • @dsfmdiya7500

    @dsfmdiya7500

    4 жыл бұрын

    OMG YES

  • @gurka3141

    @gurka3141

    4 жыл бұрын

    ye

  • @itsar3275

    @itsar3275

    4 жыл бұрын

    yes..i too want that tutorial...please make

  • @maxlinneman4241

    @maxlinneman4241

    4 жыл бұрын

    check danis tutorials

  • @JoaoNeto-up8zi
    @JoaoNeto-up8zi4 жыл бұрын

    Finally new Brackeys!

  • @khybot
    @khybot3 жыл бұрын

    good explanation. thank you.

  • @Bruce.B
    @Bruce.B4 жыл бұрын

    Looks nice. But is it possible to avoid projecting object shadows on baked shadows? Maybe by disabling projection when shadow prop detected.

  • @hadi19851985
    @hadi198519854 жыл бұрын

    hey there brackeys, tnx for your great tuts can you make a video explaining "behaviour tree" and "vfxController" in 2DGameKit of Unity? really having a hard time figuring out them!(and i suppose nobody really haven't talked about it, at least in youtube and yes i googled a lot!!)

  • @mixture9445
    @mixture94454 жыл бұрын

    Hello Brackeys Love your videos

  • @SorcererStudios
    @SorcererStudios4 жыл бұрын

    You came just at the right time!

  • @legatodi3000
    @legatodi30002 жыл бұрын

    Hey! I wonder is there a way to make dynamic object to reflect a light to surfaces? Essentially the opposite of what showed at the video.

  • @realkorgo
    @realkorgo2 жыл бұрын

    Great video!

  • @huberthuppe6269
    @huberthuppe62694 жыл бұрын

    How can i make a dark basement? I make a house, and if go in the basement i need it complete dark, how can i do this?

  • @user-xn5vw9cp9x
    @user-xn5vw9cp9x4 жыл бұрын

    hi, can i get pleas more details about how can i use the sneal low in my scean(3D)? I'm traimg to show all the light rays betwin 2 points.

  • @bugcri4747
    @bugcri47474 жыл бұрын

    amazing!beautiful!

  • @ACAPULCO86
    @ACAPULCO869 ай бұрын

    you ROCK thanks!

  • @biocronic2986
    @biocronic29863 ай бұрын

    Very good video!

  • @federickpabalate3606
    @federickpabalate36064 жыл бұрын

    Hey bro do a tutorial for asset bundle i hope you can make it. Thanks for having you bro stay healthy and keep motivate others about game development :)

  • @Gnurklesquimp
    @Gnurklesquimp4 жыл бұрын

    Hey Brackeys, I may need to look through your videos better, but I've been thinking abouta top-down game with guns and jumps etc. that also interact on (Maybe pseudo-) vertical layers. I say pseudo cause old Zelda and Pokemon were 2d with (Sometimes one-way) collisions that create the illusion of verticality etc. I want it to be a very systemic game with blocks on grid (Think Axiom Verge) twin-stick game, but was wondering how ''vertical'' aim and arcing projectiles etc. would work. Even in the pseudo 3d Zelda's you could throw free-moving bombs over ledges that proportionately adjust range over +/- height, for example.

  • @ethanrushbrook3314
    @ethanrushbrook33144 жыл бұрын

    Brackeys videos are literally perfect. Why do people dislike?

  • @koyomojo
    @koyomojo4 жыл бұрын

    Thanks Brackeys ! 😌 Could you make a tutorial on a rhythm based game and principles of beat detection in unity please? 🙏

  • @pxltr

    @pxltr

    4 жыл бұрын

    I need it so much ( > -

  • @gabrielcoleman3267

    @gabrielcoleman3267

    4 жыл бұрын

    I recommend checking out this Tutorial series kzread.info/dash/bejne/Z6Sh0bJqirLVftY.html It starts with creating an audio visualizer, and later gets into syncing animations with Beats per minute. Probably will find what you need here.

  • @anonymoussloth6687
    @anonymoussloth66873 жыл бұрын

    this is good for moving objects with static lights. What do we do when we have moving/static objects with moving lights? For ex, if you have a environment with static objects like trees, ground, etc, but you have a day/night cycle where the sunlight changes. How can we optimize this? or the only way is to use realtime lighting?

  • 4 жыл бұрын

    I was wondering if you can make a tutorial explaining how to implement proper Occlusion Culling in our games :D

  • @justgamesin7281
    @justgamesin72814 жыл бұрын

    This seems realistic until you notice that the shadow fades onto the sphere. So standing on the shadow line, means you have a lighter shadow, not a half.

  • @primedialga

    @primedialga

    4 жыл бұрын

    or the light red taint is also on the upper half of the sphere...

  • @Icewind007

    @Icewind007

    4 жыл бұрын

    It's a good compromise to real-time lighting.

  • @bunnyviking7008

    @bunnyviking7008

    4 жыл бұрын

    I mean, do you care while you're moving around in a game ? If you're making a pure simulation for other purposes you can use straight realtime lighting and deal with the performance cost, it's not an either/or situation... you can even mix baked, mixed and realtime lighting in the same scene.

  • @clonkex

    @clonkex

    4 жыл бұрын

    Well of course. It's not magic. This is how lots of games handle lighting on dynamic objects and it's an excellent compromise that gives pretty nice results with extremely low run-time cost.

  • @justgamesin7281

    @justgamesin7281

    4 жыл бұрын

    I think the best solution for this problem is rendering the light around you in real-time and in the distance baked. I think that that’s how lighting works in mirrors edge. Which is still looking great 12 years later.

  • @isaiahgarcia1038
    @isaiahgarcia10384 жыл бұрын

    Do you have a tutorial for split screen camera and controls for 3D. Split screen games are one of my favorite types of games

  • @JSmith-sm6fv
    @JSmith-sm6fv4 жыл бұрын

    Can you make a video or a continuation on the videos with shooting with raycast, reloading etc. By making a video on recoil and how to aim down on sight

  • @oldmelancholic961
    @oldmelancholic96111 ай бұрын

    thank u bro!

  • @rafaelskiarteportfolio1098
    @rafaelskiarteportfolio10983 жыл бұрын

    awesome! thx

  • @heyyounotyouyou3761
    @heyyounotyouyou37614 жыл бұрын

    Very close to a million subs

  • @GG1440
    @GG14404 жыл бұрын

    Thank you for sharing this.

  • @rebellevi1935
    @rebellevi19354 жыл бұрын

    Can you please make a tutorial for first person wall running, i would really appreciate it

  • @dimitricalleau9754
    @dimitricalleau97544 жыл бұрын

    Thank you

  • @simulify8726
    @simulify87264 жыл бұрын

    I used Unity for a week and than switched to Unreal. Now before you read further, it's my opinion for the work I am doing. I have to say that even though unreal is a heavier engine than unity, the features it gaves you are more than that of Unity. I was able to prototype an FPS game in just 2 days with Blueprints. However, I liked Unity's coding system a bit more than Unreal's. Unity Pros: 1)C# easy to learn 2)Great for mobile game development 3)Supports multiple platforms 4)HUGE online community 5)Ease of Use 6)2d is supported and is very powerful 7)Shaders,VFX, and animations are node based but VFX and Shader graph still under development 8)Ray tracing support 9)Assets Store Cons: 1)Dark theme is only available for pro version 2)UI is a bit old (fixed in 2019.3) 3)Most new features incomplete or under experiment. 4)No source code available 5) Performance issues Unreal Pros: 1) Blueprints scripting 2) Graphical quality is very amazing 3)Can develop games for multiple platforms 4)Node based Materials 5)Node based Animations 6) Sample game Templates are available inside engine 7)Ray tracing support 8)QUIXEL'S MEGASCANS Library is free for all Unreal users giving you access to over 11200+ PBR with everyday new meshes and textures, photogrammetric meshes and textures. You can also use Textures.one as alternative. 9)Good tutorials Cons: 1)Project build files sizes are huge 2) It can take a week or so to learn the UI but gives you flexibility 3)Epic takes 5% of revenue if a game exceeds 3000$ USD 4)Not suitable for running on low end machines 5)2d support totally abandoned 6) Tutorials not in abundance like unity

  • @desmondcayce

    @desmondcayce

    4 жыл бұрын

    I feel like this was a very balanced comment, and honestly, as someone who uses Unity you should use whatever engine you want that does the job

  • @lemax2980

    @lemax2980

    3 жыл бұрын

    Btw, dark theme is free now🤓

  • @snalrus
    @snalrus4 жыл бұрын

    great video btw!

  • @Wayloz
    @Wayloz Жыл бұрын

    I miss you Brackey : (

  • @gammingchampion5394
    @gammingchampion53944 жыл бұрын

    You are much experienced in this line

  • @CCV334
    @CCV3344 жыл бұрын

    I'd love to know what you did in your post process volume

  • @lejocarry
    @lejocarry2 жыл бұрын

    That's too powerful :D ♥

  • @matrixcode2621
    @matrixcode26217 ай бұрын

    miss u brackeys plz come back

  • @LittleMikeStarCraft
    @LittleMikeStarCraft4 жыл бұрын

    Glad you can do this; hope you making actual money, and not just selling out for no reason.

  • @testonedev
    @testonedev4 жыл бұрын

    I feel like Brackeys is spying on me... whenever I stumble over a Unity issue, just one week later Brackeys makes a video about it. Happened already like 10 times... Just yesterday I was checking out those light probes and felt "ah, maybe another day"... Much appreciated.

  • @bartekkalemba8281
    @bartekkalemba82814 жыл бұрын

    Thank you ;)

  • @jaycooper6012
    @jaycooper60124 жыл бұрын

    Can you do how to make the UI of a settings menu

  • @Ballistic_Doug132
    @Ballistic_Doug132 Жыл бұрын

    What if you have a dark room with a roof and dark lights? Would I have to find shadows displaying from those lights everywhere?

  • @rajendraumrao9674
    @rajendraumrao96744 жыл бұрын

    Very close to 1million subs

  • @TheSpacecraftX
    @TheSpacecraftX4 жыл бұрын

    What about the shadow of the ball and occlusion from the light source when behind a wall?? Or is taht only possible with spot lights seeing as directional lights are basically global?

  • @DupyStreams
    @DupyStreams2 жыл бұрын

    sooooo helpfulll!!!!!!!!!!!!!!!!

  • @elgunlee
    @elgunlee4 жыл бұрын

    So light probes are lossy compression of real-time ray tracing?

  • @nazirshaikh5479
    @nazirshaikh54793 жыл бұрын

    Nice video

  • @upset5029
    @upset50294 жыл бұрын

    Could you please make a tutorial on how to do wallrunning in unity?

  • @entertainmentoverloaded5700
    @entertainmentoverloaded57002 жыл бұрын

    Thank u

  • @pball1000
    @pball10004 жыл бұрын

    If the sphere is half way in the shadow is there a way to a have the shadow's edge cast across it?

  • @lilyanamallor2562
    @lilyanamallor25624 жыл бұрын

    Can you do a video on how to implement in app purchases in Unity for android and iOS?

  • @wkhohwwhulvq3931
    @wkhohwwhulvq39314 жыл бұрын

    Could you potentially make a updated blender tutorial?

  • @Xgamesvidoes
    @Xgamesvidoes3 жыл бұрын

    Ow gosh! That is going to be a shit thon of work to polish my games when I am nearly done! XD Imagine making a games where every level got like 15-25 rooms that need to be baked and manually been probed! XD Great tutorial!

  • @JonathanMacher
    @JonathanMacher4 жыл бұрын

    Pls make a tutorial about Reflection plane probes in Unity!

  • @tharinduprabath2677
    @tharinduprabath26774 жыл бұрын

    very cool

  • @ALIPAKKHOO
    @ALIPAKKHOO4 жыл бұрын

    Hi. Thank you for your tutorials. Please make tutorial about AssetBundle.

  • @Rex9594
    @Rex95944 жыл бұрын

    I got this one early, finally

  • @sabrango
    @sabrango4 жыл бұрын

    thx!

  • @MadpolygonDEV
    @MadpolygonDEV4 жыл бұрын

    Ue4 does probes placement automatically and also adjusts shadows in shadowed areas

  • @marcinziajkowski3870
    @marcinziajkowski3870 Жыл бұрын

    Brackeys when will you be back? I still have hope for your glorious comeback,