Is it possible to make a toon shader?

Hello!
I’m working on a project where I’m trying to create something like a cartoonify effect, and I’m wondering what the best way to achieve that is, or if it’s possible at all.

I’m not sure if it’s possible to translate something like this to the deepar shader scripts?

I’d want to apply the effect on the camera texture, for a posterized-like effect.

Appreciate any advice, thanks!

You can write your own shaders so it should be possible. The Hope effect does something similar.

Hi Igor,
Thanks for the tip! Is there any way to get the studio project or shader files for that hope filter? Would be useful to see how it’s constructed.

Thanks!

You should be able to import the effect into Studio, save the project, and then access the shader files in the resources folder of the project. The shaders are binary, but they are pretty close to the source code so they should help.