Search Unity

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