Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Retrieving Cubemaps from Reflection Probes

Discussion in 'Global Illumination' started by Kylepespinoza, Jul 12, 2017.

  1. Kylepespinoza

    Kylepespinoza

    Joined:
    Jul 12, 2017
    Posts:
    6
    Hello Community!

    I'm working on a project where we would like to obtain cubemap textures from reflection probes, like using a 360º camera to take 360º pictures. I know the cubemap data is stored within the GI cache, but I have no idea how to access it or use it as a texture.

    Any help would be greatly appreciated!
     
  2. FlaxenFlash

    FlaxenFlash

    Joined:
    Oct 15, 2015
    Posts:
    27
    If you look into the folder where the lighting data is stored when you have baked your scene you will find the reflection probe data there stored as an exr texture. You can assign this to cube map texture slots elsewhere in Unity. On my project we create our skyboxes in a scene, generate a reflection probe for that scene and then use that probe texture as the skybox in our main scene.
     
    Meceka likes this.
  3. Kylepespinoza

    Kylepespinoza

    Joined:
    Jul 12, 2017
    Posts:
    6
    Awesome, that is exactly what I'm looking for! Thank you very much!