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

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

Anonymous
Not applicable
2,426 Views
5 Replies
Message 1 of 6

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

Anonymous
Not applicable
 
0 Likes
Accepted solutions (1)
2,427 Views
5 Replies
Replies (5)
Message 2 of 6

hdrazo
Contributor
Contributor

1367-max-toon-ramp.jpg

1368-material.jpg

1369-falloff-parameters.jpg

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.

0 Likes
Message 3 of 6

Anonymous
Not applicable

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.

0 Likes
Message 4 of 6

Anonymous
Not applicable

1377-network.jpg

1378-gradient.jpg

1379-rnd-01.jpg

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
Message 5 of 6

Anonymous
Not applicable
Accepted solution

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.

0 Likes
Message 6 of 6

kenzor
Enthusiast
Enthusiast

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.

0 Likes