• Popular Now

• 13
• 15
• 19
• 27
• 9

Archived

This topic is now archived and is closed to further replies.

specular color

This topic is 5242 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

...how to use specular color with textures applied? they sees to vanish when i use textures...

Share on other sites
They are still there, but they''re probably not having the effect you would think. For example if the specular color is white then the texture will just show as if the color of the vertex was white at that location. To get an effect more to your liking consider shaders.

Share on other sites
Enable separate specular color. That way, specular color is applied after texturing instead of before. See the spec for more information.
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);

Share on other sites
ok thatnx i''ll try to do that i hope it helps...