Scaling nodes

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.

Scaling nodes

Postby WWebber » Thu Mar 08, 2012 3:51 pm

I have a node which shows properly with scale(1,1,1)
When I do
cpp Code: Select all
node->setScale(vector3df(1.5,1.5,1.5);
then the color turns to white.
Which "update" function I'm missing? btw: i'm using only vertex colors.
WWebber
 
Posts: 16
Joined: Sun Feb 26, 2012 11:24 am

Re: Scaling nodes

Postby CuteAlien » Thu Mar 08, 2012 4:03 pm

Try setting NormalizeNormals of the material to true.
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5364
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Scaling nodes

Postby WWebber » Thu Mar 08, 2012 4:21 pm

Again, thanks. This does it!
WWebber
 
Posts: 16
Joined: Sun Feb 26, 2012 11:24 am


Return to Beginners Help

Who is online

Users browsing this forum: Ptolemy and 1 guest