Skip to content

guiglass/Lighting-Scenario-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lighting Scenario Switcher for Unity 3D - Beta 1.0

Change Lightmaps, Lightprobes, Real-Time Lights, Lens Flares And Materials From Pre-Saved Profiles.

I built this tool so I could dynamically change the global lighting scenario for the entire scene at runtime. It allows the user to first generate lightmaps and setup the scene lighting elements, it then coplies and stores the required files in a resources directory so they can be loaded at any time by calling a simple script and specifying the directory to load from.

NOTE: Static Batching - I found that if I enable Project Settings>Player>Static Batching then the lightmap takes on different offsets at runtime causing misalignment. I have disabled static batching in my project, If I figure out how to compensate for the batch offsets I will update the example with a fix.

Video:

An example and tutorial video on how to use the tool:

Youtube Video

Please feel free to use this example in any way you see fit (without restriction of any kind) as well as redistribute, modify and share it with all of your friends and co-workers.

Legal notice: By downloading or using any resource from this example you agree that I (the author) am not liable for any losses or damages due to the use of any part(s) of the content in this example. It is distributed as is and without any warranty or guarantees.

Project by: Grant Olsen (jython.scripts@gmail.com) Creation year: 2017

Big thanks to:

About

Lighting Scenario Switcher for Unity3D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors