Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Controlling in which shadow cascades objects are rendered

Discussion in 'General Graphics' started by theFrenchDutch, Feb 1, 2016.

  1. theFrenchDutch

    theFrenchDutch

    Joined:
    May 5, 2014
    Posts:
    25
    Hi !

    I am making an open world game with very big terrain sizes and 3D forests close to the player. I have my shadow cascades set so that the two first cscades are for very close stuff ( < 200m) and the last two for distant mountains, up to 20km.

    My problem is, the 3d trees close to the player are getting rendered in every cascades, even the 20km one, where they arent relevant enough to even be one pixel wide, so its costing me thousands of useless draw calls.

    Is there a way to decide in which shadow cascades objects are rendered ?
     
  2. Richounet

    Richounet

    Joined:
    May 15, 2014
    Posts:
    1
    Hi, I had the same problem with a project recently, where I had to have huge shadow distances but still detailed shadows up close. Is there a way to do it ?

    Thanks :)
     
unityunity