Sign in to follow this  
Raggar

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

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.