Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shader compilation error #15

Open
SupinePandora43 opened this issue Nov 8, 2019 · 3 comments
Open

shader compilation error #15

SupinePandora43 opened this issue Nov 8, 2019 · 3 comments

Comments

@SupinePandora43
Copy link

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
@SupinePandora43 SupinePandora43 changed the title error shader compilation error Nov 8, 2019
@nazarchek112
Copy link

You Just Maked It Wrong

@nazarchek112
Copy link

Here Is The File

@nazarchek112
Copy link

It Named Run Bat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants