Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved High/Low Pass Filter Node?

Discussion in 'Visual Effect Graph' started by thePostFuturistUnity, Dec 28, 2022.

  1. thePostFuturistUnity

    thePostFuturistUnity

    Joined:
    Nov 16, 2012
    Posts:
    49
    How would I set up a filter to only allow values above a certain threshold?

    For example, I have values coming in from 0-1, and I only want 0.5 and higher. I see that there's clamp and remap, but they will still retain everything <0.5, which is not what I want.
     
  2. RamType0

    RamType0

    Joined:
    Sep 11, 2018
    Posts:
    67
  3. thePostFuturistUnity

    thePostFuturistUnity

    Joined:
    Nov 16, 2012
    Posts:
    49
    Thanks, I do see that it returns a bool through its output...so that just shifts the concern to another node -- comparing a bool and outputting a float. Does that exist? Or should I take another approach?
     
  4. thePostFuturistUnity

    thePostFuturistUnity

    Joined:
    Nov 16, 2012
    Posts:
    49