Search Unity

performance question: Mobile/VertexLit vs Standard

Discussion in 'Shaders' started by adamstepinski, Dec 8, 2020.

  1. adamstepinski

    adamstepinski

    Joined:
    Aug 7, 2015
    Posts:
    57
    I'm making a lowpoly mobile game where assets just have solid colors (a few materials with different colors for a model)

    Which would be faster (for forward rendering)?
    Mobile/VertexLit (Only Directional Lights) with 4x4px plain color texture
    or
    Standard shader with only color setup

    from Unity Documentation: Vertex-Lit shaders in Forward rendering path are always cheaper than Pixel-Lit shaders
    but there is overhead of texture switched for each material
     
  2. whitexroft

    whitexroft

    Joined:
    Oct 22, 2012
    Posts:
    48
    I wish you saw a fully compiled standard shader.
    If it is all the same to you, from the looks perspective, any mobile shader is cheaper than the standard
     
    adamstepinski likes this.