|
I've got what feels like a noob question. I'm trying to learn about using shaders, and things are going fine, except that I can't get it to run on my laptop! My stuff works fine on my desktop with its real OpenGL 2.x graphics card, but my laptop only supports OpenGL 1.4. However, I read that shaders were originally introduced in 1.4 as an extension. And, as a matter of fact, glxinfo reveals extensions such as GL_ARB_fragment_program and GL_ARB_vertex_program which sound like what I want. I found calls like glCreateShaderObjectARB() in a sample program on the internet. Trouble is, it's in an if(GLEW_VERSION_1_5) block, while I'm at 1.4. When I bypass this check and force it to use the 1.5 calls, it segfaults on the glCreateShaderObjectARB() call. How can I use GL shaders in a OpenGL 1.4 implementation?
|
# ¿ Aug 24, 2008 19:09 |
|
|
# ¿ Apr 29, 2024 08:03 |
|
sex offendin Link posted:What hardware are you on? There may be a vendor-specific shader extension you can use instead of the ARB feature. I'm not even entirely sure. Looks like Mesa DRI Intel(R) 965GM 4.1.3002 according to glxinfo. Crummy integrated graphics I could dig up the actual card name if that's needed. Also a little more digging looks like I might need GL_ARB_vertex_shader etc. The phrase "shader" doesn't show up in glxinfo at all. Edit: Yeah looks like I need GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_vertex_shader GL_ARB_fragment_shader None of which are present. Am I SOL on shader support? ColdPie fucked around with this message at 19:38 on Aug 24, 2008 |
# ¿ Aug 24, 2008 19:24 |
|
OneEightHundred posted:"program" refer to the early pseudo-assembly shaders, not GLSL. Last I knew, Intel has no support for GLSL on anything lower than the X3100, and I'm not sure if it's on the X3100 either. Yeah, it's an Intel X3100 and it doesn't support shaders (unless I'm not understanding something). I guess I'll poke around and see what my alternatives are.
|
# ¿ Aug 24, 2008 19:58 |