scolor not working?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
chaoslion
Posts: 25
Joined: Sun Oct 30, 2005 1:44 pm

scolor not working?

Post by chaoslion »

Hey what am i doing wrong? it seams, as if the scolor function always gives
black when i use it in eg the drawline3d method:

Code: Select all

core::line3df ray;
ray.start = cam->getPosition();
ray.end = ent->getPosition() - ray.start;					
				driver->draw3DLine(ray.start,ray.end,video::SColor(255,255,0,0));
//should draw a red line but draws black one instead.
gfxstyler
Posts: 222
Joined: Tue Apr 18, 2006 11:47 pm

Post by gfxstyler »

is a 3d line affected by lighting? maybe that is the problem.
Post Reply