Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Scale & Lights

  1. #1

    Scale & Lights

    When I make a "scale" on a 3D shape (ex a sphere) happen that light on it change drastically... Exactly when I "enlarge" it, the sphere become darker while, when I "reduce" it, the sphere become very bright... Where is my error ? What can I do ?

  2. #2
    Junior Member Newbie
    Join Date
    Oct 2000

    Re: Scale & Lights

    Use ...


  3. #3
    Junior Member Regular Contributor
    Join Date
    Sep 2000
    Lubbock, TX, USA

    Re: Scale & Lights

    or glEnable(GL_RESCALE_NORMALS) if available. Might be slightly faster then GL_NORMALIZE, depending on the OpenGL-implementation.

  4. #4

    Re: Scale & Lights

    Thanks a lot!!!

    It works finally

    I love you !!!

Posting Permissions

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