Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

RenderToCubemap. How to save my rendered cubemap?

Discussion in 'Editor & General Support' started by pagan_poetry, Apr 26, 2020.

  1. pagan_poetry

    pagan_poetry

    Joined:
    Feb 15, 2017
    Posts:
    101
    I've followed the tutorial by Unity for rendering cubemap. It ended successful.
    link: https://docs.unity3d.com/ScriptReference/Camera.RenderToCubemap.html (first script)

    But... when I reopen my Unity project, cubemap becomes blank as it didn't save the baked cubemap result. Also, after the baking, when I open cubemap in explorer, it's still blank but Unity shows baked cubemap in the game.

    I've prepared blank .png picture to be baked as cubemap and placed it in my project. After the successful baking it's still blank but Unity displays it in the game as baked?

    My question is how to save baked cubemap? And why am I not seeing the result in the .png file in explorer?
     
  2. pagan_poetry

    pagan_poetry

    Joined:
    Feb 15, 2017
    Posts:
    101
    I still hope someone would help me.
     
  3. Recluse

    Recluse

    Joined:
    May 16, 2010
    Posts:
    485