Hi all,

i'm using the simular to the Toon shader from the Wiki...

i was wondering if anybode could modify these shader in a way that the outlines thickness changes with the distance to the camera.

... i need the outline becomes smaller/bigger relativ to the distance between model and camera. so the outlines looks the same way in every distance.

is this a big deal? or could anybode do this for me whit no big effort?

edit: well, i tryed to use the mtl.skill1 to save the distance, but somehow the terms changed in a way i do not understand. if i save a value from about 0.5 in the skill the outlines were very big ... if i set these value manualy it looks good but wasn't dynamic at all...

is there nobody how could help out there?

thanks for any help or hints!

PS: please excuse my bad english...

Last edited by Storm_Mortis; 06/07/08 20:09.

it found a voice ... now it needs a body