SSGI - Some considerations about "realism-effects" #715
Replies: 1 comment 1 reply
-
I agree. This is already included in the relevant tickets: #571, #599.
Could you please provide an example of this?
Could you elaborate?
This is often unavoidable with postprocessing effects - either because it's not technically possible or due to performance reasons. It's worth noting that not a single game out there uses the concept of a transparent canvas for those same reasons. You can get some simpler overlay effects semi-working with a transparent canvas, but it's generally not recommended. Postprocessing does allow the use of alpha, but it can't guarantee correct results in that case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
PREMISE: Unfortunately I'm not good at all with shaders, so I'm just sharing and talking about 3rd parties work, and please excuse me if I'll not use the proper terms.
There's a very good effect for postprocessing that include SSGI, SSR, etc
https://github.com/0beqz/realism-effects
It work quite well in my opinion, but unfortunately it seem to be discontinued.
Actual major issues (always in my opinion):
1 - Quite poor quality with transparent materials
2 - Lack of support for ShadowMaterial
3 - The canvas loose its transparency (the SSGI effect create a "ssgiEffect.GBufferDebugPass.Texture" that indeed show the alpha of the image, but for unknown reasons to me it seem not be used)
I've breaked my mind to try to solve the 3rd one (lack of transparency on the canvas) for hours, but I didn't solve the problem.
Maybe someone much more skilled than me will be able to do that, and to improve this very nice effect.
If you want to give a try here are some basic instructions:
1 - download the files zipped from my link (I've just zipped the updated files, because the npm installed ones, from instructions of the author, do not work)
https://issimissimo.com/exp/realism-effects.zip
and put them somewhere (e.g. src/lib/realism-effects)
2 - if you use Vite put these lines:
resolve: {
alias: [
{ find: "realism-effects", replacement: "/src/lib/realism-effects/index.js" },
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions