Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / Materials / Applying a map in the amount param of a Mix texmap ?
  RSS 2.0 ATOM  

Applying a map in the amount param of a Mix texmap ?
Rate this thread
 
36428
 
Permlink of this thread   Subscribe to this thread
avatar
  • dlanier
  • Posted: 06 November 2009 09:08 PM
  • Location: France
  • Total Posts: 18
  • Joined: 18 September 2006 03:46 AM

Hello,

I have the following shading graph :

Mix
|-Color1 ------> Std Material black
|-Color2 ------> Std Material white
|-Amount ------> RGB Tint (map applied on the float parameter)
|Map ---> a shader that outputs a value in its B comp.(of RGB) between 0 and 1
|R ---> black
|G ---> black
|B ---> white

So to sum up, I have a mix texture map to mix 2 materials and I would like to apply another map on the “Amount” parameter.
So I apply a RGB Tint with black everywhere except in the B component as the shader plugged in the map parameter of the RGB tint outputs a value between 0 and 1 in the B component only.

But it doesn’t work, it seems like the value varies between 0 and 1 instead of varying between O and 100.
Do you something is wrong in this shading graph ? Should I apply a factor 100 somewhere, I didn’t found how to do that with Max.
Thank you.
Regards,



David Lanier
R&D, Plug-ins and shaders development company
http://www.dl3d.com

Replies: 0
avatar

You could open the Dope Sheet and replace the Blue channel’s controller with a Point 3 Expression, then use that to scale the value.



Replies: 1
/userdata/avatar/avatar_31329.jpg

Thanks Eric ! I’ll try that !
Regards,
David Lanier

Author: dlanier

Replied: 09 November 2009 04:31 AM  
avatar
  • dlanier
  • Posted: 09 November 2009 04:31 AM

Thanks Eric for your help, I’ll do that !



David Lanier
R&D, Plug-ins and shaders development company
http://www.dl3d.com

Replies: 0




   
  Settings Choose Theme color: