• Advertisement


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

Default Specular Color

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was trying some specular color... and because I never used it before(minus tests) I don`t really know what`s the default color... I guessed something like this->
//enable specular lighting

float specularColor[3] = {0.3f,0.3f,0.3f};
float Shine=10.0f;
glMaterialfv(GL_FRONT_AND_BACK,GL_SPECULAR, specularColor);
//render specular lighted objects

//disable specular lighting

float SpecularColor[3] = {0.0f,0.0f,0.0f};
If I made any mistake or I`m wrong in any way please let me know. [edited by - cippyboy on December 14, 2003 8:20:33 AM] [edited by - cippyboy on December 14, 2003 8:23:41 AM]

Share this post

Link to post
Share on other sites

  • Advertisement