Results 1 to 2 of 2

Thread: disable specular prop.

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002

    disable specular prop.

    in the directX api there is a option to disable specular light, is there anything like this in opengl. i know i can turn it of using the finalcombiner but i dont want to use it.

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2000
    Oxford, England

    Re: disable specular prop.

    float colour[4] = {0,0,0,0};
    glMaterialfv(GL_FRONT_AND_BACK,GL_SPECULAR,colour) ;

    thats all you have to do to turn off specular.

Similar Threads

  1. I canīt disable textures
    By Kal Mar in forum OpenGL: GLSL
    Replies: 1
    Last Post: 05-27-2011, 02:37 AM
  2. i have prop
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 10-14-2006, 05:55 PM
  3. Disable "X"
    By collins_scott in forum OpenGL: General
    Replies: 1
    Last Post: 12-04-2003, 10:40 AM
  4. disable clipping
    By V-man in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 05-27-2003, 07:19 PM
  5. how to disable Ctrl + Alt + Del
    By ZeeBoy in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-28-2001, 01:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean