Glass with a texture

Hey guys, an Iray newbie question:
I need to render a glass syringe with a logo on it.I have assigned the glass shader, but I don't know in which parameter to plug the image of the logo.

I got an example with a vase of glass and a happy clown.

I suppose that also it's necessary to make an alpha of the image to hide the background

Thanks for helping me out with this.

ejemplo vaso.jpg
480 x 640 - 36K

Comments

  • mjc1016mjc1016 Posts: 15,001

    https://www.daz3d.com/forums/discussion/75203/wtut-decal-will-s-iray-decal-tutorial

    Here's a tutorial on using Decals in Iray...this is the kind of stuff they were made for.

  • kaotkblisskaotkbliss Posts: 2,914

    That's a great link, thanks mjc!

    Another way to add a decal to a glass is to add the image (if it's already got a transparent background) to the glass using the LIE image editor

    Or if you are using the glass shader, then add the decal as a texture and create a transparency map and place that in the cutout opacity.

  • kaotkblisskaotkbliss Posts: 2,914

    I know this is an old post, but needed to do this for myself and after 2 days of experimenting (without using Iray decals) finally figured it out and wanted a record of how I did it for future use.

    My post above will show the texture, but will remove the glass shader from the render.

    What you need to do:

    Select your surface and apply your Iray glass shader

    In the glossy color setting, place your diffuse image

    Set the glossy roughness to about .2

     

    You will now have your glass with your image or words on it.

  • SamutSamut Posts: 50

    That sounds cool. Do you have an example to show?

  • kaotkblisskaotkbliss Posts: 2,914

    Here's a render from part of the city in a comic I'm trying to put together.

    For the video phone (Which was all set up for 3delight I believe and had no iray textures),

    I added a new surface and made it emmissive for the overhead light

    I made the phone screen emmissive

    The glass was done with the iray cloudy glass texture, then added the logo using the method above

    The rest of the prop I applied the sketchy toon shader to.

    Video Phone.png
    1920 x 1440 - 4M
Sign In or Register to comment.