From 5da0a19caf074be7b71514819928fe8177ba745a Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:32:43 +0700 Subject: [PATCH 01/11] Update pink.frag --- NonEuclidean/Shaders/pink.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonEuclidean/Shaders/pink.frag b/NonEuclidean/Shaders/pink.frag index a94e6db..2268658 100644 --- a/NonEuclidean/Shaders/pink.frag +++ b/NonEuclidean/Shaders/pink.frag @@ -5,7 +5,7 @@ precision highp float; uniform sampler2D tex; //Outputs -out vec4 gl_FragColor; +//out vec4 gl_FragColor; void main(void) { gl_FragColor = vec4(1.0, 0.0, 1.0, 1.0); From 6cca9e8c8fc63cc52326c68d223bb829069bada3 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:33:00 +0700 Subject: [PATCH 02/11] Update portal.frag --- NonEuclidean/Shaders/portal.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonEuclidean/Shaders/portal.frag b/NonEuclidean/Shaders/portal.frag index b8b65cb..a641727 100644 --- a/NonEuclidean/Shaders/portal.frag +++ b/NonEuclidean/Shaders/portal.frag @@ -6,7 +6,7 @@ uniform sampler2D tex; in vec4 ex_uv; //Outputs -out vec4 gl_FragColor; +//out vec4 gl_FragColor; void main(void) { vec2 uv = (ex_uv.xy / ex_uv.w); From baa47dd95da076b3b5bfcbfaa11398065e065e1f Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:33:13 +0700 Subject: [PATCH 03/11] Update sky.frag --- NonEuclidean/Shaders/sky.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonEuclidean/Shaders/sky.frag b/NonEuclidean/Shaders/sky.frag index 88acd21..919a34b 100644 --- a/NonEuclidean/Shaders/sky.frag +++ b/NonEuclidean/Shaders/sky.frag @@ -9,7 +9,7 @@ precision highp float; in vec3 ex_normal; //Outputs -out vec4 gl_FragColor; +//out vec4 gl_FragColor; void main(void) { vec3 n = normalize(ex_normal); From 9875681be0072cee47c80dba8f393934b5acb21c Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:33:31 +0700 Subject: [PATCH 04/11] Update texture.frag --- NonEuclidean/Shaders/texture.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonEuclidean/Shaders/texture.frag b/NonEuclidean/Shaders/texture.frag index 64a95f5..a810ae6 100644 --- a/NonEuclidean/Shaders/texture.frag +++ b/NonEuclidean/Shaders/texture.frag @@ -9,7 +9,7 @@ in vec2 ex_uv; in vec3 ex_normal; //Outputs -out vec4 gl_FragColor; +//out vec4 gl_FragColor; void main(void) { float s = dot(ex_normal, LIGHT)*0.5 + 0.5; From 2c76530fbf16e296ff99156fb7f16512c1bb13c8 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:33:41 +0700 Subject: [PATCH 05/11] Update texture_array.frag --- NonEuclidean/Shaders/texture_array.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonEuclidean/Shaders/texture_array.frag b/NonEuclidean/Shaders/texture_array.frag index 305c653..fae943f 100644 --- a/NonEuclidean/Shaders/texture_array.frag +++ b/NonEuclidean/Shaders/texture_array.frag @@ -9,7 +9,7 @@ in vec3 ex_uv; in vec3 ex_normal; //Outputs -out vec4 gl_FragColor; +//out vec4 gl_FragColor; void main(void) { float s = dot(ex_normal, LIGHT)*0.25 + 0.75; From b0f4308c5b249319547df8d3512dd1b68265edf0 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:34:53 +0700 Subject: [PATCH 06/11] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9084b5c..ac6aa2e 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,7 @@ Add glew-2.1.0 to the main directory * **1 - 7** - Switch between different demo rooms * **Alt + Enter** - Toggle Fullscreen * **Esc** - Exit demo + +## BEST OF ALL: BLACK SCREEN FIX! +For whoever out there is trying to play this demo but having a black screen (like mine) +Enjoy! :) From 924ea0449587dd53e3a6ca2ad138e6fd682e78d1 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:47:33 +0700 Subject: [PATCH 07/11] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index ac6aa2e..124a51d 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,6 @@ A NonEuclidean rendering engine for Windows, written in C++ OpenGL. To see what this code is about, check out this video: https://youtu.be/kEB11PQ9Eo8 -## Source Code Dependencies -Add glew-2.1.0 to the main directory - ## Controls * **Mouse** - Look around * **AWSD** - Movement From 8746ed805302010d062b660c9bd8ba8b61ca6fc2 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:55:44 +0700 Subject: [PATCH 08/11] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 124a51d..f8f1d44 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,4 @@ https://youtu.be/kEB11PQ9Eo8 ## BEST OF ALL: BLACK SCREEN FIX! For whoever out there is trying to play this demo but having a black screen (like mine) Enjoy! :) +(Btw the fix is really easy. Just find the "out vec4 gl_FragColor;" line in these 5 files: pink.frag, portal.frag, sky.frag, texture.frag, texture_array.frag and comment out the line mentioned earlier (which basically means adding "//" in front of the line, for example, "//out vec4 gl_FragColor;"). This fix was found by @multivac3834 at #45. This is just a longer explanation.) From ff065d28c64f19e13911710bf27418d1738a7902 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:56:06 +0700 Subject: [PATCH 09/11] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f8f1d44..33fe040 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,5 @@ https://youtu.be/kEB11PQ9Eo8 ## BEST OF ALL: BLACK SCREEN FIX! For whoever out there is trying to play this demo but having a black screen (like mine) Enjoy! :) + (Btw the fix is really easy. Just find the "out vec4 gl_FragColor;" line in these 5 files: pink.frag, portal.frag, sky.frag, texture.frag, texture_array.frag and comment out the line mentioned earlier (which basically means adding "//" in front of the line, for example, "//out vec4 gl_FragColor;"). This fix was found by @multivac3834 at #45. This is just a longer explanation.) From a54dffbc35e9d418ad62452de7d6dc9504bb4e95 Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:58:23 +0700 Subject: [PATCH 10/11] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 33fe040..5a1bb77 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,6 @@ For whoever out there is trying to play this demo but having a black screen (lik Enjoy! :) (Btw the fix is really easy. Just find the "out vec4 gl_FragColor;" line in these 5 files: pink.frag, portal.frag, sky.frag, texture.frag, texture_array.frag and comment out the line mentioned earlier (which basically means adding "//" in front of the line, for example, "//out vec4 gl_FragColor;"). This fix was found by @multivac3834 at #45. This is just a longer explanation.) + +##Thanks +Thank you @ehx-v1 for telling me how to ACTUALLY fix this issue. I also thank @multivac3834 for finding the fix. From c5ad23736ef68b242d8d0b26ee7603fde08a7f4d Mon Sep 17 00:00:00 2001 From: KenLovesCompilingStufs Date: Fri, 27 Sep 2024 20:59:31 +0700 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a1bb77..e783464 100644 --- a/README.md +++ b/README.md @@ -16,5 +16,5 @@ Enjoy! :) (Btw the fix is really easy. Just find the "out vec4 gl_FragColor;" line in these 5 files: pink.frag, portal.frag, sky.frag, texture.frag, texture_array.frag and comment out the line mentioned earlier (which basically means adding "//" in front of the line, for example, "//out vec4 gl_FragColor;"). This fix was found by @multivac3834 at #45. This is just a longer explanation.) -##Thanks +## Thanks Thank you @ehx-v1 for telling me how to ACTUALLY fix this issue. I also thank @multivac3834 for finding the fix.