Wrong lighting of scaled 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
RVL
Posts: 5
Joined: Sat Jun 09, 2007 11:12 am

Wrong lighting of scaled nodes

Post by RVL »

On the image below you can see two identical spheres with same size/material/lighting conditions but with different visual results of lighting. Both was modelled in IrrEdit with several clicks.

The difference between these spheres is how their size was obtained.
Left sphere is of radius 500 and of scale (0.01 0.01 0.01)
Right sphere is of radius 0.5 and of scale (10 10 10)

Maybe problem is caused by normals' scaling, I'm not sure.

Image
RVL
Posts: 5
Joined: Sat Jun 09, 2007 11:12 am

Post by RVL »

Oh, sorry
NormalizeNormals material's flag solves the problem :) Seems the topic is for beginners help
Post Reply