Edge Smoothing
- Duran.te
- Topic Author
I was wondering if someone could make an edge softening shader, like a gaussian blur filter limited to the edges.
I'm not a fan of rough edges. it feels like smooth edges seems to give more cinematic look to the scene.
Not to mention all those games that uses too aggressive sharpening filters, causing ringing artifacts around the edges:
I applied gaussian blur to the whole image and then I made a mask using with the photoshop's "find edges" filter, so that the textures (especially the snow and the threes, in this case) are not affected by the blurriness.
Also, the subtle ringing artifact is gone.
[hr]I know that Reshade's FXAA filter could be a solution, but the problem is that it messes with already anti-aliased images:
(In-game TAA is on)
Please Log in or Create an account to join the conversation.
- brussell
Here's a comparison (left: original, middle: less sharpness for bright pixels, right: standard sharpness)
Of course due to the uneven sharpening some details can look slightly odd (text etc.), but imo it can achive better results than by just clamping the unsharp mask.
Maybe I will post the code here soon. Although it may lack context, here is the important line:
Please Log in or Create an account to join the conversation.
Created sharpening filter that addresses just that issue using depth high-pass mask and it's already in default repository under FilmicAnamorphSharpen.fx
Depth pass is required for it to work, but you can also try using "Sharpen clamping" setting without depth pass to reduce halos.
If you're looking for more performance-wise version without depth masking, visit my Shaders repository (link under my profile information at the bootom of this post), look for FilmicSharpen.fx
Please Log in or Create an account to join the conversation.
- Duran.te
- Topic Author
Please Log in or Create an account to join the conversation.
- Duran.te
- Topic Author
Topic updated, added reference shots.
Could someone help this case?
Please Log in or Create an account to join the conversation.
- jas01
Please Log in or Create an account to join the conversation.
- Duran.te
- Topic Author
It would also be nice if values like intensity and radius could be controlled with dedicated sliders, rather than just the threshold one.
Thanks for help, anyway.
Please Log in or Create an account to join the conversation.
- Insomnia
Please Log in or Create an account to join the conversation.
- Dom324
Please Log in or Create an account to join the conversation.
- S3r1ous
oh and i use Deband to smooth out some of those banding problems, you can see it really well in the skies in some games
Please Log in or Create an account to join the conversation.
- Duran.te
- Topic Author
You'll find it on PirateKitty's GitHub repository: github.com/Heathen/Pirate-Shaders
Please Log in or Create an account to join the conversation.
- j4712
Please Log in or Create an account to join the conversation.
- Duran.te
- Topic Author
I'd almost given up hope of seeing a custom shader made just for this.
A depth+color detection version with adjustable settings for stuff like threshold, radius and intensity would be so awesome, but I don't want to pressure you about that.
Thanks a lot man, you rock
Please Log in or Create an account to join the conversation.
- prod80
github.com/prod80/prod80-ReShade-Repository
Please Log in or Create an account to join the conversation.