In FPS game,I want to make my weapon render in front of my scene.Can I use stencil buffer to achieve that?I dont want to use vertex offset to achieve that,because my gun muzzle is separate mesh,I hope I can use stencil buffer.
But I still not find the way.