Scaling and lighting

Started by
1 comment, last by lingfors 17 years, 2 months ago
Is there any way to prevent normals to be scaled when a scaling operation is part of your transform? I'm trying to render a unit sphere in different sizes by scaling it in the world transform, but it messes up the lightning (I'm using the fixed pipeline).
Advertisement
I would suggest reading about and enabling the render state D3DRS_NORMALIZENORMALS.
Thanks. Never heard of that render state before. But I'm a noob, so that isn't very surprising. :)

This topic is closed to new replies.

Advertisement