Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Lighting

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    12

    Lighting

    Hi,
    I have a Texture program,after i am choosing a texture to a part of my 3D object,the object is becoming dark.
    How can make the object to be in the same lighting as it was before my texture mapping?

    Thanks a lot ....

  2. #2
    Intern Contributor
    Join Date
    Mar 2003
    Posts
    95

    Re: Lighting

    This Texture program is a fragment program ?
    or you are toalking about the standar opengl lighting ?
    As shadows into darkness, the Ninja fades away

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    12

    Re: Lighting

    Its aprogram that is based on standart opengl lighting .

  4. #4
    Member Regular Contributor
    Join Date
    Mar 2002
    Location
    Vancouver
    Posts
    314

  5. #5
    Intern Contributor
    Join Date
    Mar 2003
    Posts
    95

    Re: Lighting

    So try checking the material proprieties and lighting propriety(ambient, diffuse and specular) values
    then change them until you got the result you desire
    As shadows into darkness, the Ninja fades away

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •