Search Unity

Camera far fade

Discussion in 'General Graphics' started by lo-94, Nov 13, 2019.

  1. lo-94

    lo-94

    Joined:
    Nov 1, 2013
    Posts:
    282
    Hey all

    So I'm trying to use Unity's camera far fade setting, but I can't seem to get it to work. This is supposed to fade out the particle when a certain distance away correct? The near fade is working, but not the far fade
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,350
    I assume you're talking about a Particles/Standard Unlit shader. The near and far settings are somewhat confusingly named and both control the "near fade" in terms of having the particle fade out as it gets close to the camera. The near fade setting controls the distance at which the particle becomes fully transparent, where the far fade setting controls the distance at which it starts to fade out as it gets close to the camera.

    Basically if the particle is further than the far fade, it's fully visible. Closer than the near fade it's fully invisible.
     
    stonstad likes this.