Author Topic: Render weapon separate  (Read 1053 times)

Offline Roland

  • byte
  • *
  • Posts: 7
    • View Profile
Render weapon separate
« on: March 07, 2012, 08:01:58 pm »
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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12086
    • View Profile
Re: Render weapon separate
« Reply #1 on: March 07, 2012, 08:25:06 pm »
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.