sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Creating 75% Transparency for an image used as a material

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    9 Posts 5 Posters 1.9k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      TimothyFranks
      last edited by

      Hi All,

      I'm new to these forums but have been using sketchup for a number of years.

      I'm relatively new to Vray.

      My question is regarding applying varying levels of transparency to a material that was created using an image when rendered.

      My situation is this:

      I work for a construction company in the design department and I have a large glass panel which we will be installing a vinyl graphic to, which will have a small level of transparency.

      I have created a material from an image bought from shutterstock, and have attached the material to the glass panel.

      In the Vray materials setting I have unchecked the "use colour texture as transparency" under Diffuse. When I do this, the material is extremely transparent up to and including 50%, and then solid from 51% to 100%.

      What I want is a transparency of around 75%-90%, which is achievable when using a solid block colour, however I cannot get the image to behave the same way.

      Is there a solution to this?

      (I've searched numerous threads regarding transparency however most are to do with making things like the gaps in fences transparent, not the whole image)

      1 Reply Last reply Reply Quote 0
      • R Offline
        rspierenburg
        last edited by

        I haven't tried it myself. But could you change the image opacity to 75% in Photoshop, save it as a PNG then use that in Vray?

        1 Reply Last reply Reply Quote 0
        • S Offline
          sketchuh
          last edited by

          u should change the color to very very black.


          Screen Shot 2015-08-13 at 7.58.37 pm copy.png


          Screen Shot 2015-08-13 at 7.58.37 pm.png

          1 Reply Last reply Reply Quote 0
          • C Offline
            caecarvalho
            last edited by

            There's only one way that I know of to do what you want in VFS. You can't use the option 'use color texture as transparency'. This option will only clip your image but won't give you control over the transparency of your image. In order to have that, you need to use an alpha map of your image in the transparency slot (the alpha map is a BW image where your letters are white and the background is black).I'm posting some screen shots with a material that I've set that I think will fit your needs. This material is a simple standard vray material with a refletion layer and an alpha map applyed in the transparency slot using texinvert. After you create the material like this you will be able to control the transparency of the text by changing the color of transparency from black(no transparency) to white(full transparency).
            You can create your alpha map in an image editor like photoshop or gimp.
            Remember this material will be good for a glass made whith single planes because it has no refraction.

            EDIT: I'm posting the scene file and the material so you can have a better idea;

            EDIT2: Correcting the scene file wich was not packed with the textures;

            Render

            Material setup 1

            Material setup 2

            Vray packed scene

            Vray packed material

            1 Reply Last reply Reply Quote 0
            • T Offline
              TimothyFranks
              last edited by

              @caecarvalho said:

              There's only one way that I know of to do what you want in VFS. You can't use the option 'use color texture as transparency'. This option will only clip your image but won't give you control over the transparency of your image. In order to have that, you need to use an alpha map of your image in the transparency slot (the alpha map is a BW image where your letters are white and the background is black).I'm posting some screen shots with a material that I've set that I think will fit your needs. This material is a simple standard vray material with a refletion layer and an alpha map applyed in the transparency slot using texinvert. After you create the material like this you will be able to control the transparency of the text by changing the color of transparency from black(no transparency) to white(full transparency).
              You can create your alpha map in an image editor like photoshop or gimp.
              Remember this material will be good for a glass made whith single planes because it has no refraction.

              EDIT: I'm posting the scene file and the material so you can have a better idea;

              EDIT2: Correcting the scene file wich was not packed with the textures;

              [attachment=4:2tro48bn]<!-- ia4 -->teste img tranparency.jpg<!-- ia4 -->[/attachment:2tro48bn]

              [attachment=3:2tro48bn]<!-- ia3 -->01.PNG<!-- ia3 -->[/attachment:2tro48bn]

              [attachment=2:2tro48bn]<!-- ia2 -->02.PNG<!-- ia2 -->[/attachment:2tro48bn]

              [attachment=1:2tro48bn]<!-- ia1 -->Vray SU_Teste Transparency.zip<!-- ia1 -->[/attachment:2tro48bn]

              [attachment=0:2tro48bn]<!-- ia0 -->Teste Transparency.zip<!-- ia0 -->[/attachment:2tro48bn]

              Hi caecarvalho,

              I kind of understand what you are getting at, however I have a much more complex material that I'm working with. I've attached the model & the materials, and also the render which has no transparency.

              1 Reply Last reply Reply Quote 0
              • T Offline
                TimothyFranks
                last edited by

                caecarvalho - You sir are a Wizzard!

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TimothyFranks
                  last edited by

                  Hi All,

                  I've had great success using the method caecarvalho suggested - however I have just run into the issue where the transparency setting in the Vray material editor only adjusts the brightness/contrast of the material i.e. 0.25 gives a washed out look, but no translucency. The Alpha layer still makes the correct areas 100% transparent.

                  This seems to have happened for almost no reason i.e. models which have previously rendered perfectly now don't, and as far as I can tell there have been no significant changes to the models or to either the SketchUp or Vray programs.

                  Any ideas?

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hsrhdrehre5654654
                    last edited by

                    Hi, almost new to vfs, but what about regular materials?? i am in the same situation. I need to make just a plain red surface to be only 25% translucent. But unless i make the material 50% or more, vray will never get the translucency. I assume this must be done in the vray material editor, but i dont have a clue...

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      caecarvalho
                      last edited by

                      @timothyfranks said:

                      Hi All,

                      I've had great success using the method caecarvalho suggested - however I have just run into the issue where the transparency setting in the Vray material editor only adjusts the brightness/contrast of the material i.e. 0.25 gives a washed out look, but no translucency. The Alpha layer still makes the correct areas 100% transparent.

                      This seems to have happened for almost no reason i.e. models which have previously rendered perfectly now don't, and as far as I can tell there have been no significant changes to the models or to either the SketchUp or Vray programs.

                      Any ideas?

                      Hello Timothy,

                      if I understand right,I see you're trying to adjust the transparency in a wrong way. The correct way would be to use the color parameter in the tranparency option and not the number. What I mean by that is, if you want a 75% transparent text, you need to use a 75% gray color. You can leave the value 1. You will use colors from white to black, being black no transparency and white full transparency.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Buy SketchPlus
                      Buy SUbD
                      Buy WrapR
                      Buy eBook
                      Buy Modelur
                      Buy Vertex Tools
                      Buy SketchCuisine
                      Buy FormFonts

                      Advertisement