Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Why use lightmapping with I have the Unlit shader??

Discussion in 'iOS and tvOS' started by TouchSoft, Mar 1, 2012.

  1. TouchSoft

    TouchSoft

    Joined:
    Oct 18, 2008
    Posts:
    218
    So I happened to be playing around with the shaders for one of my textures and noticed one called unlit. I toggled it and removed all the lights from my scene. All the game objects and textures were visible without a light.

    Is it ok to use unlit shaders if I'm not concerned about baking shadows etc.??? ... is the unlit shader a performance hit on mobile?
     
    Last edited: Mar 1, 2012
  2. Zenix

    Zenix

    Joined:
    Nov 9, 2009
    Posts:
    210
    The unlit shader is there for when you don't want dynamic lighting or shadows.

    It is perfect for use on mobile games.
     
  3. kjuanlu

    kjuanlu

    Joined:
    Dec 4, 2011
    Posts:
    100
    The unlit shader it´s the best for perfomance on mobile platform. And it´s compatible with lightmap. You can view the result selecting Edit -> Graphics Emulation -> (GLES 1 or GLES 2) if you are in iOS platform.
     
  4. TouchSoft

    TouchSoft

    Joined:
    Oct 18, 2008
    Posts:
    218
    Thanks so much!!!
     
unityunity