Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Computer Graphics with WebGL / Project / Project.html
diff options
context:
space:
mode:
Commitce3ddd0ac87e9642851759a92fc99b24339533f6 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-08-28 12:09:33 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-08-28 12:09:33 +0300
Filesb8c53d88a38a331bef56d89b8addb430f0dc3b90 /Year 2/Computer Graphics with WebGL/Project/Project.html
uni-projects-ce3ddd0ac87e9642851759a92fc99b24339533f6.tar
uni-projects-ce3ddd0ac87e9642851759a92fc99b24339533f6.tar.gz
uni-projects-ce3ddd0ac87e9642851759a92fc99b24339533f6.zip
Parentbaade692399d125001e00d08afc68c1e253eaae4 (diff)
[WGL/P] Added a setting for disabling ray marching
1 files changed, 2 insertions, 0 deletions
-rw-r--r--Year 2/Computer Graphics with WebGL/Project/Project.html2
diff --git a/Year 2/Computer Graphics with WebGL/Project/Project.html b/Year 2/Computer Graphics with WebGL/Project/Project.html
index e010a1c..5aa4252 100644
--- a/Year 2/Computer Graphics with WebGL/Project/Project.html
+++ b/Year 2/Computer Graphics with WebGL/Project/Project.html
@@ -113,6 +113,7 @@ body > div {
gl.uniform4f(uBlack, 0,0,0,1);
gl.uniform4f(uBHBlack, 0,0,0,1);
+ gl.uniform1i(uDisableRayMarching, false);
skybox = new Skybox(10000, [0,0,0], undefined);
createLevels();
@@ -188,6 +189,7 @@ body > div {
Debugging colors: <input type="checkbox" id="debug-mode"><br>
Toggle coordinates: <input type="checkbox" id="coordinates-cb"><br>
Toggle fps: <input type="checkbox" id="fps-cb"><br>
+ Disable ray marching: <input type="checkbox" id="disable-ray-marching"><br>
Only horizontal mouse movement: <input type="checkbox" id="only-horizontal"><br>
Only vertical mouse movement: <input type="checkbox" id="only-vertical">
</p>