Oil, paint, or cel-shading filters

  • Nerd
  • Topic Author
More
9 years 2 months ago - 9 years 2 months ago #1 by Nerd Oil, paint, or cel-shading filters was created by Nerd
Master Effect and SweetFX have a cartoon edge filter but full screen art is what I'm requesting. I've only seen Oblivion's graphics extender and Dolphin's OpenGL FX plugin(which seems to be a cartoon edge filter expanded upon) implement such a thing. I think it would be really cool if we could play certain games with an active oil painting filter for instance.

Is it impossible to do well in real-time or are shader modders just uninterested?

Here are videos showing what I'm talking about.



I'm mainly requesting this because some emulated games don't look good no matter what you do(Okami on PS2) but with a filter like this you could, I'd imagine, forcefully improve the visuals.
Last edit: 9 years 2 months ago by Nerd.

Please Log in or Create an account to join the conversation.

  • Omnipotus
More
9 years 2 months ago #2 by Omnipotus Replied by Omnipotus on topic Oil, paint, or cel-shading filters
I'm with you on this mate, I'd love a filter/shader that could do something similar to this, I'd also love a SuperEagle type sprite shader too for "retro" games and heck even new ones, who knows, could be a cool effect, that Skyrim "Oil" effect is noice :D

Please Log in or Create an account to join the conversation.

  • JPulowski
More
9 years 2 months ago #3 by JPulowski Replied by JPulowski on topic Oil, paint, or cel-shading filters
There is already one available . I already ported it to ReShade, but paint shader does not work for some reason. I actually know the problem, the code just needs some minor modification. But I need to have talk with CeeJay or Crosire to be sure. The cel shading however works for games with depth buffer access. I can share it if you'd like but keep that in mind paint shader does not work (yet). :)
The following user(s) said Thank You: SiriusHours, Omnipotus

Please Log in or Create an account to join the conversation.

  • Omnipotus
More
9 years 2 months ago #4 by Omnipotus Replied by Omnipotus on topic Oil, paint, or cel-shading filters
Add me to Steam: OmnipotusX and lets have a lil chat :)

Please Log in or Create an account to join the conversation.

  • SiriusHours
More
9 years 2 months ago - 9 years 2 months ago #5 by SiriusHours Replied by SiriusHours on topic Oil, paint, or cel-shading filters
holy the Skyrim oil painting effect is unbelievable, as if I had just taken a hit of acid :P

I would scream lol

This is an amazing job, great work!
Last edit: 9 years 2 months ago by SiriusHours.

Please Log in or Create an account to join the conversation.

  • JPulowski
More
9 years 2 months ago - 9 years 2 months ago #6 by JPulowski Replied by JPulowski on topic Oil, paint, or cel-shading filters
Here is the cel shader from GSdx FX Suite v2.20:
Screenshots
Download

Just copy to your current working SweetFX directory. It is based on v2.0 Preview 3. Enjoy. :)

Note: It might give warning when it is used with Shader Model below 4.0, but it still seems to be working. Will look into it later.
Last edit: 9 years 2 months ago by JPulowski.

Please Log in or Create an account to join the conversation.

  • Nerd
  • Topic Author
More
9 years 2 months ago #7 by Nerd Replied by Nerd on topic Oil, paint, or cel-shading filters
Awesome, thanks!

Earlier I requested this shader be ported over and he did too :)

Please Log in or Create an account to join the conversation.

  • JPulowski
More
9 years 2 months ago #8 by JPulowski Replied by JPulowski on topic Oil, paint, or cel-shading filters
Kuwahara filtering by Jan Eric Kyprianidis + Depth-buffer based cel shading by kingeric1992:




Soon. :)
The following user(s) said Thank You: crosire

Please Log in or Create an account to join the conversation.

  • Ioxa
More
9 years 2 months ago #9 by Ioxa Replied by Ioxa on topic Oil, paint, or cel-shading filters

JPulowski wrote: Kuwahara filtering by Jan Eric Kyprianidis + Depth-buffer based cel shading by kingeric1992:

Warning: Spoiler!


Soon. :)


R.I.P. Text

But the effect is really cool looking. How does it look in motion?

Please Log in or Create an account to join the conversation.

  • JPulowski
More
9 years 2 months ago #10 by JPulowski Replied by JPulowski on topic Oil, paint, or cel-shading filters
It looks really great and natural. Closer objects are more detailed, and further objects are fuzzy like in a real painting.

At current stage paint, cartoon or similar shaders are just proof of concept or suitable for those who like to take artistic screenshots. In the future ReShade will be able to detect 2D and 3D content, then it will be more suitable for gaming use.

Also Kuwahara filtering's actual purpose is denoising. Which means it can be also used to denoise, smoothen the image etc.

Please Log in or Create an account to join the conversation.

  • Nerd
  • Topic Author
More
9 years 2 months ago #11 by Nerd Replied by Nerd on topic Oil, paint, or cel-shading filters
I'm really looking forward to that. Using the storybook shader has made me realize I'd like fullscreen shaders that smooths, or stretches everything out if that makes any sense. I don't think it makes sense :P.

Please Log in or Create an account to join the conversation.

  • Ioxa
More
9 years 2 months ago #12 by Ioxa Replied by Ioxa on topic Oil, paint, or cel-shading filters

JPulowski wrote: It looks really great and natural. Closer objects are more detailed, and further objects are fuzzy like in a real painting.

At current stage paint, cartoon or similar shaders are just proof of concept or suitable for those who like to take artistic screenshots. In the future ReShade will be able to detect 2D and 3D content, then it will be more suitable for gaming use.

Also Kuwahara filtering's actual purpose is denoising. Which means it can be also used to denoise, smoothen the image etc.


Good to hear it looks good in motion. I thought it might look like the oil painting one that was posted in here where everything looked like it was crawling. I'm looking forward to trying this out when it's ready.

There was a quest in Oblivion where you went inside a painting, "A Brush with Death". It looked amazing, made me want to play the entire game like that. The effect was probably achieved through textures instead of post processing though. Here is a picture of it.



Still waiting to play an entire game in this style.

Please Log in or Create an account to join the conversation.

  • JPulowski
More
9 years 2 months ago #13 by JPulowski Replied by JPulowski on topic Oil, paint, or cel-shading filters
Here is a similar effect from Skyrim:


But note that it is done in Photoshop, which should give better results since it is not done in real-time.

I remember that quest from Oblivion. If I remember correctly, it was done with textures and some simple shaders like the one in Telltale's latest Game of Thrones video game.

Also another Kuwahara implementation with "flow" effect: www.shadertoy.com/view/MsXSRN
Might be possible to port. :)

Please Log in or Create an account to join the conversation.

  • Ioxa
More
9 years 2 months ago #14 by Ioxa Replied by Ioxa on topic Oil, paint, or cel-shading filters
Thats the video I was talking about where it looks like everything is crawling, like someone else said, it looks like an acid trip. Although watching it again I think it would benefit from a depth based effect like the cell shading one you posted. As is, everything seems to blend together. Or maybe it's just the video quality, might look different in game.

Please Log in or Create an account to join the conversation.

  • Nerd
  • Topic Author
More
9 years 2 months ago #15 by Nerd Replied by Nerd on topic Oil, paint, or cel-shading filters
That one's scary.

Please Log in or Create an account to join the conversation.

  • One More Try
More
9 years 1 month ago #16 by One More Try Replied by One More Try on topic Oil, paint, or cel-shading filters

JPulowski wrote: There is already one available . I already ported it to ReShade, but paint shader does not work for some reason. I actually know the problem, the code just needs some minor modification. But I need to have talk with CeeJay or Crosire to be sure. The cel shading however works for games with depth buffer access. I can share it if you'd like but keep that in mind paint shader does not work (yet). :)


Any luck on the Oil Paint shader? What did you get stuck on? I made one in Reshade, but there were some definite odd behaviors I had to work around.

Please Log in or Create an account to join the conversation.

  • JPulowski
More
9 years 1 month ago #17 by JPulowski Replied by JPulowski on topic Oil, paint, or cel-shading filters

One More Try wrote: Any luck on the Oil Paint shader? What did you get stuck on? I made one in Reshade, but there were some definite odd behaviors I had to work around.

The paint effect shader for ENB uses Kuwahara filtering, but the code is not optimization-friendly. It works when compiler optimizations has been disabled. I guess ENB skips optimization therefore such effects work fine with it.

But since it uses Kuwahara filtering, similar implementations are already available and they work fine with optimization. I am going to release it when ReShade 0.15 comes out. :)

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.