Menu

#25 GLSL version problems

v2.0
open
nobody
None
5
2016-02-20
2016-02-20
Sasszem
No

Hi,

I've installed PyOpenGL for my Ubuntu PC, & I used it with Pygame withot any problems, but now I've experimented a bit with Sharders.

I used the sharder loading code from the Pygame CookBook, with the simplest possible vertex sharders for #version 330 core.

It gave me this message:
error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
I've tried to use #version 300, but it gave me the same resout(except fot that it said that 3.00 is not supported)

My GPU SUPPORTS GLSL 330.
I know I tested it in C.

What should I do to get in work with new versions?

Thanks in advance for your help!

Discussion


Log in to post a comment.