Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Computer Graphics with WebGL / Project / shaders.js
diff options
context:
space:
mode:
Commit8522d61351796b1c88c41bfc2b8b4fa130c73371 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-08-28 13:09:29 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-08-28 13:09:29 +0300
Files0603a0dc9762079db38fb6fabf375ddd09388da7 /Year 2/Computer Graphics with WebGL/Project/shaders.js
uni-projects-8522d61351796b1c88c41bfc2b8b4fa130c73371.tar
uni-projects-8522d61351796b1c88c41bfc2b8b4fa130c73371.tar.gz
uni-projects-8522d61351796b1c88c41bfc2b8b4fa130c73371.zip
Parent855063191ecec60c8cff468fd8f8302b41bf05a1 (diff)
[WGL/P] Improved wording
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Year 2/Computer Graphics with WebGL/Project/shaders.js4
diff --git a/Year 2/Computer Graphics with WebGL/Project/shaders.js b/Year 2/Computer Graphics with WebGL/Project/shaders.js
index bd98880..86c6faf 100644
--- a/Year 2/Computer Graphics with WebGL/Project/shaders.js
+++ b/Year 2/Computer Graphics with WebGL/Project/shaders.js
@@ -53,8 +53,8 @@ var fShader = `
// Settings
uniform bool uDisableRayMarching;
- uniform vec4 uBlack;
- uniform vec4 uBHBlack;
+ uniform vec4 uBlack; // color when ray doesn't hit anything (or hits the skybox)
+ uniform vec4 uBHBlack; // color when ray doesn't escape the black hole
// For ray marching
uniform vec4 uStars[`+STAR_MAX_COUNT+`];