Cycles glass + diffuse object, make it half transparent

Hi there guys!

I am looking in the forum but can`t find a proper answer. The question is:

How I can make the following object go completely transparent (about its half) but preserving the qualities of glass and diffuse intact in the visible part?

Attachments


You must plug that information into the Factor of your last Mix Shader node, and not to the Transparent shader.
The Transparent shader should be completly white (so it’s totally transparent), and for the mix shader factor, 0 will give you the difusse/glass mix, and 1 will give you the transparency.
(change the first color of your ramp to black and connect the ramp to the factor of the last mix shader instead of the transparency color)