+1

Alpha clip and SSAO plugins

Germain 8 years ago 0

Howdy Joachim,


I'm running into issues integrating SSAO plugins in our game, mostly because any shader that I compile with SF that has alpha clip comes our completely borked. I realize that the issue could be anywhere in the rendering pipeline, but I tried many SSAO plugins, and they all output similar results. The legacy alpha cutout shader on the other hand works perfectly.


Let me illustrate the issue:

(the default Unity cube, with some random alpha clipped material applied on)

Image 524

(the legacy alpha cutout shader with Sonic Ether's SSAO plugin: Expected results)

Image 525

(The legacy alpha cutout shader with the SSAO Pro plugin: Expected Results)

Image 526

(an alpha cutout shader compiled with Shader Forge with SSAO Pro)

Image 527

(same alpha cutout shader with Sonic Ether's SSAO plugin)

Image 528


For the moment, something tells me that if two different SSAO plugins output the same wrong results, the issue has a chance of being in SF's side. But I can't be sure. What do you think?


Cheers!