Closed AlejoHarris closed 3 years ago
In you console type glslViewer and see if it finds it. GlslViewer needs to be installed on you system path
Thank you @patriciogonzalezvivo, also encounter same issue with FFMpeg, and made the same thing. Thank you! It could be nice to make a note in the Readme that these dependencies need to be installed on the system path, as a recommendation for Windows users that maybe don't know about instlalling this by themselves. Again, thank you!
Hi @patriciogonzalezvivo, I'm reopening this issue because happened again, with all the dependencies installed in the system PATH
./henerator.py black.frag --title Black --duration 10
Warnings while compiling vertex shader:
WARNING: 0:2: '' : #version directive missing
Warnings while compiling fragment shader:
WARNING: 0:2: '' : #version directive missing
WARNING: 1:61: Unary operation folding into constant is supported in newer GLSL versions
Warnings while compiling vertex shader:
WARNING: 0:2: '' : #version directive missing
Warnings while compiling fragment shader:
WARNING: 0:2: '' : #version directive missing
Traceback (most recent call last):
File "C:\Users\Alejo\Desktop\HeNerator\henerator.py", line 2309, in <module>
generate(file, args)
File "C:\Users\Alejo\Desktop\HeNerator\henerator.py", line 2239, in generate
shader_in_file = open(shader_filename+'.frag', "r")
FileNotFoundError: [Errno 2] No such file or directory: '45yax3k0kel4j7hhk5inftfbkm6fic1z.frag'
The shader seems to be running normally using the GLSL Viewer extension from VSCode, any idea of what it could be?
Seams there is an issue with your shader. It's missing the version number. Please try your shaders on glslViewer to make sure they run properly
It opens a windows, shows the same warnings and then it closes.
Is there something in the versioning I may be missing?
Seams there is an issue with your shader. It's missing the version number. Please try your shaders on glslViewer to make sure they run properly
Oh I missed this, how can I do this inside my .frag file?
Ok solved this by using de Win32 release of glslViewer, not the x64
Hi again @patriciogonzalezvivo, this is the error trying to doing it in a Windows PC:
I installed GLSLViewer I think, there is a way to verify that?