Announcement

Collapse
No announcement yet.

Transparency

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transparency

    Hello, have been playing around with this for a little while now, but haven't been able to get any results. What am I don't wrong?

    The first image is the look I'm trying to achieve, but I can't figure out how to make the green portion transparent. I'm just trying to get the top of the glass to have a green tint.
    - I got it this far by using a blend material.
    - Glass is my base, Green is my coat and a gradient ramp is my blend... no dice

    This is just a glass texture with a fog color added. The green transparency is what I'm trying to achieve in the first image.

    Haven't been able to figure out the method to achieve this. Would I mask out the fog with a gradient? If so, how!? Or, is there a way to do this with blend material? If so, how!? Any help would be very much appreciated. Click image for larger version

Name:	2.jpg
Views:	343
Size:	202.7 KB
ID:	1171720 Click image for larger version

Name:	3_Fog.jpg
Views:	262
Size:	240.3 KB
ID:	1171721
    Instagram:
    https://www.instagram.com/deebee_cg/

  • #2
    Something like this?
    Click image for larger version

Name:	image.png
Views:	234
Size:	77.1 KB
ID:	1171734

    Comment


    • #3
      Try using a VRayScatterVolume as your base blend shader.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Yup, something closer to that Bardo, but no green at the base.

        I'll test out vrayscattervolume too,

        Thanks!
        Instagram:
        https://www.instagram.com/deebee_cg/

        Comment


        • #5
          Originally posted by dayna_beaver View Post
          Yup, something closer to that Bardo, but no green at the base.

          I'll test out vrayscattervolume too,

          Thanks!
          Well...but that green at the base is due by the refraction and it depends on refraction index and glass shape.
          For example...same material...different glass mesh at the base

          Click image for larger version  Name:	image.png Views:	32 Size:	87.9 KB ID:	1171862

          EDIT: Or you could map the refraction channel, the opacity channel or/and the IOR channel to control refractions on the base.
          Last edited by bardo; 02-02-2023, 03:11 AM.

          Comment


          • #6
            I must be having a real stupid moment because I cannot get that to work using scattervolume. It works fine using standard mapped fog.
            Please hermit.crab explain how you achieved the split using the blended scatter approach
            https://www.behance.net/bartgelin

            Comment


            • #7
              Originally posted by fixeighted View Post
              I must be having a real stupid moment because I cannot get that to work using scattervolume. It works fine using standard mapped fog.
              Please hermit.crab explain how you achieved the split using the blended scatter approach
              My bad, I suggested it without a proper test. It doesn't seem to do the trick.
              Aleksandar Hadzhiev | chaos.com
              Chaos Support Representative | contact us

              Comment


              • #8
                Ah ok, thx for the update....thought I was having a proper 'senior moment' there for a sec
                https://www.behance.net/bartgelin

                Comment


                • #9
                  So what did you do to achieve that result Bardo? I've tried a few different things, but still can't get it looking like yours!
                  Click image for larger version

Name:	2.png
Views:	223
Size:	698.8 KB
ID:	1172145
                  Instagram:
                  https://www.instagram.com/deebee_cg/

                  Comment


                  • #10
                    Here you go...simplest setup
                    Attached Files
                    https://www.behance.net/bartgelin

                    Comment


                    • #11
                      Originally posted by dayna_beaver View Post
                      So what did you do to achieve that result Bardo? I've tried a few different things, but still can't get it looking like yours!
                      Sorry for the late reply.

                      Here my setup (more or less the same as fixeighted )
                      colored_glass.zip

                      Comment


                      • #12
                        Thanks for sharing your setups guys, much appreciated! Even after following and replicating your setup, my geometry still reacts differently...? I've re-made the materials, geo, lighting, angles... but no matter what I do, when looking straight on, the glass always appears clear when it should be green... Click image for larger version

Name:	2.png
Views:	184
Size:	861.9 KB
ID:	1172208 Click image for larger version

Name:	1.png
Views:	179
Size:	974.4 KB
ID:	1172209
                        Instagram:
                        https://www.instagram.com/deebee_cg/

                        Comment


                        • #13
                          Uhmmm...I think that it will be hard to have an homogeneus coloring as the fog depends by how depth the rays have to run inside a closed geometry.
                          I've tried a mixed approach adding a coat to the glass.
                          You'll find as attached.
                          As you can see, if you watch the glass from top to down, the thinner part of my glass become more transparent, but the coat helps to recover a bit of coloring.
                          At the moment it's my fastest way trying to solve your questions.
                          colored_glass_2.zip

                          Comment


                          • #14
                            dayna_beaver the best option would be to post your scene in that case. It's a simple setup so it should just work....maybe there is some parameter in your version that is screwing with things.
                            https://www.behance.net/bartgelin

                            Comment


                            • #15
                              The fog color is changing my exposure? The more I tint it, the more over exposed the scene gets? I've also had issues with identical materials giving different results when they should be the same... Has that happened to anyone else? This program is gas lighting me!

                              Click image for larger version  Name:	10.png Views:	0 Size:	673.8 KB ID:	1172282 Click image for larger version  Name:	11.png Views:	0 Size:	749.6 KB ID:	1172283

                              Thanks for all your input, really appreciate it!

                              Click image for larger version

Name:	1.png
Views:	162
Size:	450.1 KB
ID:	1172301


                              Last edited by dayna_beaver; 06-02-2023, 12:30 PM.
                              Instagram:
                              https://www.instagram.com/deebee_cg/

                              Comment

                              Working...
                              X