Skip to content

shader compilation error #15

@SupinePandora43

Description

@SupinePandora43
python ray_marcher_demo.py
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Compiling Vertex Shader...
Compiling Fragment Shader...
b'0(53) : error C1059: non constant expression in initialization\n'
Traceback (most recent call last):
  File "ray_marcher_demo.py", line 260, in <module>
    program = shader.compile(camera)
  File "C:\Games\Downloads\PySpace-master\pyspace\shader.py", line 73, in compile
    program = self.compile_program(v_shader, f_shader)
  File "C:\Games\Downloads\PySpace-master\pyspace\shader.py", line 106, in compile_program
    fragment_shader = self.compile_shader(fragment_source, GL_FRAGMENT_SHADER)
  File "C:\Games\Downloads\PySpace-master\pyspace\shader.py", line 92, in compile_shader
    raise ValueError('Shader compilation failed')
ValueError: Shader compilation failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions