-
Member
Regular Contributor
-
Junior Member
Regular Contributor
Re: Lighting Question
I'm pretty sure that winding is not going to matter for opengl lighting. Humm. What lead you to this conclusion?
-
Member
Regular Contributor
Re: Lighting Question
Well, polygon winding seemed to make some sort of difference, as only a few of the faces of the cube were lit (normals and all specified) as I had started. Then I went back through, keying on culled faces to turn around the faces that weren't facing outwards. After I did that, all the sides were lit. Imagine that.
And as said before, this seems kinda stupid here, because (unless it means something other than it obviously states) for all the lighting options I was using GL_FRONT_AND_BACK, including using the two-sided option.
Go fig. Anyways, lighting, textures, etc are all working for me. By the way, anyone need a fairly generic MFC OpenGL window class? 
Siwko
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules