Search Unity

Bake only for light probes

Discussion in 'Global Illumination' started by Recotech, Feb 5, 2018.

  1. Recotech

    Recotech

    Joined:
    Dec 2, 2013
    Posts:
    43
    Hi forum!

    I'm developing a custom lightmapping tool, and I need some kind of functionallity to bake the lightprobes only.
    I've looked for this in the forum and looks like the light probes' bake process need some information from Enlighten precompute, but I've found this page from the API that shows how to add light information (https://docs.unity3d.com/ScriptReference/LightProbes-bakedProbes.html).
    The algorithm works fine with point lights, directional and ambiental but, I'm using Spot lights too. Anyone knows if there is a way to bake only the light probes correctly or a method to make it work with spot lights too?

    Thanks a lot!
     
    Last edited: Feb 6, 2018