Jump to content

[SOLVED]Make a Mesh Render in Front of Other Meshes?


Raggar
 Share

Recommended Posts

Silly title, I know.

I'm not sure how to achieve this, and I'm sure a PG is not necessary, if this functionality actually exists.

Imagine the simple and common version of a FPS-setup.

You have a camera, and a mesh or more in front of this camera, usually a couple of hands and a gun of some sorts.

Now, when I hit a wall face-first, part of the hands/gun model will clip through the wall, and we sure don't want that to happen.

Is there some way to always render the hands/gun models in front of everything else, igoring depth? I looked at z-index, renderingGroups and masks without luck.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...