Skip to content

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