Giter Site home page Giter Site logo

lightprobes's Introduction

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

lightprobes's People

Contributors

kemalakay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.