Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: ant08103

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    569

    GLfloat light0_position[]={20., 0., 0., .0};...

    GLfloat light0_position[]={20., 0., 0., .0};
    GLfloat light1_position[]={0., 20., -50., .0};
    GLfloat light_position[] = {0.0, -20., 10., 0.}; //(light direction)
  2. Replies
    1
    Views
    569

    Handling light position and color

    hello thanks in advance for your time
    ok i have a simple town (houses,cars,trees)
    i have the colored with colorf(r,g,b) and i want it to render the color based on light and color
    im having...
Results 1 to 2 of 2