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

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

Jan.

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

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.

right

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.