Spotlight problem

Greetings ever helpful forumites,

I’m working on a simple modelling tool and I’m experiencing something unexpected when shining a spotlight at a sphere.

I have a sphere of radius 5 at the origin with a light at (0, 20, 0) whose Spot Direction is (0, -1, 0), spotcutoff 22, two-sided lighting off etc.

I get the bright white light on top of the sphere like I expect, but I also get a gray light effect on the BOTTOM of the sphere which I DON’T expect - any idea what could be causing that less-bright light on the BOTTOM of the sphere?

There is a screenshot and a little of the code on my site http://daltxcoltsfan.tripod.com . Click the second demo from the top, and at the bottom is a link to download the code (it requires MFC) and a screenshot with a little bit of the code.

I’d appreciate any ideas!

Thanks
Joe

[This message has been edited by DalTXColtsFan (edited 12-26-2003).]

[This message has been edited by DalTXColtsFan (edited 12-26-2003).]

I’d guess the problem is with the normals, but it’s difficult to tell.