- Home /
How to make always visible(rendering) weapons in FPS?
Hi, everyone! I have some troubles with getting my weapon's mesh (weapon is in player's hands) visible all the time only for this player camera. I mean 1 player(but not the other ones) should see the whole his weapon even if part of it goes through another mesh(like box/wall/environment element). I suppose I need to use some shader or tweak render properties to solve this problem. But cant figure out what exact to do. Thanks for advance
Answer by Tobs · Feb 02, 2011 at 03:40 PM
Use a second camera(duplicate your current one so you get the exact position and angle etc) and change the render depth, have it only display a certain layer.. you would then add the weapon to that layer so its always rendered "on top" of everything else..
Your answer
Follow this Question
Related Questions
HDRP Camera weapon layer 1 Answer
Camera with shader? 2 Answers
FPS Camera+weapon setup? 0 Answers