Video wird geladen...
Video konnte nicht geladen werden
In Unity 2022 we can finally use Realtime GI together with Progressive lightmapping without it clearing probes. That means pi 's LTCGI can now be combined with proper light probes too! #VRChat #Unity3d
46,135 Aufrufe • vor 2 Jahren •via X (Twitter)
11 Kommentare

If you want to do this yourself, here's the setup: - Import USharpVideo for useful scripts: - Mark your screen material to heave Realtime Emission - Enable Realtime GI in lighting settings and set the indirect resolution to 0.1 🧵

- Set the default lightmapping parameters to USV_RealtimgLightmapOff - Click on your screen mesh, find its Lightmapping Parameters dropdown and select the RealtimeLightmapHigh preset - Click Edit... - Change the Resolution to something high, like 40 or 60 🧵

- Add "Renderer GI Update" to your video screen (if it doesn't have one already) - Bake the lightmaps And you should be done! When the bake is done and you enter playmode - the probes around the screen should light up 💡 🧵

If you're using USharpVideo player - you might also want to increase GI Emissive Boost value to make your realtime GI pop a little more. Hope this helps ❤️

since you wanted to know

@pi_does_code Can this be done with Bakery as well? I noticed you mentioned the built in Unity lightmapper settings, but is there a way I could do this with Bakery too? Also thank you so much for posting about this, i was literally just about to upload a home cinema world. 🥰

@pi_does_code Yeah there is a checkbox at the very bottom of bakery settings to bake "enlighten for realtime GI" first. Which should be equivalent to Progressive + RTGI. The issue before was that unity 2019 would, in 99% of cases, would turn all the probes black if you mix things like that

It kinda sucks this needs modifications to the video player objects, otherwise an easy include in LTCGI's editor scripts. Probably also conflicts with avatars that have native LTCGI support, it would double-light them. Could add "Avatar Light Modes" to toggle between variants🤔

FWIW USharp video basically comes preconfigured for this hah. The double light could be an issue yeah but I just turned off avatar light on my screens hoping that addresses it?

@pi_does_code I noticed a problem with this method, if I have bakery in the project then it disables the Realtime Global Ilumination toggle when I go into playmode

@pi_does_code With the "Combine with Realtime GI" checkbox checked in bakery at the very bottom? Either way you can just re-enable it in editor. And it should still upload enabled anyways since you don't need to enter playmode for uploads

