HackerPoet / NonEuclidean

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

Does not open #45

Open bowiebo1 opened 3 years ago

ehx-v1 commented 2 years ago

Same black window as #13 and #44?

multivac3834 commented 2 years ago

I am trying to run it with current nvidia driver. i also had a black screen. in nsigth i saw that the fragment shaders are not used. gl_FragColor is an old way to do it. defining gl_FragColor is wrong because it will shadow the inbuild variable named gl_FragColor. just comment out the line "out vec4 gl_FragColor;" the shader is now used and write colours to the fb.

szymor commented 2 years ago

I have black screen with exe included in the repo. Modifying fragment shaders as @multivac3834 mentions solves the issue. In fact it was quite easy to fix as shader logs confirm the problem.

ehx-v1 commented 2 years ago

@multivac3834 Could you please document your findings on #13? As it would probably make more sense to track this issue there.

vanzeven commented 1 year ago

commenting out the lines work, there are 5 files total to be edited, just use VSCode to find them all

ehx-v1 commented 1 year ago

Again, the "black window" issue is tracked on #13 , please go there to document anything you find out.