Harnessing Light with URP and the GPU Lightmapper | Unite Now 2020

  Рет қаралды 109,790

Unity

Unity

Күн бұрын

In this video, you'll gain an understanding of how lights and shadows work in the Universal Render Pipeline, as well as how to set up a scenario with a mix of real-time shadows, Light Probes, and baked GI.
Speaker:
Ciro Continisio
Ask your questions here: on.unity.com/2UmP9TE
Did you find this video useful? Room for improvement? Let us know: on.unity.com/2Ydm26z
Check out the Unite Now page to be among the first to watch upcoming sessions: on.unity.com/30hMK0x
00:00 - Intro and agenda
01:33 - Universal Render Pipeline
02:42 - Realtime lighting strategy
04:40 - Shadow quality, cascades
13:36 - Baked lighting strategy
18:54 - Explanation of lightmapping
22:44 - Filtering and Charts
28:46 - UVs
35:50 - Iterating on the right settings
37:56 - Mixed lighting
43:02 - Light Probes
51:44 - Reflection Probes
56:25 - Wrap-up

Пікірлер: 110
@venera224
@venera224 2 жыл бұрын
All other unity tutorials should strive to this standard
@Bryanox7
@Bryanox7 5 ай бұрын
best tutorial 3 years later ❤️🖤
@akmalsalikhov3732
@akmalsalikhov3732 3 жыл бұрын
Best tutorial I've ever seen on Lightmapping. Thank you, Ciro! By the way, you have a great voice and I would love to see and hear more tutorials from you!
@andriypostelzhuk8489
@andriypostelzhuk8489 3 жыл бұрын
100% agreed
@prestonjong
@prestonjong 3 жыл бұрын
@@CiroContinisioUnity this was so helpful, concise and I learned a lot in this tutorial.
@pratyushbarikdev
@pratyushbarikdev 3 жыл бұрын
This is the best video on lighting so far.
@ericmonnereau
@ericmonnereau 3 жыл бұрын
The most best and detailed tutorial of lights in urp. Now i need tu put this in my game! Thanks Ciro!
@ShackMan
@ShackMan 3 жыл бұрын
One of the best Unity tutorials I have ever seen! This will result in less headaches for devs and better looking games for everyone. Thank you!
@ahnng
@ahnng 3 ай бұрын
This is pure gold! A single video can convey so much more than countless pages of documents
@tiredlocke
@tiredlocke 3 жыл бұрын
I've read and I've watched and I've played around with lighting for a long time... Several concepts finally just "clicked". Thank you! Now I'm off to do some baking!
@pixelscholar
@pixelscholar 3 жыл бұрын
By far the most coherent and well organized video that your team has ever produced on the topic of lighting in Unity. Nice job! My team made the switch from rendering animations using 3DS Max to real time rendering using Unity about a year ago and I've spent the past several months running down the best tutorials on the topic of lighting and the URP on KZfaq as well as several paid tutorial sites. This video is the clearest and most comprehensive by far and watching it really made me feel as though I've finally reached a cohesive understanding of the process and the underlying logic. Thanks and keep up the good work!
@CaseyHofland
@CaseyHofland 3 жыл бұрын
Thanks for this video! Save for understanding the relation between static objects and baked lighting, I have never known what I was doing when it came to the lightmapper. This was a really clear in-depth explanation with a lot of tricks that I'll be sure to apply to that sweet "performance by default" workflow!
@LloydVincent11
@LloydVincent11 3 жыл бұрын
Fantastic video. I think most people who make tutorial videos don't have a confident grasp on this subject so it always gets ignored or glossed over. It's great to finally get some solid info and explanations.
@WidmerNoel
@WidmerNoel 2 жыл бұрын
I wish I would have found this earlier. This clears up so many things for me. Thanks a lot!
@D-Dev
@D-Dev 2 жыл бұрын
One of the best Unite Now videos, and one of the best video about light mapping.
@MrWetwilly69
@MrWetwilly69 3 жыл бұрын
This is an essential tutorial, i cant believe I didnt notice it on unitylearn or some other place
@evanlane1690
@evanlane1690 3 жыл бұрын
What a fantastic talk! Thank you Ciro. This has helped clear up a lot of Unity's numerous settings.
@brianfromearthhh
@brianfromearthhh 3 жыл бұрын
Thank you so much for this! We need more in depth URP tutorials
@UGuruz
@UGuruz 4 жыл бұрын
Extremely Helpful... Thanks
@dewlorr
@dewlorr 3 жыл бұрын
Excellent tutorial! Easily the best one i have seen so far for Unity lighting .
@expansevr
@expansevr 3 жыл бұрын
Fantastic breakdown on lightmapping. Great work Ciro and Unity Team!
@bsorochka
@bsorochka 3 жыл бұрын
Awesome Tutorial, I wish I had come across this when it was first released. Great speaking voice. The organization of topics/presentation flow was also fantastic. Thanks!
@sarangborude8260
@sarangborude8260 2 жыл бұрын
OMG!!! Thank you for such an amazing video. All parameters now make sense to me.!
@chriswatts3697
@chriswatts3697 3 жыл бұрын
Very well explained ! Please more of this type of video!
@XRelabs
@XRelabs Жыл бұрын
Magnificent 😍 this is very helpful, Informative and to the point, thank you Ciro thank you unity. You really helps us a lot ❤
@soandsononame8750
@soandsononame8750 3 жыл бұрын
great video Ciro thank you , one of the best available for unity. Great speaking voice and organization of topics / presentation flow / etc. Thank you
@kykilli3126
@kykilli3126 3 жыл бұрын
This is a great job explaining the light map settings.
@BabbSteve
@BabbSteve 3 жыл бұрын
Fantastic talk! Thank you for such fundamental explanations - very well done. Cheers! **Quick note for folks who are getting noisy light bakes even with high settings, go to Project Settings > Player > Other Settings Section > Lightmap Encoding > set to 'High Quality.' I was getting really bad bakes and it took a few minutes to figure that out. Maybe a note to Unity, but having the default of that setting at 'Low' produces very unwanted default behavior. As a artist with so many settings already, a bad default one causes frustration. Turn that sucker up, please. :) :) (Maybe this was mentioned in the talk and I didn't notice it.)
@jamesmcelroy414
@jamesmcelroy414 3 жыл бұрын
Seriously though. Even though I knew a lot of stuff mentioned in the video, this was very-very helpful. THANK YOU!
@maqivanova305
@maqivanova305 3 жыл бұрын
Such a great tutorial! It was very helpful, thank you!
@alec_almartson
@alec_almartson 2 жыл бұрын
Amazing Talk! Thank you for teaching is all those techniques 👍🏻🙏🏻
@AllanPichardo
@AllanPichardo 3 жыл бұрын
Fantastic walkthrough! Thank you.
@3po_Orisen_Sithappen
@3po_Orisen_Sithappen 3 жыл бұрын
this is the best explanation ever ty for being direct
@alextreme98
@alextreme98 Жыл бұрын
Thanks for this awesome video!
@hosky1164
@hosky1164 3 жыл бұрын
Excellent video.
@martinpichler7268
@martinpichler7268 3 жыл бұрын
Awesome tutorial. Very well explained.
@HananonArtworks
@HananonArtworks 3 жыл бұрын
Thank you for making this!
@droweedryan
@droweedryan 3 жыл бұрын
this is very informative thanks keep up these cool vids!
@lupenituikalepa9520
@lupenituikalepa9520 2 жыл бұрын
amazing tutorial! Thank you
@FlorianHanke
@FlorianHanke 3 жыл бұрын
Excellent presentation, thanks!
@vrhealth6977
@vrhealth6977 3 жыл бұрын
Thank you Ciro !! I am starting in URP and I need to learn the Light URP topics for my own VR project...
@Mikelica69
@Mikelica69 3 жыл бұрын
Super useful video, thank you
@bxbvxbv
@bxbvxbv 4 жыл бұрын
this was really great thanks ❤
@ahmedsouody1765
@ahmedsouody1765 Жыл бұрын
Great tutorial thanks😊
@dragoneelyuu
@dragoneelyuu 3 жыл бұрын
Amazing tutorial, Danke!
@rashiddev7545
@rashiddev7545 3 жыл бұрын
I hope unity start making videos like this instead of the live ones which are somewhat helpful but this video is 100% helpful
@velkinlabs2241
@velkinlabs2241 3 жыл бұрын
Very helpful. Thank you.
@jacobhansenm
@jacobhansenm 3 жыл бұрын
Awesome Tutorial :-)
@nexcentric4848
@nexcentric4848 3 жыл бұрын
Great great best video! Thanks!!!
@andriypostelzhuk8489
@andriypostelzhuk8489 3 жыл бұрын
Wow! Right now I am struggling with URP lights in out project.
@vandermunnik
@vandermunnik Жыл бұрын
Now for an exterior scene with an interior setting (like a house in a forest for example) is subtractive or shadowmask recommended (URP) target platform PC.
@Evilc00kies
@Evilc00kies 3 жыл бұрын
very good video :D
@Wingsgames1
@Wingsgames1 3 жыл бұрын
Awesome !
@pourmydrank
@pourmydrank 2 жыл бұрын
Thank you
@stacis
@stacis 3 жыл бұрын
Amazing tutorial and thank you very much for this. I have one question for now, because I haven't finished it yet. In 18:54 you start explaining how the lightmapping works and my question is this: You say that texel is shooting rays that try to find the directional light or environment light etc. It should not work the opposite way, where the directional light or the environment or any other light source is casting light rays that our bouncing on the geometry and are captured on the lightmap? This is what I have understand from other tutorials as well, and also, this is what I know from other software as well (Mental Ray, Arnold, Keyshot, Marmoset etc) Looking forward to your answer and thanx again for this great tutorial
@rubygraves978
@rubygraves978 3 жыл бұрын
I finaly know what I’m doing :D
@halivudestevez2
@halivudestevez2 3 жыл бұрын
must see!
@Nate-BreakingPoint-Interactive
@Nate-BreakingPoint-Interactive 3 жыл бұрын
Great video. Any hints to when we might expect more dynamic lighting features to replace Enlighten? It's very frustrating wanting to release a future game on many platforms with URP but also have a day and night cycle. Good lighting is pretty non existent for such dynamic lighting currently in URP.
@na.5010
@na.5010 4 жыл бұрын
Heck yeah, 👏👏👏👏👏👏🙌☝
@chand81p
@chand81p 3 жыл бұрын
Excellent video. Very nicely explained.
@sean8306
@sean8306 3 жыл бұрын
Thanks :-)
@muggy5907
@muggy5907 3 жыл бұрын
This is a very good tutorial! Thank you very much! I have a question also. Do you have any idea why light passes through my meshes? The edges of the mesh has light passing through it. Thanks in advance!
@muggy5907
@muggy5907 3 жыл бұрын
@@CiroContinisioUnity In realtime. My mesh is just a small room and in the edges of the room, I can see light passing through :(
@RainbowSlinky5
@RainbowSlinky5 3 жыл бұрын
just wondering what is the main difference between a regular 3D template from Unity and its Lightmapper tools/settings are and the URP's Lightmapper/tools/settings. I've noticed a few similarities , is there any difference at all??
@zarodgaming1844
@zarodgaming1844 2 жыл бұрын
"Looking through the eyes of the Sun ..." dude, that feels like a line from a lovecraftian novel xD
@mrslake7096
@mrslake7096 2 жыл бұрын
36:39 does lightmap resolution affect lightmap size ? ( I thought it only affects the time it takes to bake )
@morphtek
@morphtek 3 жыл бұрын
when is a-trous filtering going to be available ?
@TheBilly
@TheBilly 3 жыл бұрын
24:00 Gow-See-In not Go-Shin (Gow like "gown". Gow rhyming with cow). Carl Friedrich Gauss
@DonutGuy640
@DonutGuy640 Жыл бұрын
I get the sense that I could use reflection probes, or maybe light probes, to make an unlit, subterranean room very dark. Someone please correct me if I'm wrong. Just to mess around with it though, and get a feel for it, I've created a reflection probe enclosing the central room in the FPS Microgame Learning Template, and can't tell that it is having any effect whatsoever.
@vaibhavjaiswal799
@vaibhavjaiswal799 3 жыл бұрын
Anything about mobile optimization while using post processing Post processing really drops the fps on a high level
@vaibhavjaiswal799
@vaibhavjaiswal799 3 жыл бұрын
@@CiroContinisioUnity Is there any way to use post processing but still get high performance..? I have seen many mobile games using image effects but still getting high performance
@_denzy_6310
@_denzy_6310 3 жыл бұрын
Tonemapping and color grading work. The rest are so performance intensive
@vaibhavjaiswal799
@vaibhavjaiswal799 3 жыл бұрын
@@CiroContinisioUnity Well thanks a lot, I'll try as you suggested
@eugene4950
@eugene4950 3 жыл бұрын
is there a way to get Light Probe shadows information into custom unlit shader graph ?
@smally5739
@smally5739 3 жыл бұрын
unity needs to give us a way to preview area lights
@panagiotiskaragiavouroglou1998
@panagiotiskaragiavouroglou1998 3 жыл бұрын
What if I want to use more than 8 lights in one scene with urp ? The light pixel count is limited to 8. Should I switch to srp ?
@chiritescuuu
@chiritescuuu 3 жыл бұрын
Having baked lights and the shadows are cast, what will happen to the shadows when there is wind in the scene and the vegetation moves ? Will the shadows reflect the vegetation movement ? Thank you !
@janwagner3020
@janwagner3020 3 жыл бұрын
Shadows in baked lights are directly painted in the texture and cant be moved, so no
@TYNEPUNK
@TYNEPUNK 3 жыл бұрын
this info is not available anywhere else! thanks
@skeggs
@skeggs 3 ай бұрын
32:12 He was a poet and he didn't even know it
@okie1630
@okie1630 3 жыл бұрын
how do you restore project back to Built-in render pipeline? They warned about backup on the website, instead of in-engine.
@okie1630
@okie1630 3 жыл бұрын
@@CiroContinisioUnity Thank you Ciro!
@magellan124
@magellan124 3 жыл бұрын
Why does the lightmapper cast from the objects in the scene to the light rather than the other way around? Thats how photons work right? It seems like it would be less computationally expensive to do it that way. I am sure that there is some good reason for this, I just don't understand it. I don't have an engineering background.
@khoing1111
@khoing1111 3 жыл бұрын
well, it is the opposite. If you cast a small number of rays from the light source, there are good chances it will not reach the pixel you want to calculate the light on (Unless you use millions of rays which will take ages). Not to mention, a lot of rays will be wasted if it does not reach any geometry at all or reach one that has lower resolution that we don't care about.
@magellan124
@magellan124 3 жыл бұрын
@@khoing1111 that makes perfect sense. Thanks for the reply Khoi!
@Zokappa
@Zokappa 3 жыл бұрын
Hi guys, I'm having an issue where all my objects turned white after I baked the lighting, I have a directional light, and couple of point lights (wich ill eventually change for area). My lightning mode is substractive and my directional light is mixed. Any ideas?
@Zokappa
@Zokappa 3 жыл бұрын
@@CiroContinisioUnity Thank you very much, I'll check this asap!!!
@luisritod3620
@luisritod3620 2 жыл бұрын
5:43 shadows
@ryanfuller8690
@ryanfuller8690 3 жыл бұрын
Is this for unity 2019 or 2020. My understanding is URP is much better in 2020.
@ehsanakrami4365
@ehsanakrami4365 3 жыл бұрын
i can't deeply understance what is defrence between Baked Indirect and Shadowmask Option. can somebody explain that to me?
@ehsanakrami4365
@ehsanakrami4365 3 жыл бұрын
@@CiroContinisioUnity thanks for answer and resource I will check it all If I still had a confusion on it I will share it with you
@halivudestevez2
@halivudestevez2 3 жыл бұрын
I have no realtime lighting.... I have to remake bakes maps when I want to see the results.
@TYNEPUNK
@TYNEPUNK 3 жыл бұрын
Great video, sometimes you sound Welsh somehow :)
@okie1630
@okie1630 3 жыл бұрын
But 2nd Reflection Probe overrides exterior of Hangar too... so how you do not override the exterior?
@okie1630
@okie1630 3 жыл бұрын
@@CiroContinisioUnity Oh hi Ciro didn't expected you answering! Thanks for the reply! Because my object is curved, as for now I use blend distance to have at least little effect. May I ask if there is a way to apply Culling Mask, like we do with Lights - to apply Probe for "Interior" Layer only?
@okie1630
@okie1630 3 жыл бұрын
@@CiroContinisioUnity thank you!
@smoovlo4373
@smoovlo4373 3 жыл бұрын
What were the assets used? I couldnt hear him properly
@smoovlo4373
@smoovlo4373 3 жыл бұрын
@@CiroContinisioUnity thank you, this was the best lighting tutorial ever made by unity.
@harrysanders818
@harrysanders818 3 жыл бұрын
Hilarious to see that even the guys working at Unity do the - - - - - - - - PARENT X - - - - - - - - - - stuff, due to the painful lack of folder elements for visual distinction and organization purposes in the hirarchy. I would say it is less funny than it is tragi-comical.
@_denzy_6310
@_denzy_6310 3 жыл бұрын
I had a 5hr bake with 10 million texels. My pc is hella crap
@MegaCX
@MegaCX 3 жыл бұрын
It hurts that I don't understand anything, I don't know what it costs them at least to subtitle the video into Spanish
@Xeraclom14
@Xeraclom14 3 жыл бұрын
I dont know how much it costs you to learn english either. If you dont know english then i've got bad news for ya
@mowax74
@mowax74 2 жыл бұрын
Very good talk. But your explanation of the light bounces when baking around 20:10 does not make too much sense to me. I think it's the other way around. The rays are not shot from a texel point on the surface to the light source. They are shot from the light source to the surface point. The lightmap texel on that point gets lit. Then, the ray color samples a little bit from the surface color to the ray color, and bounces back, hopefully hitting another surface point. This new texel gets lit with the new color from the ray, samples some surface color to it again, and the game continues till the number of bounces is reached. The more bounces, the more you get rid of those unnatural dark corners, even when the ray with this 4th bounce does not have that much of energy left.
@Test-ff2cx
@Test-ff2cx Жыл бұрын
After watching this video, I think I am out of league
@CiroContinisio
@CiroContinisio Жыл бұрын
This video is intended for whoever already understands a bit about rendering and lighting. Take it one step at a time!
@kelleyintegritysafetysolut484
@kelleyintegritysafetysolut484 3 жыл бұрын
How about a refund Unity since you've dropped the ball for months on end. and taken my payment for services you did not provide.
@DocOfDead
@DocOfDead Жыл бұрын
🏳️‍🌈🏳️‍🌈🏳️‍🌈🙄
@jeronimocollares320
@jeronimocollares320 2 жыл бұрын
Better solution to bake lights: change to Unreal. Unity is full of bugs in bake management, already reported in the community (which Unity doesn't READ and if it DOES READ, it just ignores).
Simulating Wind in URP (Shader Graph Tutorial)
6:59
Unity
Рет қаралды 75 М.
Unity Lighting Clinic 1
28:44
The Unity Workbench
Рет қаралды 79 М.
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 11 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
The Problem with Wind Energy
16:47
Real Engineering
Рет қаралды 1 МЛН
Basics of Lightmapping in Unity. How baking light in Unity?
13:15
Mixall studio
Рет қаралды 47 М.
Basics of Lightmapping in Unity 2020.1
14:10
UGuruz
Рет қаралды 191 М.
Why Unreal Engine 5.4 is a Game Changer
12:46
Unreal Sensei
Рет қаралды 1 МЛН
Perfecting Shadows in Unity: Introductory Guide with Troubleshooting!
12:44
Fist Full of Shrimp
Рет қаралды 3,8 М.
Graphics comparison | Unity URP vs HDRP
3:36
Balkanware
Рет қаралды 4,5 М.
Top 100 Best PC Games from the Last 12 Years | Action, Racing, FPS & More
18:18
Spot-On Entertainment
Рет қаралды 1,3 МЛН
ДОЛГОЖДАННЫЙ СОЮЗ | Сюжет skibidi toilet 75
10:57
Отмечай День Рождения WoT Blitz Вместе с Нами!
1:27:05
WoT Blitz Без Границ
Рет қаралды 156 М.