Hello! How can you make the walls fade out? There is a character. If he runs over the bridge, for a while, while he is under the bridge, he is not visible. I want to make it so that it could be seen. I thought to add a trigger, when it is activated, the alpha channel gradually changes. But in the mobile shader you can not change the alpha channel. Options to lower the camera do not fit, it is necessary that the camera always remains in one place
- So far done. I let the linecast from the character in the direction of the bridge. If a linecast falls into a bridge, then the bridge's material changes to another one from the assets store, and gradually reduces its transparency on it - dreenline
|