aiToon width scaling depending on distance from camera?

aiToon width scaling depending on distance from camera?

Anonymous
Not applicable
10,235 Views
20 Replies
Message 1 of 21

aiToon width scaling depending on distance from camera?

Anonymous
Not applicable

Hello, can I change the edge width scaling on the aiToon in Maya, depending on the distance between the camera and my model?

I have read that attaching a facing ratio shader to the width scaling could help, but I have tried that and found that it had no effect. I found that changing bias and gain had some effect on the line width in general, but not depending on the camera. Is there a particular way I should attach it?

The problem I am having is the a close up of my model shows barely any line width, while a wide shot shows very thick lines in comparison to my model.

0 Likes
10,236 Views
20 Replies
Replies (20)
Message 21 of 21

ianwilmoth
Community Visitor
Community Visitor

Thank you so much. I just used this in 2025 and it worked great for my situation. I'm smart enough to figure out how to plug that shader network into my shader, but I never would've figured this out to begin with.

 

 

0 Likes