Gui Text position

hi, i have created a gui text with script and attached it to a game object witch was created too, and it works great, but when i added an object that i used in front of it, the gui text still on the first plan (i’m working on a 2D game with an orthographic camera). Even the position of the object i used in front is (0, 0, -2), and camera position (0, 0, -10).

ps : the object i used in front is to hide the texts an other objects.

any suggestion. Thanks

The problem is in the shader, try this one.

Radivarig