Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Materials / Applying a gradient color to glass?
  RSS 2.0 ATOM  

Applying a gradient color to glass?
Rate this thread
 
54253
 
Permlink of this thread  
avatar
  • Total Posts: 22
  • Joined: 18 March 2011 01:23 PM

nLvF3.jpg

I’m trying to create glass with gradient colors and so far I figured it out by connecting a ramp shader to additional color in the advanced tab. Now I want to have it so the top half of the bottle is one color blending to a different color for the bottom half kinda like the image link below. Does anyone know how to achieve this? 

I’m using mia material for the glass

B0381F9A.jpg



Replies: 0
avatar
  • n8skow
  • Posted: 12 April 2011 02:50 AM

Plug your ramp into the refraction color of the glass material.



n8skow [FA]

Replies: 0
avatar

the reason why I figured out to plug it into the additional color was that it didn’t showed up correctly at all when I plugged it into the color settings of diffuse, reflection, or refraction. The others just showed up as a pitch black bottle.



Replies: 0
avatar
  • n8skow
  • Posted: 12 April 2011 05:37 AM

Hard to say what was going on without seeing your shader… but set your material color to black, Reflection color to white, and plug your ramp into the refraction color…



n8skow [FA]

Replies: 0
avatar

I switched from ramp shader to regular ramp and plugged it to the refraction and now it looks nice



Attachment Attachment
Attachment Attachment
Replies: 0