python-minecraft-clone: Game not starting. Says that GLSL is not supported

Traceback (most recent call last):
  File "main.py", line 204, in <module>
    game = Game()
  File "main.py", line 198, in __init__
    self.window = Window(config = self.config, width = 800, height = 600, caption = "Minecraft clone", resizable = True, vsync = False)
  File "main.py", line 34, in __init__
    self.shader = shader.Shader("vert.glsl", "frag.glsl")
  File "/usr/home/glowiak/gits/python-minecraft-clone/episode-12/shader.py", line 45, in __init__
    create_shader(self.vert_shader, vert_path)
  File "/usr/home/glowiak/gits/python-minecraft-clone/episode-12/shader.py", line 36, in create_shader
    raise Shader_error(str(log_buffer.value))
shader.Shader_error: b'0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n'

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Thanks!!! Now everything works!

I think he means the whole shader file.