Hi, I’m new to shader graphs, I’ve been watching a few tutorials and trying to give it a go but not getting far
I’d like to make a teleport portal, where the alpha fades over the y height. This needs to be the local y height because the portals will be in different world positions and rotations. I have it working for the world y positions but I can’t figure out how to get local. I tried subtracting the object position from the world position but this also didn’t work.
Can anyone help me out with this? Attached image of the shader graph using the world position, but as you can see on the image only the top portal on the first cube has the wanted effect.