[request] alternative toon shader

Post your work in progress addons and get feedback

Post » Sun May 08, 2016 4:19 pm

To shader experts...

I have been experimenting with the stock toon shader but I don't like how the outlines scale to make the line width relatively smaller when full screen). I found a great example on github (here) with a live demo as an example of what I'm searching for.

I looked through the stock shader code and it's not apparent to me how I could modify it to remove the drawing of the lines. I also have no idea how to transfer the relevant code from the github repository and create a new c2 effect - can anyone help / offer me some pointers on how to go about this please? Wasn't sure if this should be in this forum or the How do I... Hope it's ok here.

Thanks!
Learning other engines, but C2 still rocks. Image Image Image Image
B
80
S
22
G
95
Posts: 2,417
Reputation: 57,671

Post » Sun May 08, 2016 7:10 pm

I would like this as well!
B
59
S
21
G
14
Posts: 779
Reputation: 13,947

Post » Sat May 14, 2016 9:11 am

First and last bump. Anyone able to help, please?

Thanks.
Learning other engines, but C2 still rocks. Image Image Image Image
B
80
S
22
G
95
Posts: 2,417
Reputation: 57,671

Post » Sun May 15, 2016 1:49 pm

@Colludium

I think the 'toon' effect that comes with C2 works by posterizing the image and adding a black edge.
I altered some of the parameters and managed to remove the lines....but, when the image is resized
the lines re-appeared.
Have you tried using the 'posterize' effect instead with the level's set to about 8 or 10.
You wont see any lines when you resize.
B
21
S
5
G
8
Posts: 1,215
Reputation: 7,838

Post » Sun May 15, 2016 2:01 pm

@chrisbrobs - I didn't know that the two shaders were similar in that way... I'll give it a try - thanks for looking in to this :).
Learning other engines, but C2 still rocks. Image Image Image Image
B
80
S
22
G
95
Posts: 2,417
Reputation: 57,671


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests