PDA

View Full Version : material and light problem



v8671
09-02-2008, 03:18 AM
Good day.
When i use glmaterial to use a material for the current triangles, light doesn't stay fixed.
Normally i reset light position every frame, but when i use
the material , light position is ignored, if i remove the line using the material , everything works fine.
What am i doing wrong ?