diff options
[WGL/P] Improved wording
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | Year 2/Computer Graphics with WebGL/Project/shaders.js | 4 |
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+`];
|
