babylon.quarks - v1.0.0
    Preparing search index...

    Function decodeSoftDepth

    • The view depth the shaders read off a depth sample, for the coefficients of softDepthParams. Nothing there (a 'viewZ' sample of 0, or a sample at an infinite far plane) reads as infinitely far, so the particle does not fade.

      Parameters

      • sample: number
      • params: Vector4

      Returns number