diff options
[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.html | 2 |
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>
|
