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. Dismiss Notice

Performance boosts

Discussion in 'General Discussion' started by blastintyres, Dec 7, 2014.

  1. blastintyres

    blastintyres

    Joined:
    Nov 19, 2014
    Posts:
    79
    I was wondering,
    IS there other stuff like occlusion culling and LOD (Level of detail) meshes to improve
    game performance on mobile.
    And is there a way to change the shadows to ultra high quality I tried hitting shadow resolution to very high
    But its still showing tiny boxes on the edges of the shadows
    by some sort of script
     
  2. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    Mobile platforms only support hard shadows but some Android devices don't even support em. There are paint shadow stuff for mobile that improve the shadows a bit.

    Mobile performance is mostly about efficient custom shaders and minimal overdraw (when physics or scripts are done ok).
     
  3. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    What are you talking about, of course you can have soft shadows on mobile, unless I'm completely ignorant here.

    @blastintyres Change the value for how far away to show shadows. Even if you have it set to really high resolution, if it's covering a very very large area, it will still look bad to a degree.
     
  4. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    Are you sure? unless it has changed, mobile platforms only support directional lights which only renders them as hard shadows (soft setting cleans the edges a bit on supported devices but does not do real soft shadow)

    http://docs.unity3d.com/Manual/DirectionalShadowDetails.html
     
  5. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    Well I stand corrected, I thought I saw a difference between soft and hard shadows on mobile so I assumed it was real. I've been living an illusion, thanks Ostwind ;)
     
  6. cl9-2

    cl9-2

    Joined:
    May 31, 2013
    Posts:
    417