[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Shaders and Examples not Working



Ian Mallett wrote:

However, neither of the shader examples work for me,
even after I made the obvious modifications.

How exactly do they fail? Do you get an exception?

Does PyGlet use the PyOpenGL port of the outdated OpenGL 2.0?

I think pyglet has its own wrappers for OpenGL, and
doesn't use PyOpenGL.

I can't think of any reason that PyGame in particular
should fail to suppport shaders. The only involvement
that PyGame has with OpenGL is to provide you with an
OpenGL context. After that it's down to the capabilities
of the OpenGL wrapper you're using -- PyOpenGL, pyglet
or whatever.

You might try using PyOpenGL 3.x, which I gather is
based on ctypes as well. It might give you access to
some newer OpenGL features, if that's what the problem
is.

--
Greg