-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Flashing black squares when MSAA enabled. #228
Comments
This is screaming "Godot renderer bug" or "Graphics driver bug"... it's not the first time I've seen this happen, a variant of this occurs here #149 To my knowledge, there is nothing I can do in the plugin to fix this. It's gotta be reported to Godot, unfortnately I have no idea what it takes to make a simple reproduction project. If you manage to reproduce this in a minimalistic project it could help Godot devs to figure out what it is. Do you have SSR enabled? Also, I just tried on the demo, which only contains a terrain, some water planes and grass: https://github.com/Zylann/godot_hterrain_demo |
I turned SSR off and the issue was reduced significantly, apart from few black dots here and there. It seems to be related to the detail layer. When I hide all of them, the issue is no longer present. Detail layers aren't the only thing that is affected by this though. The squares appear on other objects too. I created a new project, enabled SSR and MSAA, added a detail layer and it was covered with black, though it wasn't flashing like in the video. |
In godotengine/godot#15527 reduz indicates it could be due to an exceeded number of texture samplers, which would be a limitation of your graphics card. If that's the case, the solution is to use less effects and lower-end shaders. It's only a supposition though. |
Apparently this works for me with detail shader. |
That might workaround the symptoms, but something is still broken. Albedo should not be blowing up like that in the first place 🤔 |
Describe the bug
When you enable MSAA the terrain gets covered with these black squares which randomly appear and disappear. It doesn't matter the MSAA power but higher antialiasing seems to make the glitching appear more frequently.
To Reproduce
Create a terrain and enable MSAA.
Environment
Video
https://youtu.be/7VLR4GFhhGk
The text was updated successfully, but these errors were encountered: