Light Probe Intensity Adjustment Tool for Unity3D
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GIF
LightProbeAdjustment
README.md

README.md

Light Probe Intensity Adjustment Tool for Unity3D

A tool that allows you to change the brightness of your light probes in Unity3D.

Why?

This can be used for adjusting the brightness of your dynamic objects in the scene that sample the lighting through light probes. In addition, there is no need to bake to change intensity, it simply post-processes the present data. By default, it is not possible to change the brightness of light probes in Unity3D. The reason behind this is because SH coefficients [1] of light probes are generated through PBR [2] principles therefore tweaking it can render incorrect results. However, this can become a problem when you are working with unrealistic, cartoony style graphics and in fact, many users requested this feature on Unity forums. This custom script addresses that issue and attempts to resolve this bottleneck. The script can be further developed if there is enough demand from users.

Note that script is only tested in simple scenarios and may not work in certain cases. Use it at your own risk.

How To

  1. Drag LightProbeIntensity.cs and .smcrsp files to your project
  2. Open Tools > Light Probe Intensity Tool
  3. Bake your light probes
  4. Adjust the intensity of light probes

Known Issues:

  • Resetting the intensity applies same SH values to all light probes

TO-DO (Feature Requests):

  • Using a slider for UI
  • Changing the intensity of selected probes (currently the intensity of all probes are overwritten)
  • Refactoring of some code and fixing bug(s)

Updates:

  • 14/02/2017 - First version of the light probe adjuster
  • 06/02/2017 - Initial commit

[1] - In Unity, spherical harmonics are used to store the lighting information in light probes. Find more information about the concept's theoretical background in this Wikipedia page

[2] - For more details about PBR in Unity, please check this link