My system is WinXp, and I use VC++6.0.My OpenGL Version is 1.4(use glew).How could I update my system to OpenGL 2.0.And How can I use GLSL in VC++6.0 environment.
I can’t find gl_FragColor and uniform and so on in my glew.h why?
>> gl_FragColor and uniform
Those are keywords used within glsl shaders, it is not OpenGL C code, but part of the string of a shader you pass to opengl.
Read the tuts here :
http://www.lighthouse3d.com/opengl/glsl/index.php?ogloverview
Thanks. That is what I need.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.