Skip to content
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

Fix bug in the (admitedly fake) shadow. #6

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

fidergo-stephane-gourichon
Copy link
Contributor

Notice that the variable that was named "shadow_radius" is actually compared to the square of distances, so I put it at 4 for a non-squared radius of 2, matching the radius of the sphere, and renamed the variable to "shadow_radius2".

Best enjoyed with #4 and #5 applied.

Notice that the variable that was named "shadow_radius2" is actually compared to the square of distances, so I put it at 4 for a non-squared radius of 2, matching the radius of the sphere.Notice that the variable that was named "shadow_radius" is actually compared to the square of distances, so I put it at 4 for a non-squared radius of 2, matching the radius of the sphere, and renamed the variable to "shadow_radius2".
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.

2 participants