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: just vertex shaders part 2

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    leeds, uk
    Posts
    4

    just vertex shaders part 2

    how is it possible to just write a vertex shader and have fixed functionality for lighting? is there some special command switch to use or something else i'm not seeing?

    thanks

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Dec 2000
    Location
    Reutlingen, Germany
    Posts
    2,052

    Re: just vertex shaders part 2

    No, when using Vertex Shaders, you have to do all the rest by yourself.

    Jan.
    GLIM - Immediate Mode Emulation for GL3

  3. #3

    Re: just vertex shaders part 2

    Huu ?
    I use only vertex shader (glsl) without fragment shader. And it works very fine.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,768

    Re: just vertex shaders part 2

    I use only vertex shader (glsl) without fragment shader. And it works very fine.
    Fixed-function lighting is per-vertex lighting. And therefore, it is replaced by the vertex program.

  5. #5

    Re: just vertex shaders part 2

    right

Posting Permissions

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