Magic Lightmap Switcher is a Unity editor extension that will allow you to store baked lightmap data and then switch between its instantly or interpolate smoothly.
**The following data is involved in switching and blending:**
Lightmaps
Lightprobes
Reflection probes
Light sources settings
Skybox texture
Scene fog settings
Any custom data such as post-processing settings, Volume component settings in SRP, or variable values of any of your script
**System features:**
Switching and blending all available baked data in the scene at runtime
Using shaders and multithreading for system operation, which allows you to maintain high performance
Support for multiple lighting scenarios for one scene
Automatic baking and storing process of lightmaps in turn order
Custom shaders:
The asset will work with any custom shader, unless that shader uses its own GI functionality. If your shader calls on Unity’s built-in functions to render lightmaps, reflection probes, lighting from light probes, and etc., then you don’t need to worry. Everything will work by default.
For those using custom lighting features. Write to the developer on any support channel. It’s pretty easy to add blending and switching support to your shaders.
Version 1.2 has been sent to the store. Will be available within 2 days.
Bug Fixes:
An error related to paths conflict due to which the interface does not work correctly.
Shader restoring is not possible on systems with limited user permissions.
An issue has been encountered where the notification that all lightmaps have been successfully stored will pop up indefinitely if you cancel the bake and store process.
An issue was found that is causing errors while building the project.
Reflections work with errors in deferred rendering. Implemented support for system operation without support for deferred reflections.
Improvements:
Added preset manager. Now you can manage all scene presets from one place and edit them quickly.
Added a new manager option. Clear Default Data Folder - Allows you to choose whether to delete duplicate lightmap data in the default folder.
Added tooltips to manager options. To see this, hold the mouse cursor over the option name.
URP support has ended. Tested on 3 verified versions 7.5.3, 10.3.2, 11.0.0 for engines of versions 2019.4.21f1, 2020.3.1f1 and 2021.1.4f1. This may also work for intermediate versions, however, this needs to be verified.
A message to all potential buyers. Do not use the plugin review submission form as a bug report submission form. Instead, use any of the specified communication channels. In most cases, the developer responds within a few minutes.
So, after much thought, I came to a solution. Since I was able to get HDRP to work in Deferred mode, albeit without support for blended reflection probes for now, I will release URP + HDRP support as one package, however I will mark it as version 0.9 and as a beta version until Deferred support will not be fully implemented. In addition, the Built-In version will be considered the LITE version, and the URP + HDRP package will also include Built-In and will be considered the PRO version. Thus, users who have already purchased the Buil-In package will be able to upgrade to the PRO version with a discount. For the rest, the package will be shipped at full price (I think $50 would be fair for the current version), it should be noted that the price will be increased when all planned features are implemented.
Now I am engaged in combining the changes of the latest version of Built-Int (1.32) with the second package. When this is done, I will run some tests on a complex project (eg ArchViz), show the result and then send the package to the store. Good luck for me!