I draw a 3D line with this code in a 3D environment with a skybox, some 3D mesh and a FPSCamera :
- cpp Code: Select all
VideoDriver->draw3DLine(irr::core::vector3df(0,50,0),irr::core::vector3df(0,-500,0));
Before I do :
- cpp Code: Select all
irr::video::SMaterial m;
m.Lighting = false;
VideoDriver->setMaterial(m);
But I see this line under few angle and not all the time...
Any reason ?
Thanks you for enlightening me,
RVM
