Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

SSAO doesn't work with material system

Open slipher opened this issue 8 months ago • 4 comments

r_materialSystem 0, r_ssao 0

Image

r_materialSystem 0, r_ssao 1

Image

r_materialSystem 1, r_ssao 1 Image

The last screenshot (material system + SSAO) is more similar to the first screenshot (SSAO off) than the second (SSAO on). Look at this line for example:

Image

slipher avatar Mar 24 '25 14:03 slipher

As discussed in #1600, instead of just having ~no effect, SSAO with material system can also cause bad artifacts in certain configurations. With dummygame and AMD hardware I get this:

Image

slipher avatar Apr 26 '25 01:04 slipher

Mesa or proprietary drivers btw?

VReaperV avatar Apr 26 '25 05:04 VReaperV

It seems the original issue might also be hw-specific, since with r_ssao -1 I get this on Nv: r_materialSystem off: Image r_materialSystem on: Image

VReaperV avatar Apr 26 '25 05:04 VReaperV

With Mesa.

With r_ssao -1, the SSAO lines blink on and off with varying frequency. I.e. sometimes it draws the lines, sometimes it is all white.

slipher avatar Apr 27 '25 03:04 slipher

As discussed in #1600, instead of just having ~no effect, SSAO with material system can also cause bad artifacts in certain configurations. With dummygame and AMD hardware I get this:

Image

I experienced this as well in the past, this screenshot is perfect to describe what I have seen.

illwieckz avatar Jul 13 '25 04:07 illwieckz