Page 1 of 1

Scaling nodes

Posted: Thu Mar 08, 2012 3:51 pm
by WWebber
I have a node which shows properly with scale(1,1,1)
When I do

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.

Re: Scaling nodes

Posted: Thu Mar 08, 2012 4:03 pm
by CuteAlien
Try setting NormalizeNormals of the material to true.

Re: Scaling nodes

Posted: Thu Mar 08, 2012 4:21 pm
by WWebber
Again, thanks. This does it!