Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

UnityDeferredComputeFadeDistance function not found

Discussion in '5.6 Beta' started by Dizzy-Dalvin, Jan 18, 2017.

  1. Dizzy-Dalvin

    Dizzy-Dalvin

    Joined:
    Jul 4, 2013
    Posts:
    54
    Some shaders now won't compile with the following error:
    Code (CSharp):
    1. undeclared identifier 'UnityDeferredComputeFadeDistance'
    Has it been renamed maybe?
     
  2. fguinier

    fguinier

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    146
    Hi Dizzy-Dalvin

    Indeed it have been renamed to 'UnityComputeShadowFadeDistance' as shadow fade is now both in fwd and deferred.

    I'm currently adding back 'UnityDeferredComputeFadeDistance'. It should appear in beta builds soonTM. Thanks a lot for discovering that !