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

Occasionally on load, the entire scene is just red or black #41

Open
Kermalis opened this issue May 11, 2022 · 1 comment
Open

Occasionally on load, the entire scene is just red or black #41

Kermalis opened this issue May 11, 2022 · 1 comment

Comments

@Kermalis
Copy link

image

The skyboxes are unaffected when this happens, so it must be one of the other shaders (like the BRDF lut or something). The exact cause is unknown though, because it's a random chance to occur on every boot. Even though I'm familiar with the codebase at this point, I have no idea what causes it

@Kermalis
Copy link
Author

Kermalis commented May 11, 2022

I had another instance where everything was black
image

Again, only the model was affected. Sponza with no IBL

One more boot after, and everything is back to normal
image

The exe and shaders aren't even being touched so there's probably some race condition in a compute shader, or some opengl code with undefined behavior. But compute shaders are more likely due to the random nature of this

@Kermalis Kermalis changed the title Occasionally on load, the entire scene is just red Occasionally on load, the entire scene is just red or black May 11, 2022
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

No branches or pull requests

1 participant