question

Mattias Lindberg avatar image
Mattias Lindberg asked ·

How to avoid outlines from other objects in a specular toon shader?

Is there a way to get only the stylized highlights and not the outlines that comes with turning specular on? I know I can avoid some of the outlines by "blurring" them out with roughness, but render times increase with a lot.

toon
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mattias Lindberg avatar image
Mattias Lindberg answered ·

Started going through the tutorials you posted on Twitter now.
https://youtu.be/7JaCtU1fjDI

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Lee Griggs avatar image
Lee Griggs answered ·

Have you tried layering two Toon shaders together?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mattias Lindberg avatar image
Mattias Lindberg answered ·

I discovered the problem. Once you have a toon material with emission on, your specular tonemap is cancelled out and roughness starts draving out dots. Not sure how to solve it yet...

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mattias Lindberg avatar image
Mattias Lindberg answered ·

Angle Threshold of the edge detection, doesn't seem to make any difference, in the specularity.
Here is a simple file, but do you have C4D R20?
That's a part of a MIG-29 plane, a light sensor. That turns on and faces the camera.

https://www.dropbox.com/s/4yxg5bj9ak0xzxg/war_criminals_simple_01.zip?dl=0

I am using this effect quite a lot though. Here is a more finished scene:

https://www.instagram.com/p/Bw2Uk6eCA33/

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Lee Griggs avatar image
Lee Griggs answered ·

Did you increase the Angle Threshold? What is that? Are you able to upload a simplified scene?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Mattias Lindberg avatar image
Mattias Lindberg answered ·

Sorry for replying so late. Here is an image. Say, that I want the highlights of the specular. The white from the light, the emissive material. But not all the outlines.

Not using Silhouette. Indirect specular didn't help.


10046.jpg (139.9 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Lee Griggs avatar image
Lee Griggs answered ·

Without seeing images it's hard to imagine what you are getting. What Angle Threshold are you using? Are you using Silhouette? Disabling Indirect Specular may help?

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.