Search Unity

Reflexive Shaders in Unity 5 - Best ways

Discussion in 'Shaders' started by Grespon, Apr 24, 2015.

  1. Grespon

    Grespon

    Joined:
    Apr 13, 2012
    Posts:
    388
    Hi guys,
    I've read people complaining about the Standard shader's performance, especially on mobile, and reflection probes doesn't seem to be the best alternative for reflexive materials..What do you guys think about it ? Is it better to stay with legacy shaders? Let's talk about it.
     
  2. Zicandar

    Zicandar

    Joined:
    Feb 10, 2014
    Posts:
    388
    Unity could REALLY do an optimization pass on that standard shader!
    I'm not sure exactly how good the shader compiler is, but generally shader compilers are nowhere near as good as code ones, and thus the importance of not doing stupid stuff adds up. Then knowing how GPU's work, and how to really optimize for them could take the standard shader even further!
    But in the end it really depends on your game!
    Question is what quality (mainly focused on realism and/or different lighting enviorments with the same assets) vs performace.
     
  3. Grespon

    Grespon

    Joined:
    Apr 13, 2012
    Posts:
    388
    I think there's something about the new lighting system... I don't know exactly
     
  4. Zicandar

    Zicandar

    Joined:
    Feb 10, 2014
    Posts:
    388
    The new lighting system is a LOT more expensive then the old one! (I'm not talking about the realtime GI, or any GI atm!)
    There is no question about it.
    However the quality upgrade is quite noticeable.