Search Unity

  1. Dismiss Notice
  2. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice

Density Volume - Near Clip for Fog

Discussion in 'High Definition Render Pipeline' started by slumberface, Apr 10, 2021.

  1. slumberface

    slumberface

    Joined:
    May 22, 2016
    Posts:
    15
    Looking for the same functionality as Fog Attenuation Distance, but inverted. I need a near clip parameter so that a camera's view is not obscured when inside a density volume.

    I cannot find where the Fog Attenuation Distance parameter is written. The value is stored in a script called ShaderVariablesGlobal, but I have no clue what script references that value and actually does something with it.

    Help or insight would be greatly appreciated,