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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Cubemap ambient skybox overide on Unity5 Standard shader possible?

Discussion in 'Shaders' started by tynew, Mar 15, 2015.

  1. tynew

    tynew

    Joined:
    Sep 25, 2013
    Posts:
    122
    Is it possible for Unity 5 standard shader to be customized and have a cubemap override input slot written in? For example an object to use a different cubemap instead of the overall skybox on a per material basis instead of per mesh basis.
     
    Last edited: Mar 29, 2015
  2. tynew

    tynew

    Joined:
    Sep 25, 2013
    Posts:
    122
    bump
     
  3. Alabatross

    Alabatross

    Joined:
    Dec 15, 2012
    Posts:
    223
    I was wondering this too, I was hoping some materials could have a completely different skybox influence without using probes
     
  4. echo4papa

    echo4papa

    Joined:
    Mar 26, 2015
    Posts:
    158
    Pretty sure you can, the cubemaps are just hidden I think. Check the shader source thread and look in both the shaders and the cgincs.
     
  5. Alabatross

    Alabatross

    Joined:
    Dec 15, 2012
    Posts:
    223
    I dug through so many of them that I ended up lost, couldn't be for sure what was actually the ambient skybox
     
  6. tynew

    tynew

    Joined:
    Sep 25, 2013
    Posts:
    122