Welcome, Guest.
Username: Password: Remember me

TOPIC: Kuwahara & Anisotropic

Kuwahara & Anisotropic 3 months 2 weeks ago #1

Hey,
I was porting a bunch of shaders I had laying around over to MPC-HC and I kind of stumbled on this software so I thought why not port it on here as well while I'm at it.

The filters included in this release are two versions of the kuwahara filter, the first one is a slightly tweaked copy of the original and the second is the first Anisotropic version from https://code.google.com/archive/p/gpuakf/.

The second filter won't compile on old shader models and while it can run decently on good hardware, it isn't really supposed to be used in real time, 'relies too heavily on nested loops and kind of likes to eat all of your GPU while in configuration mode, be very careful when fiddling with it !

Here's a preview of what the first shader looks like :


And the rest of the album: https://imgur.com/a/EUCWM
I don't have any screenshot of the second shader, it's very similar but drawn with softer strokes.

DL link : google drive
Extract and replace your folders by those contained in the archive, you can keep your "ReShade.fxh" if you already have one though.
The administrator has disabled public write access.
The following user(s) said Thank You: crosire, Apocalypso, andrew, Zarathustra

Kuwahara & Anisotropic 3 months 2 weeks ago #2

Thanks a lot! It's great to have some artistic shaders. Even if I don't play with them I love to use them for screenshots.
Btw, do u know any good app or online site to create high quality artistic versions of images? The sites I know usually limit the image size quite severely.
The administrator has disabled public write access.

Kuwahara & Anisotropic 3 months 2 weeks ago #3

I don't know of any but if you want to use those filters you could check out the demo application that the source for the anisotropic version provided (https://code.google.com/archive/p/gpuakf/downloads)
The administrator has disabled public write access.

Kuwahara & Anisotropic 3 months 2 weeks ago #4

so how close is this to the aniso filtering found in nvidia card menu and most games?
The administrator has disabled public write access.

Kuwahara & Anisotropic 3 months 2 weeks ago #5

It isn't related, anisotropic filtering is used to correct texture mapping onto surfaces while anisotropic kuwahara is a filter derived from kuwahara which modifies an entire image based on its "directionnality"(https://en.wikipedia.org/wiki/Anisotropy) to produce something that looks more abstract than its input.
The administrator has disabled public write access.
The following user(s) said Thank You: Sh1nRa358

Kuwahara & Anisotropic 3 months 1 week ago #6

Eideren wrote:
I don't know of any but if you want to use those filters you could check out the demo application that the source for the anisotropic version provided (https://code.google.com/archive/p/gpuakf/downloads)

Great, thanks a lot. I used that app on a few of my Total War - Warhammer shots and I like the result a lot. On most of them I applied a sharpening filter from a photo app afterwards. Looking forward to trying your shader.

Here is a small TW-WH2 - Kuwahara gallery

Before After example:



Another example:
Last Edit: 3 months 1 week ago by Zarathustra.
The administrator has disabled public write access.

Kuwahara & Anisotropic 3 months 1 week ago #7

I tried the shaders in AC:O. The kuwahara filter works as it should but anistropic filter produces only black screen regardless of the settings.
The administrator has disabled public write access.

Kuwahara & Anisotropic 3 months 6 days ago #8

I didn't initialize the exposed float variables properly, try it again now and tell me if those changes did anything. It probably wasn't the issue though, I don't have AC:O so could you check the logs for me and tell me if there are any suspicious lines ?
The administrator has disabled public write access.

Kuwahara & Anisotropic 3 months 6 days ago #9

Eideren wrote:
I didn't initialize the exposed float variables properly, try it again now and tell me if those changes did anything. It probably wasn't the issue though, I don't have AC:O so could you check the logs for me and tell me if there are any suspicious lines ?
Actually, the problem was that I had missed adding the texture folder correctly. Now it works as it should. Sorry, totally my bad.
The administrator has disabled public write access.