From 1f3a41493eb39665f2b635de4cb9ff54d4444346 Mon Sep 17 00:00:00 2001 From: AKR Date: Wed, 20 Sep 2023 12:27:23 -0400 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index aa0f112..fd78f08 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # lab06-debugging +## Aboudi Rai | Submission: +### Result +[My Debugging Scene](https://www.shadertoy.com/view/cd3czj) +### Bugs +1. Line 97: There was a syntax error where a `vec2` was accidentally written as `vec`. +2. Line 100: `uv` was fed into raycast instead of `uv2` +3. Line 11: Height was not being multiplied by correct aspect ratio. Switched to `H *= len * iResolution.x / iResolution.y` +4. Line 18: Increased iteration count in `march(...)` to 256 to allow all parts of the floor to be hit. +5. Line 75: reflection was erroneously done about `eye` and `nor` rather than `dir` and `nor`. + # 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).