Skip to content

Lab 2: Kisha and Hansen #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# lab06-debugging

Hansen Yi and Kisha Yan

https://www.shadertoy.com/view/csccR2

Bugs
1. There was a typo in line 97, vec instead of vec2, we found it because the shadertoy did not compile and gave a warning.
2. We changed the second iResoultion.x to iResolution.y in line 11. We found it because the resolution of the screen seemed stretched and multiplying by iResolution.x / iResolution.x was just multiplying by 1.
3. In line 100, we changed uv to uv2. We found it because we realized for the raycast that the input should range from -1 to 1 as opposed to just 0 to 1.

# 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).
Expand Down