Hello, I am looking to modify the box mask graph so that it can create a 0-1 gradient in the masked area along one of it’s axis/dimensions.
I have tried splitting out the components of the VectorLength Node and dividing the just the Z channel to create the gradient effect, but this adds a gradient to the top and the bottom of the mask. (It should be 1 at the top, 0 at the bottom, not 0-1-0) If anyone knows the easiest way to go about this it would be much appreciated, Thanks.
Here is the existing logic (check image for graph):
Input B = Center Point of Box
Input Bounds = Size of masked area
Input Edge Falloff = Edge smoothness gradient.