Variable contour line width in respect to Camera

Hello All,

I need help on this asap........

When I am using contour shader simple or curvature.. the contour line width I specify is independent to the objects distance to the camera, ( i belive it calculates the pixel width..)..So whats happening is that if my character is ij distance my contours are very thick and gives me unpleasent results..

Is there any way i can achieve this using other contour shaders ???? i have been only using Contour simple and Contour curvature as yet.

Help pleaseeee...

Thanks

Amit

for your purposes... and general understanding of how to use contour shaders you should take the time to open up the c files that come in your root/mentalray/devkit/public-contourshaders(or somesuch) ... the lanugage is quite simple in the end and there are notes included to describe how the contour is determinded....

the combi shader puts all the attributes together... and will allow you to do a combination (how surprising) or all the various effects...

its not a bad lesson to do some cut and paste operations with shaders that you already know work either...

r.