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.
Post Reply
WWebber
Posts: 16
Joined: Sun Feb 26, 2012 11:24 am

Scaling nodes

Post 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.
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Scaling nodes

Post by CuteAlien »

Try setting NormalizeNormals of the material to true.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
WWebber
Posts: 16
Joined: Sun Feb 26, 2012 11:24 am

Re: Scaling nodes

Post by WWebber »

Again, thanks. This does it!
Post Reply