From ce3ddd0ac87e9642851759a92fc99b24339533f6 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 28 Aug 2023 12:09:33 +0300 Subject: [WGL/P] Added a setting for disabling ray marching --- Year 2/Computer Graphics with WebGL/Project/Project.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Year 2/Computer Graphics with WebGL/Project/Project.html') 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:
Toggle coordinates:
Toggle fps:
+ Disable ray marching:
Only horizontal mouse movement:
Only vertical mouse movement:

-- cgit v1.3.1-23-gd82d