Adding a weapon to FPS
Z Testing
You can turn off z testing by:
yourWeaponNode -> setMeterialFlag(video::EMF_ZBUFFER, false);
however you still have the problem of setting the correct drawing order.
You want the weapon to be drawn last.
Hope that helps
edit: Im new to irrlicht so could someone please correct me if im wrong
yourWeaponNode -> setMeterialFlag(video::EMF_ZBUFFER, false);
however you still have the problem of setting the correct drawing order.
You want the weapon to be drawn last.
Hope that helps
edit: Im new to irrlicht so could someone please correct me if im wrong