Efficient and impactful lighting with Adaptive Probe Volumes | Unity at GDC 2023

  Рет қаралды 25,271

Unity

Unity

Жыл бұрын

This session will showcase the advantages of adaptive probe volumes over legacy light probes (automated placement, per-pixel lighting, reflection probe normalization, and lighting scenarios). How to set up the system and how to fix light leaking (tools for debugging and tuning APV) with multiple scene examples.
#unity #unity3d #lighting

Пікірлер: 48
@Maskedmous
@Maskedmous Жыл бұрын
Lighting is one of the complex subjects that a lot don't get right or just don't bother to get right due to its complexity. It would be nice if Unity expanded the Unity Learn section on lighting. Using the new APV system. How to create nice lit scenes from A to Z. From smaller scenes to larger scenes. How to do proper Day / Night cycles. All for URP and HDRP.
@biggboysouth
@biggboysouth Жыл бұрын
Exactly, we end up having to scour the web for tips and tricks from different sources and attempt to compile them to work for our scene. Usually "good enough" is the level of quality we end up with lol.
@Hazzel31337
@Hazzel31337 Жыл бұрын
great talk thank you
@jishanahamed8592
@jishanahamed8592 Жыл бұрын
I recently started learning about lighting, and now I understand why it is a separate skill.
@alejmc
@alejmc Жыл бұрын
4:29 Oh, I was expecting to be an updated tool to probe placement but the per pixel enhancement is very quite nice!
@praveenb-xr
@praveenb-xr Жыл бұрын
long waited content Finally
@CoolSmek
@CoolSmek Жыл бұрын
16:20 👍👍👍
@Hazen_Muhammad
@Hazen_Muhammad Жыл бұрын
So can we bake AVP and lightmaps together? Or we only have to choose one of them in one scene?
@KYL3R64
@KYL3R64 Жыл бұрын
afaik you can mix them, but you have to choose either "Receive Global Illumination: Lightmaps" or "Receive Global Illumination: Light Probes" per each MeshRenderer. At least with the latest beta version that I tried :)
@silvaright
@silvaright Жыл бұрын
@@KYL3R64 Thats what I thought but thank you for sharing mate, Cheers!
@containedhurricane
@containedhurricane Жыл бұрын
I can't find the experimental package in the latest version of Unity. How can I test it?
@pelitonic
@pelitonic Жыл бұрын
What version of unity does this actually work in? The probes don't display in all the versions I tried.
@Kolyasisan
@Kolyasisan Жыл бұрын
Efficient? Not at all, there is no adequate runtime leak prevention tech for APVs. The offline touchup volumes don't do it enough justice in a lot of cases, because there are many scenarios with valid, visible rooms on other sides of the thin enough walls. You're just throwing artefacts from one side to the other, as even visible at 14:31. Plus, for our artists it's a hassle to control these volumes and use debuggers, manipulating the grids of probes feels easier for them. And biasing in itself introduces a lot of caveats as well. A runtime depth-based or visibility-based invalidation of probes is necessary to determine if a probe at a sampling position should be contributing. Though, understandably, that may require a lot of storage (L2 SH needs 27 floats and there are packing optimizations, and now compare that to 64 octahedral depth samples). In fact, you tried to experiment with octahedral depth and even have semi-working lightmapper output support for them, but I imagine you didn't implement it precisely because of the storage concerns, am I correct? Heck, how about just using a rotated cube depth encoding like in TLOU2? It had very sparse hand-placed probes, but APVs can have so much more density and give accurate results, so why even not? Or is it a problem because now you can't do hardware interpolation of the probes in a brick and will require 8 full loads? But other than that, it's a solid tech overall, but runtime leaking prevention is absolutely necessary in order to make it truly useful for us and, I believe, many others.
@thomasfalcon6350
@thomasfalcon6350 Жыл бұрын
Unity investing development time in already obsolete technology, instead of working on developing a proper realtime GI solution...
@KRGraphicsCG
@KRGraphicsCG Жыл бұрын
​@@thomasfalcon6350this
@Kolyasisan
@Kolyasisan Жыл бұрын
@@thomasfalcon6350 I can assure you that APV is far from being an obsolete technology, as realtime GI solutions in themselves have loads of limitations. Something like Lumen is a cool piece of tech, but you sure as heck ain't gonna run it on a last-gen conole, mobile phone or a low-end desktop GPU. And good luck fighting the noise and temporal artefacts, especially if your project cannot support mandatory TAA. And also good luck having reduced precision and artefacts for tranparencies due to them relying on Lumen data projected onto the camera-relative APV equivalent in Unreal.
@fransh9583
@fransh9583 Жыл бұрын
​@@thomasfalcon6350 Most game/realtime 3D projects are not aimed at platforms/specs that can support realtime GI at respectable frame rates in the coming... Lets say, 5 years? Likely longer if we take mobile and standalone VR into consideration. So from that perspective it's reasonable to suspect that APV will remain usefull for years to come if they work out the kinks and continue to support it. And besides that, HDRP already supports raytracing, specificaly path tracing, that once the hardware of the average joey catches up to it, already provides your desired proper realtime GI solution. So your claim that this is a "obsolete technology", i do not understand how you could say that, and i find my self on the other side of that argument. I think this is a great piece of technology that fits the bill for the current requirements untill we likely reach a point years from now, where most to all hardware can finaly provide realtime GI for all users. Untill then, things like APV are required to fill the gap.
@QErikNL
@QErikNL Жыл бұрын
@@thomasfalcon6350 Realtime GI is too expensive for mobile platforms. Besides, the most impressive lighting in AAA games also still depend on lightmapping and baked GI. It is far from obsolete. The fact that the APV system supports per pixel lighting makes lightmapping in many cases already not a necessity anymore and help iteration time. I do agree that in some cases a better realtime GI system would be preferable, but only good GPU's can run it. Don't be fooled by Unreal Engine tech. Things like Lumen are very impressive, but it comes with a cost.
@bugajification
@bugajification Жыл бұрын
after baking my probes are all black. what do I do?
@keelfly
@keelfly 6 ай бұрын
Lighting Scenarios is not working as advertised and it barely does anything. You cant find examples on how to blend it anywhere.
@qin6409
@qin6409 Жыл бұрын
which version of unity ?
@Hazen_Muhammad
@Hazen_Muhammad Жыл бұрын
I try to do this but find out my scene always baking the lightmpat, even when i press the bake button in the probe volume menu.. that's why mine took very long time to bake, didn't find the tutorial how to bake with probe volume only. And after the bake complete, i try to add sphere mesh with hdrp/lit material, then try to moving it around to try if the APV working, but the sphere still look flat all over the room not affected with all the probes, or simply it's just my wrong step.
@silvaright
@silvaright Жыл бұрын
I think you need to enable what source of lighting will affect each object, like Kai F said above " Kai F 2 weeks ago afaik you can mix them, but you have to choose either "Receive Global Illumination: Lightmaps" or "Receive Global Illumination: Light Probes" per each MeshRenderer. At least with the latest beta version that I tried :)"
@MarcoStillSeasonsCattaneo
@MarcoStillSeasonsCattaneo Жыл бұрын
If lightmaps are created it means that your static objects have "receive global illumination" set as "lightmaps" instead of lightprobes.
@MinhNguyen-vl7jj
@MinhNguyen-vl7jj 7 ай бұрын
How to make it work with multiscene workflow??
@renzocoppola4664
@renzocoppola4664 14 күн бұрын
I think light probes could be massively compressed. It is memory bounded, the programmers should know it. Not just memory, it's bad for build sizes.
@ashishpatel2448
@ashishpatel2448 6 ай бұрын
Background noise of talking people are too loud please aware this
@Govi627
@Govi627 Жыл бұрын
Isn't the amount of probes a bit excessive? Would this be inefficient for mobile platforms?
@StevenBloomfield
@StevenBloomfield Жыл бұрын
Isn't this for HDRP?
@SimonTysland
@SimonTysland Жыл бұрын
@@StevenBloomfield It's for URP as well.
@DmytroMomotov
@DmytroMomotov Жыл бұрын
64 Gb RAM is not enough for bakeing large scenes :(
@504Rone
@504Rone Жыл бұрын
This uses gpu v ram not cpu ram.
@DmytroMomotov
@DmytroMomotov Жыл бұрын
@@504Rone from my testing it uses GPU ram only if bakeing with GPU, and CPU ram if baking light with CPU. In both cases on s large scale it is very easy to runout of memory
@HIBIKIent
@HIBIKIent Жыл бұрын
@Dmytro Momotov, similar to having high frequency and low frequency reflection probes you can do the same with APV baking different sets for high medium and low, similar to how the auto placement works from sky to detail, but you have a lot more control over min max distances for those specific high mid low areas.
@bezoro2008
@bezoro2008 Жыл бұрын
Carefully set the lightmap resolution scale for all assets (you probably have many assets with way too high a scale driving up the memory needed to bake) and separate the large scene into multiple smaller scenes.
@shikhermyv
@shikhermyv 11 ай бұрын
Yeah, 👍
@mastjappa
@mastjappa Жыл бұрын
Why is everyone talking through the presentation?
@QErikNL
@QErikNL Жыл бұрын
Because it is not a closed environment, it is on the show floor xD.
@mastjappa
@mastjappa Жыл бұрын
@@QErikNL 😓
@alejmc
@alejmc Жыл бұрын
Haha, I do find the whole situation and the comment hilarious. At least what he is saying is clear though, enjoyed it.
@EMPERENIKA
@EMPERENIKA Жыл бұрын
i don't get 60% of unity user use urp 20% built in and only 10% for hdrp but you work on it move than both of them
@beardordie5308
@beardordie5308 Жыл бұрын
2023.1 tech stream just added this feature for URP
@biswajitpanda9159
@biswajitpanda9159 Жыл бұрын
Unreal is spitting features after features that is breaking technologies. Unity is needlessly trying to compete with them which they will miserably fail. At least be master at what you good at. Please work on 2d features where unreal can never compete. 2d lighting and shadows, their performances and technologies related to 2d that where you should directionally focus. Also don't forget that your user base are indie. Give features that will benefit indie teams. Indie developers are somewhere forgotten in the dust it seems. Please work on engine features that already need to be polished. Am i wrong please correct me.
@containedhurricane
@containedhurricane Жыл бұрын
Unreal's Nanite and Lumen are groundbreaking, but they tend to crash the app on low-end laptops. I want Unity to make more stable versions of those techs and finalize their GPU lightmapper
@Genebriss
@Genebriss Жыл бұрын
Yes you are wrong because you don't understand that Unreal's features are merely a marketing bullshit. Not optimized and not fit to be usable on regular hardware in a video game.
@KRGraphicsCG
@KRGraphicsCG Жыл бұрын
This is NOT efficient! I rather have control of my probe placement and i will know what probes are affecting what in the scene. This feels like a replacement for an ACTUAL GI system, which you STILL need for your scenes
@alejmc
@alejmc Жыл бұрын
Maybe it needs the grid-like placement for easier per pixel evaluation (as if it were a volume texture? I don’t really know under the hood). That said, for hand placing them, I will still be using the older one.
@KRGraphicsCG
@KRGraphicsCG Жыл бұрын
@@alejmc Same. And it SHOULD NOT be a replacement for GI
VFX Graph: Six-way lighting workflow | Unity at GDC 2023
21:47
Lighting & rendering tutorial for HDRP | Unite Now 2020
1:08:32
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 41 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 689 М.
Unity Lighting Clinic 1
28:44
The Unity Workbench
Рет қаралды 79 М.
Level Design Workshop: Blockmesh and Lighting Tips
56:35
Unity’s new lighting function “Adaptive Probe Volumes”
10:35
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 512 М.
HIGH QUALITY LIGHTING using Light Probes - Unity Tutorial
10:09
How To Render 2 Million Objects At 120 FPS
14:57
Tarodev
Рет қаралды 137 М.
Are You Baking Lights in Unity Wrong?
8:37
Machine
Рет қаралды 7 М.
БАРЛЫҚ ГЕРОЙЛАР АСПАНҒА КЕТТІ (GTA V)
1:23:51
ДОЛГОЖДАННЫЙ СОЮЗ | Сюжет skibidi toilet 75
10:57