Search Unity

[Solved] Global Illumination and Asset Bundles

Discussion in 'Global Illumination' started by Fabien-LG, May 24, 2017.

  1. Fabien-LG

    Fabien-LG

    Joined:
    Mar 9, 2013
    Posts:
    15
    Hello,

    I am using successfully the AssetBundle system to export and load 3D objects.

    There is just one issue : the materials / shaders loaded from the asset bundles are not taking the global illumination, resulting in very dark objects.

    Has anyone had the same issue before, and/or have a solution ?

    Thanks!
     
  2. Fabien-LG

    Fabien-LG

    Joined:
    Mar 9, 2013
    Posts:
    15
    I'll reply to myself:
    I was loading the asset bundles from a scene loaded at runtime. And it seems the lighting parameters are not loaded from this second scene, but from the original one. And the original one didn't had a light in, added one solved the issue.