hi guys. I am practicing opengl technoques.
light effect appears to be disabled on the object that texture mapped. sorry for bad English.
I have made changes to the line orders between light and texture and and etc to make it work.
here’s the code below the link. hope you see what’s going on here… it’s quite long.