HackerPoet / PySpace

GLSL Fractal Ray Marcher in Python
MIT License
1.15k stars 148 forks source link

shader compilation error #15

Open SupinePandora43 opened 4 years ago

SupinePandora43 commented 4 years ago
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
nazarchek112 commented 10 months ago

You Just Maked It Wrong

nazarchek112 commented 10 months ago

Here Is The File

nazarchek112 commented 10 months ago

It Named Run Bat