Render weapon separate

Started by Roland, March 07, 2012, 08:01:58 PM

Previous topic - Next topic

Roland

If I use an example and have another object to close to the screen, the weapon will be inside that other objectobject, and you will not see the full weapon. I would like to render it separate so I the weapon never can look like it is inside any objects. Anyone knows how to do it?

EgonOlsen

You can put it into a separate world, render your main world, clear the zbuffer and then render your weapon world. But you have to keep the camera of both worlds in sync as well as other settings like lighting, fogging etc.