VRChat Baked Lighting Switcher
This script allows you to swap between baked lighting conditions in your vrchat world!
(Now with optional syncing between players!)
This gives you an extremely optimised world while not compromising on the ability for anyone joining to enjoy multiple times of day, or other toggleable lighting conditions.
It can store any number of different lighting states, and swap between them with an easy included scripting interface or use of the premade UI also included in the package.
A swappable lighting state includes the following data:
- A skybox
- Rendered lightmaps
- Reflection probes
- State unique objects (e.g. mesh based light shafts)
The script works by using "lighting states", these are containers for data that can be switched between by the "baked lighting manager". Lighting states must be filled up with Lightmaps and Reflection probes, and can optionally include a Skybox and a list of game objects that will only appear when that lighting condition is active.
Features:
- Toggleable local or fully networked
- Custom array search for scenes with many static objects
- Auto collect renderers
- Auto bake reflection probes
- Error catching and warnings
- Switch between baked lighting conditions
- Switch skybox
- Switch reflection probes
- Certain objects that exist only in selected lighting conditions
- Works with Bakery (But currently sectors is unsupported) & the progressive lightmapper (Built in default unity baking)
If you have any questions about if this product is right for you, please do make your way into the Discord linked at the top, and I would be delighted to answer!
Licence details:
Base version:
This version covers all purposes, even commercial, where the files of the addon are not explicitly re-distributed in other packages for sale, eg worlds on websites like Gumroad.
Commercial Licence:
If you plan to sell world files that include this script, this is the correct licence level. You're permitted to include baked lighting switcher in those files that will be received by your customers. However you may not re-distribute the addon by itself, and please add credit to the sales page that this addon is in use.
If you have any licence questions, please reach out in the discord.
This package includes: