When im staying behind a wall or something i want to see my player.İts working with code and materials with unity cube but it doesnt work with my bark model actually its still working i mean material being smooth but i didnt see my player what can i do for make it.Here is screens
Guys i found solution.If you have kind of this problems.Please use script.Make a document and when game is starting opaqe material must be active and when player touching building transparent material must be active.If you need more detail pls send me message.Have a good day.(This solution is not perfect just enough if you dont have time for finish your project.)