PySpace icon indicating copy to clipboard operation
PySpace copied to clipboard

shader compilation error

Open SupinePandora43 opened this issue 6 years ago • 3 comments

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 avatar Nov 08 '19 06:11 SupinePandora43

You Just Maked It Wrong

nazarchek112 avatar Oct 18 '23 09:10 nazarchek112

Here Is The File

nazarchek112 avatar Oct 18 '23 09:10 nazarchek112

It Named Run Bat

nazarchek112 avatar Oct 18 '23 09:10 nazarchek112