Results 1 to 2 of 2

Thread: fixed lighting.

  1. #1
    Junior Member Newbie
    Join Date
    May 2002

    fixed lighting.

    Ive wriiten my initials in blocks, and ive got it to rotate. but how do i keep the light position fixed so that the light is always shining into the screen, rather than being at a fixed position to the blocks


  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000

    Re: fixed lighting.

    Set the light position after transforming the viewpoint/object.

Similar Threads

  1. How to specify a fixed lighting direction?
    By NomadUK in forum COLLADA
    Replies: 0
    Last Post: 05-25-2012, 06:43 AM
  2. FAQ - Fixed function lighting position problems
    By Zenja in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 01-03-2011, 08:16 AM
  3. rotate with fixed lighting
    By zslevi in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-18-2009, 07:42 AM
  4. Specular lighting shader vs. fixed functionality
    By Rhawk187 in forum OpenGL: GLSL
    Replies: 7
    Last Post: 01-03-2009, 02:24 PM
  5. fixed lighting
    By whatman in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-21-2004, 02:27 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