Skip to content

Conversation

aykae
Copy link

@aykae aykae commented Sep 20, 2023

Aboudi Rai | Submission:

Result

My Debugging Scene

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant