godot icon indicating copy to clipboard operation
godot copied to clipboard

SSAO graphical issue with glitchy lines

Open honix opened this issue 9 years ago • 22 comments

Operating system or device - Godot version: OS: Linux Arch 64 Video: Intel HD Graphics 5500 Godot version: Godot 3.0 custom self compiled from 6d0568d

Issue description: SSAO draws glitchy lines. Camera.Environment with only ssao enabled. Same in editor and game-mode. There is shot without blur:

godot-ssao

honix avatar May 10 '17 10:05 honix

same here on Intel HD 3000

khairul169 avatar May 10 '17 11:05 khairul169

Does someone reproduce this issue on Windows or macOS?

akien-mga avatar Jun 15 '17 12:06 akien-mga

I can reproduce this on Intel HD Graphics 620 on Windows 10.

Example project

This happens regardless of the SSAO settings used. This bug also does not happen on NVIDIA graphics on Windows 10.

Calinou avatar Jun 15 '17 13:06 Calinou

Same hardware as Calinou, simple can't reproduce :\

reduz avatar Jun 15 '17 21:06 reduz

Notebook HP 340 g1 (Intel Graphics HD 4400) can reproduce ss

PD: Godot alpha Unofficial Build 13 June in general is extreme slow in notebook (3 FPS approx)

Shockblast avatar Jun 16 '17 16:06 Shockblast

The screenshot above doesn't seem to display artifacts related to SSAO, but rather artifacts related to shadow bias being set to a slightly too low value (a mistake on my side while making the demo project).

PD: Godot alpha Unofficial Build 13 June in general is extreme slow in notebook (3 FPS approx)

More recent builds should be much faster, as the OpenGL error spam was fixed on Intel on Windows.

Calinou avatar Jun 16 '17 18:06 Calinou

The screenshot above doesn't seem to display artifacts related to SSAO, but rather artifacts related to shadow bias being set to a slightly too low value (a mistake on my side while making the demo project).

wops! (i try same settings from screenshot adove). ss

Shockblast avatar Jun 16 '17 19:06 Shockblast

ssao seems fine in those pics, the scanline effect is indeed due to shadow bias

On Fri, Jun 16, 2017 at 4:55 PM, Shockblast [email protected] wrote:

The screenshot above doesn't seem to display artifacts related to SSAO, but rather artifacts related to shadow bias being set to a slightly too low value (a mistake on my side while making the demo project).

wops! (i try same settings from screenshot adove). [image: ss] https://user-images.githubusercontent.com/5357217/27242532-ac2fa1aa-52ab-11e7-9521-0487a1822396.jpg

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/godotengine/godot/issues/8708#issuecomment-309119788, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-Z25oykV6kO3uF1FLSeUG9zT6E1PNWks5sEt2ggaJpZM4NWek0 .

reduz avatar Jun 16 '17 21:06 reduz

Does that mean the issue is closed?

HummusSamurai avatar Jul 05 '17 03:07 HummusSamurai

I will recheck it today, and post a screenshoot.

honix avatar Jul 05 '17 06:07 honix

Same problem OS: Linux Arch 64 Video: Intel HD Graphics 5500 Godot version: 3.0 July 4 nightly build ssao-s project - ssao-test.zip

honix avatar Jul 05 '17 10:07 honix

I tested on an Intel 520 and it works fine... wish I had older hardware to test..

On Wed, Jul 5, 2017 at 7:02 AM, Fyodor Shchukin [email protected] wrote:

Same problem OS: Linux Arch 64 Video: Intel HD Graphics 5500 Godot version: 3.0 July 4 nightly build [image: ssao-s] https://user-images.githubusercontent.com/11596541/27859670-2be235d6-6182-11e7-9527-67d715e71617.png project - ssao-test.zip https://github.com/godotengine/godot/files/1124241/ssao-test.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/godotengine/godot/issues/8708#issuecomment-313059403, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-Z29X24Rp5bUK7l5DAQlM0gOEVaFT9ks5sK19AgaJpZM4NWek0 .

reduz avatar Jul 05 '17 10:07 reduz

Arch Linux, HD4000 (Mesa 17.1.4) also getting the scanline effect in Calinou's example project (and in the Material Tester demo) but no other glitches. Increasing the SSAO bias setting indeed reduces or removes the effect, but the bias setting shouldn't be hardware/driver specific, should it? Because some people can run the Material Tester demo without the scanline effect and tweaking the bias setting.

@honix Could you please upload your example project? I would like to try if I also get the glitchy lines.

[edit] nevermind, i didn't see the link ;) [edit2]

I can also reproduce the red lines from honix' example. I don't have them in the editor, though, but only when actually running the scene. Would be nice to have someone with the same hardware, but an older version of mesa to test this (any Debian users here?)

Don't know if this is helpfull, but this is how the SSAo bias setting affects the issue: bias

novemberist avatar Jul 06 '17 07:07 novemberist

Should be fixed in current master. Could you check that ?

groud avatar Aug 23 '17 07:08 groud

Looks fine now on my HD4000. Let's see if it's also fixed for other intel gpus.

ssao_artifacts

novemberist avatar Aug 23 '17 07:08 novemberist

Are those red clouds of dots expected though?

akien-mga avatar Aug 23 '17 08:08 akien-mga

I think @honix used these exaggerated ssao settings (and the red color) on purpose in his example project for better visualization of the issue.

novemberist avatar Aug 23 '17 08:08 novemberist

Are those red clouds of dots expected though?

I'm not the expert but I'd say yes. The really low value for the bias may cause that.

groud avatar Aug 23 '17 08:08 groud

ssao colour was changed here , blur option was turned off(blur has no slider) to have such ssao output

himaghnam avatar Aug 23 '17 08:08 himaghnam

Hm.. Can't build master or 591a892c to test. Maybe there is some working builds?

editor/editor_icons.cpp:1:10: fatal error: editor_icons.h: No such file or directory

honix avatar Aug 23 '17 11:08 honix