From 18951607cf2664c6e642a5a0def34c1f0a565f4f Mon Sep 17 00:00:00 2001 From: Jimin Choi <72880905+saordoe@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:10:52 -0700 Subject: [PATCH 1/3] Document debugging process in README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fc7863a..95b74ab 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # lab02-debugging +# My Process +1. First bug was the vec2 bug on line 97, which was more obvious than the other bugs. There is no "vec" type. +2. Passing in the wrong vec2 for the raycast function +3. Specular reflection passing in eye instead of dir + # Setup Create a [Shadertoy account](https://www.shadertoy.com/). Either fork this shadertoy, or create a new shadertoy and copy the code from the [Debugging Puzzle](https://www.shadertoy.com/view/flGfRc). From a929733bb01ef481b2cccb9cc23872892c5ba672 Mon Sep 17 00:00:00 2001 From: Jimin Choi <72880905+saordoe@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:21:57 -0700 Subject: [PATCH 2/3] Update README --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 95b74ab..572e58a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ # lab02-debugging +# Collaborators +Jimin Choi (No collaborators, I was out sick during the demo). +**Shadertoy Link:** https://www.shadertoy.com/view/wfjBRm + # My Process 1. First bug was the vec2 bug on line 97, which was more obvious than the other bugs. There is no "vec" type. -2. Passing in the wrong vec2 for the raycast function -3. Specular reflection passing in eye instead of dir +2. Passing in the wrong vec2 for the raycast function. I had to read through the code multiple times to notice that uv2 was never being used. +3. Specular reflection passing in eye instead of dir. # Setup From 0a3c50417d6c041c81b0ea329d3332869771cf11 Mon Sep 17 00:00:00 2001 From: Jimin Choi <72880905+saordoe@users.noreply.github.com> Date: Sun, 21 Sep 2025 18:22:11 -0700 Subject: [PATCH 3/3] Fix collaborator line formatting in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 572e58a..79c6f6e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # lab02-debugging # Collaborators -Jimin Choi (No collaborators, I was out sick during the demo). +Jimin Choi (No collaborators, I was out sick during the demo).
**Shadertoy Link:** https://www.shadertoy.com/view/wfjBRm # My Process