3D Object in Front of All ?!

hi,

is it possible to make a 3d object visible in the top of evrything ? ( even if it is behind in the 3d space )

like a layer system or something that force objects order !!

thanks.

Sure! Just set it to a layer (next to Tags), and make sure the main camera doesn’t draw that layer. Then make a new camera that draws only that layer. There’s a few other settings you’ll have to configure on the new camera, but that should get you on the right track!

First person shooters display the weapons on top of everything else using two cameras. I.e you have a weapon camera that only renders a layer with your weapons on and another camera to render everything except that layer. The weapon camera also has has clear flags set to depth only.

I’m not sure about the technicalities of this, but it ensures that your weapons are drawn last and on top of everything else regardless of where they are in the scene.

There’s info about it in the documentation: Unity - Manual: Camera component

thanks alot gys