I need help. I need the bracket (shown by the yellow grid on the floor and ceiling) along Y of this material to have a gradient, that meaning, to have the always "1" return from the Compare math node get converted to a gradient of values from 0 to 1 before connecting to the Factor on the Mix shader.
To achieve this, you need something that alters that value specifically along Y with its maximum and minimum values on the exact limits of that bracket which is animated to move along Y (but not scale, scale stays the same).
I believe the answer is not that obvious as slapping a ColorRamp or a Gradient Texture somewhere in the middle of that, unfortunately... I have tried that and much more with no success.
Any ideas?
EDIT: For clarification, the desired effect looks like this:
Just... Animated correctly to move at the same pace as the bracket, as this is a shoddy workaround I just figured out.
EDIT2: This solution has this result where there's a black gradient right across the middle of the yellow section and it shows differently positioned on the rest of the scene elements that do also share this exact same material (car and columns).
EDIT3: I had my nodes in the mix shader inverted, sorry for that oversight. This solution does work, although I will have to tweak it for the gradient to extend over a larger area (I mean, make the edges darker and have the gradient extend further thowards the center).
EDIT4: I believe this has given me the desired effect.
I will now try to replicate a similar effect but one sided for the black area.