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

Troubleshooting #27

Open
wants to merge 3 commits into
base: Development
Choose a base branch
from
Open

Troubleshooting #27

wants to merge 3 commits into from

Conversation

Delofon
Copy link

@Delofon Delofon commented Mar 29, 2021

Commit 389eb16: The original shader could cause a compute shader compiling error which wasn't very easy to trace. It is better to set the initial value to a very large number instead to something that isn't supported by some systems.
Trace of this compiling error was seen in issue #24

Commit a265caa: Originally, moving astronaut or camera around would cause shaking similar to floating-point precision issues shaking. This should hopefully fix that.

Delofon added 2 commits March 29, 2021 22:52
The original shader could cause a compute shader compiling error which wasn't very easy to trace. It is better to set the initial value to a very large number instead to something that isn't supported by some systems.
Fixed shakiness described in issues SebLague#13 and SebLague#18 , Unity updated to 2020.3.1f1 (77a89f25062f)
@Delofon Delofon changed the title Tiny update to MoonShading.compute Troubleshooting Mar 31, 2021
Comment on lines +178 to +180
if (Time.timeScale == 0) {
return;
}
Copy link
Author

@Delofon Delofon Mar 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was not in original source code, and there doesn't seem to be anything that breaks up in void FixedUpdate() without it, but I placed it here anyway just for convenience.

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