Similar to mesh shading

Hello, I am just wondering if it is possible to create a more powerful, or maybe different kind of shader like Reshades Deband shader. As an example…

If it could melt these shades of the green colors together in a better way despite them beeing kind of far apart in shades. Of course, a threshold slider would be nice to have to decide how far away shades can be before beeing ignored. Is this possible? :slight_smile:

I found these pictures and they kind of show what I mean. They are from something called mesh shading wich I dont think have anything to do with this. But the pictures shows what I mean. As you can see it smoothens the difference between different shades. I can not believe this is impossible, right? I mean, as far as I know this is basicly what Reshade Deband does, however I can not make it strong enough to get this result. And Retroarch shaders can do what Reshade can? I might be wrong here :S

From this To this

Note that I dont think this has anything to do with mesh shading. No depth buffer would be needed since I just want it to smooth similar shades out on the whole screen.

the fast-bilateral shader does that but you can quickly start to lose details because it crushes out the small variations.

Also check out any of the presets that have “deposterize” in the name, which what people commonly call this effect.

Thanx for your answer. I have tried the shaders you recomend for this but it does not seem to really do this as I mean. I might do something wrong thou, I am not sure.

I found this, wich seem to do what i want. But it seems to not be available as a Retroarch shader.

heh, I wrote that shader :slight_smile:

There’s a working slang/vulkan version but I haven’t ported it to GLSL or Cg yet:

It’s meant to run on a per-texture basis, but if you’d like to try it whole-screen, you can increase the shader pass’ scale to sharpen it as needed.

Ok, cool :slight_smile: when do you think a porting could be done?

Or before you answer that, is it possible if you try the filter in full force over this picture? Would be nice to see what happens :slight_smile:
http://m.imgur.com/JsqXfGK?r

It won’t look right to apply it to a pre-scaled image. I would need to be a native res shot because that shader includes its own upscaler (sabr).

Ah, ok. Well, I can wait until it gets converted if it will happen =) Thanx for your help!