Advertisement

Wierd Lighting Problem

Started by December 04, 2001 07:57 PM
0 comments, last by hooded_paladin 23 years, 2 months ago
I set up a program, based on tutorial 10, that loads normals along with the polygon data. I simply added another three %f''s to the sscanf command it uses, and uses those values for the normals. For some reason, if I enable two-sided lighting, only one of each of the pairs of triangles he uses to make squares lights up. I know it is loading them right because when I disable two-sided lighting it displays it right, but obviously only one-sided. Has anyone had this problem?
______________________________Pretty guy for a white fly.
Well... why do you even need two-sided lighting? The only thing this does is allow you to have 2 materials for your polygon, one for the front face and one for the back face...
--New feature - Windows users, press ALT-F4 to launch the IQ test.

This topic is closed to new replies.

Advertisement