Search Unity

Can I clamp fog?

Discussion in 'Shaders' started by Antony-Blackett, Mar 29, 2017.

  1. Antony-Blackett

    Antony-Blackett

    Joined:
    Feb 15, 2011
    Posts:
    1,778
    Hi,

    I'm wondering if there is an easy way to clamp fog so that its max is say 50% fog color instead of 100%. Is that possible or do i need to write my own fog into all my shaders?

    Cheers,
    Antony.