Gradually appering object/graphic?

Hello everyone - first post on this great forum, which I have collected much information from over the past few years. But, now i want to do something that I can’t find anywhere so posting a question here seems like the right thing to do.

In short, I’m making an educational application where the user needs to choose to go either left or right around an object. I would really like to make the two paths appear gradually from start to finish (please tell me if this needs more explaining) and then make the gameObjects buttons for the user to press.

I can’t find a way to do this, so here’s hoping you guys can at least point me in the right direction.

EDIT: Please tell me if more info is needed…

A late reply perhaps, but I think what you were looking for is this:
http://wiki.unity3d.com/index.php?title=DepthMask

You could use a DepthMask object over the thing you wanted to reveal gradually, and move the mask object out of the way with a transform.lerp

I made a quick shader using strumpy to see if that’s what you mean:

fade sides

If you’re trying to fade a complex 3d object, you will have to test the transparency against world-space coordinates instead of the UV :stuck_out_tongue:

You can download this scene at:

http://dropbox.catsinthesky.com/dl/149