HackerPoet / NonEuclidean

A Non-Euclidean Rendering Engine for 3D scenes.
MIT License
6.1k stars 581 forks source link

Black Screen (Resolved) #52

Open TediusTimmy opened 1 year ago

TediusTimmy commented 1 year ago

I just wanted to leave this here, in case it helps anyone. I also tried to start the program and only got a black screen. But, I noticed in the "Shaders" folder were some log files with this message:

ERROR: 0:9: 'gl_FragColor' : identifiers starting with "gl_" are reserved 
ERROR: 1 compilation errors.  No code generated.

Apparently, my GLSL compiler isn't honoring the language version, or only partially doing so. The solution was to just remove the "gl_" from that variable name in the five ".frag" files that use it. Then the demo worked.

PaxtonPenguin commented 1 year ago

Thanks

ehx-v1 commented 1 year ago

Please document this on #13 where the black screen issue is tracked. Thank you.

idontno56 commented 1 year ago

it didn't work