question

Mike kong avatar image
Mike kong asked ·

wrong render results when using gradient ramp with toon shader in 3ds max 2019?

rendertoon
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.

Mike kong avatar image
Mike kong answered ·

i finally find out a workable solution, just put a UVW-Mapping-Clear modifier to your mesh, everything works as expected, except the ramp color's range is not precisely remapped to surface as it seems not been normalized properly(if it's been remapped based on surface shading normal according to light position and direction), and yes it reacts to your light position and direction.

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.

Ken Turner avatar image
Ken Turner answered ·

I agree this is a bug. 3dsmax Gradient ramp does not behave as expected. Turning on legacy support. does not fix the problem. Adding UVW-Mapping-Clear modifier does work to fix shading issues but clearly this destroys texture mapping and is not acceptable as a solution.

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.

Mike kong avatar image
Mike kong answered ·

yes i turned on legacy support.

but the shading look should react to light position and directions,falloff map could achive similar looks in some aspect but quite limited .

internal algorithm in toon shader should have taken care of complex remapping calculations,all you can do is just link gradient ramp to tonemap slot, it should work as in maya as gradient ramp will automatically remap the color from 0~ 90 degrees of surface shading normal which is sampled according to light position and direction.

1 comment 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.

and in documents, the tutorials of toon shader for Max is just a replications of maya's version , so i assumed that they consider the ramp shader of maya as identical to gradient ramp of max...... am i right?

0 Likes 0 · ·
network.jpg (214.4 KiB)
gradient.jpg (124.0 KiB)
rnd-01.jpg (144.5 KiB)
Hector Del Razo avatar image
Hector Del Razo answered ·

What kind of error do you mean, the ramp shader in max works diferent from what you can do in for example maya, but with a little teaking in the falloff shader you can archive similar results.

Remember to turn on the option "Legacy 3ds Max Map support" in the system tab for the max shaders to work.


max-toon-ramp.jpg (164.9 KiB)
material.jpg (59.8 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.

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.