Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

No-Shadows mode costs more than shadows enabled...

Discussion in 'General Graphics' started by CrazyRocksStudios, Nov 23, 2015.

  1. CrazyRocksStudios

    CrazyRocksStudios

    Joined:
    Sep 29, 2015
    Posts:
    15
    Hi,

    When I measure FPS in my game with shadows on I have 152 FPS.
    ( Hard and Soft shadows, hi-res, stable fit, sd-150, 4 cascades )

    When I choose "Disable Shadows" ( not moving camera ) - Fraps shows 100 FPS.

    How is that possible ?
    ( Unity 5.2.2. )

    Stan.
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Ask the profiler?
    Profile both version and see what makes the difference.( make sure to profile on a build version of your game and not in the editor)
     
  3. MD_Reptile

    MD_Reptile

    Joined:
    Jan 19, 2012
    Posts:
    2,664
    Grab the fps script (originally was on unify, not sure where it resides today) and build out two versions of your project with these setups, and compare that instead. That would be extremely bizarre for disabling shadows to hinder performance.