From 8522d61351796b1c88c41bfc2b8b4fa130c73371 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 28 Aug 2023 13:09:29 +0300 Subject: [WGL/P] Improved wording --- Year 2/Computer Graphics with WebGL/Project/shaders.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Year 2/Computer Graphics with WebGL/Project/shaders.js') 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+`]; -- cgit v1.3.1-26-gb76a