Hi Everyone. I'm doing a simulation application and having a little problem. As I use:
smgr->drawAll();
driver->draw3DLine(lineStart, lineEnd, video::SColor(0, 255, 0, 0));
The 3D lines are always black. Can someone tell me how can I change it's color without adding a light scene node?
With lights disabled, how to draw coloured 3D lines?
With lights disabled, how to draw coloured 3D lines?
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
-
- Posts: 51
- Joined: Tue Jan 02, 2007 11:04 pm
- Location: huntington beach
Re: With lights disabled, how to draw coloured 3D lines?
try setting a transformation matrix for the video driver and try SColor(255,255,0,0), so that you have alpha
Programmers are merely tools to convert caffeine into code.