Jump to content
  • Advertisement


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


Default Specular Color

This topic is 5452 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!