Code Monkey home page Code Monkey logo

probepolisher's Introduction

ProbePolisher

ProbePolisher is a Unity Editor plugin for editing light probes. It works both on Unity Basic (free) and Unity Pro.

Rationale

Light probes are useful for filling gaps between the static lighting and the dynamic lighting. However it is needed to place a lot of light probes at proper positions.

Meanwhile, light probes are also useful for making ambient lights. It can represent several environmental factors (e.g. skylights, reflections from the ground, etc.) unlike the conventional fixed-intensity/fixed-color light. Even more, it is possible to combine with the image-based lighting method to make a complex lighting environment.

To make ambient lights, it needs only a few probes which is suffice to cover the entire scene. And combined with some tricks, it is possible to modify the lights after baking.

ProbePolisher is an editor plugin designed for these tasks.

Polishable probe

ProbePolisher creates a set of light probes which supports editing after baking. For convenience, we call it polishable probes in this document.

Baking polishable probes (Pro only)

Note - Although you need Unity Pro to bake polishable probes, you can use pre-baked probes on Unity Basic (some pre-baked probes are included in the package).

  1. Set up a scene for baking as you like.
  2. Create a baking jig from "Create" -> "Baking Jig".
  3. Bake the scene on the Lightmapping window.

Tips - You should select the Single Lightmaps mode before baking to get a proper result.

Then a Light Probes asset will be created in the directory which has the same name as the scene. You can copy/duplicate the asset to use it in another scene, or export the asset for another project.

Using polishable probes

First, you have to set the Light Probes asset in the Lightmapping window.

![Setting A Light Probe] (http://keijiro.github.io/ProbePolisher/setting-a-light-probe.png)

Then enable the 'Use Light Probes' option in renderers.

![Enabling The Light Probes] (http://keijiro.github.io/ProbePolisher/enabling-the-light-probes.png)

Tips - To get better results, it is recommended to enable Linear Lighting in the Player Settings.

You can edit polishable probes on the inspector.

Inspector

There are two factors on the inspector -- the base ambient and the skylight. The base ambient is the lighting information which is baked in the light probe. You can adjust the influence from the base ambient with the Base Intensity value.

The skylight is additional lighting to the light probe. It represents a kind of an area light source made from two hemispheres (the upper hemisphere and the lower hemisphere).

With using these options you can modify the color of the ambient light without re-baking the light probe.

probepolisher's People

Contributors

keijiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.