Advertisement

GL_SEPARATE_SPECULAR_COLOR

Started by September 18, 2003 05:42 AM
0 comments, last by User137 21 years, 5 months ago
My problem is pretty weird, as you can see from this image taken from my 3d-editor: http://www.cs.uku.fi/~valo/lightproblem.jpg Why does the separated light work on non-textured object? That textured image flashes all colors in real time, when it should only shine white on texture. These shots are taken with schools machine, since it works fine at home. Is there some problems with NT drivers??? I have GL_COLOR_MATERIAL enabled and called glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR); glColor4f(r,g,b,a); to set diffuse color glMaterialfv(GL_FRONT,GL_SPECULAR,PGLFloat(@f4)); for specular ...and if it matters, i use Delphi.
I don''t really think there''s a problem with NT. I''d rather take a look at the video card driver, especially if it works on other system configurations.

As for applying separate sceular color with no texture, obviously yes the stage is applied. The thing being, if texturing is disabled you won''t see the difference between separate specular color on and off.

This topic is closed to new replies.

Advertisement