Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    53
    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:
    53
    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:
    53