Kemal Akay

Light Probe Intensity Adjustment Tool for Unity3D

Unity3D

Yorum Yapılmamış


Share this post

Github link

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

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

Known Issues:

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

 

[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

this post için 0 cevap
Add your comment