Announcement

Collapse
No announcement yet.

V-Ray GPU & RTX render shadows ignoring Opacity Map

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

  • V-Ray GPU & RTX render shadows ignoring Opacity Map

    Hello,

    I'm having a continued problem trying to use VRAY RTX or CUDA GPU mode (RTX 4090) to render a material with a opacity map. This is a simple vinyl logo applied to a wall or display panel. This renders as expected in CPU mode, where there are no shadows visible from the opacity map as it is sitting just off the surface:

    Click image for larger version

Name:	image.png
Views:	696
Size:	67.8 KB
ID:	1206737

    Whereas a RTX render shows a faint shadow as if the opacity map is not being correctly read by the RTX engine:

    Click image for larger version

Name:	image.png
Views:	600
Size:	149.6 KB
ID:	1206739

    At first I thought this might just be missing the opactiy entirely but offsetting the logo to one side shows the opacity is intact, it's just this logo rectangle plane is dropping a shadow on the surface behind it, which it shouldn't be. Shadow casting turned off, etc.

    Click image for larger version

Name:	image.png
Views:	599
Size:	159.9 KB
ID:	1206740

    I believe this has only started happening in VRay 6 for me and was working as expected in VRay 5. However, I cannot go back and check to confirm. Any idea what's going on here?

    Thank you for your help.​​


    Attached Files

  • #2
    Mind if you send the scene so we can troubleshoot?
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Submitted​ ID​ 234450

      Thank you.

      Comment


      • #4
        Could you send the .max/.ma file instead? It would take ages to debug it from the .vrscene alone.
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Sorry, but I don't use the horrible interfaced and bloatedly inefficent 3DSMax software.

          I use FormZ and SketchUp which are much more designer friendly. This particular example was done in FormZ, which I assume isn't going to be something you could debug with? I can recreate it in SketchUp probably if that is better?

          Comment


          • #6
            A SketchUp file would be fine.
            Aleksandar Hadzhiev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              Hello again,

              Thank you for your support. I was able to find a solution by digging deeper into the problem. Turns out the darker 'shadow' in RTX mode was being created by the Refraction IOR default setting of 1.6. I changed this to an IOR of 1, and the 'shadow' disappeared so now the RTX engine renders the same as the GPU for this Opacity map logo texture:

              Click image for larger version

Name:	image.png
Views:	551
Size:	442.8 KB
ID:	1207623

              I do still wonder why this is just recently happening?

              Thank you.​

              Comment


              • #8
                Hi jymontoya

                It doesn't make sense the refraction IOR creates a shadow, only visible in RTX mode. If we reproduce this on our side, we will be able to tell what is going on
                Is there a chance you can share the setup with us? sketchup file should be fine
                Thanks!

                Best,
                Muhammed
                Muhammed Hamed
                V-Ray GPU product specialist


                chaos.com

                Comment


                • #9
                  Thanks jymontoya

                  This worked for me aswell.​​

                  Comment


                  • #10
                    Originally posted by Muhammed_Hamed View Post
                    Hi jymontoya

                    It doesn't make sense the refraction IOR creates a shadow, only visible in RTX mode. If we reproduce this on our side, we will be able to tell what is going on
                    Is there a chance you can share the setup with us? sketchup file should be fine
                    Thanks!

                    Best,
                    Muhammed

                    Hello, glad the 1.0 Refraction IOR helped someone else.

                    Muhammed-

                    Here is my SKP file you can see what is happening. We never used to have to set the Refraction IOR to have opacity maps render the same between CPU & GPU modes.
                    Attached Files

                    Comment


                    • #11
                      Hello jymontoya,

                      Thank you for your scene, I will need some time to perform tests and will let you know of the results. I do reproduce the issue you describe in a new scene and the unexpected workaround you have shared indeed works.

                      Another option that I would like you to consider instead of transparent material is to use Decal to project your logo over the surface. It is easy to use and control and the results are consistent.​
                      Natalia Gruzdova | chaos.com
                      Chaos Support Representative | contact us

                      Comment


                      • #12
                        Originally posted by natalia.gruzdova View Post
                        Hello jymontoya,

                        Thank you for your scene, I will need some time to perform tests and will let you know of the results. I do reproduce the issue you describe in a new scene and the unexpected workaround you have shared indeed works.

                        Another option that I would like you to consider instead of transparent material is to use Decal to project your logo over the surface. It is easy to use and control and the results are consistent.​

                        Thank you for your help.

                        I'm aware of Decals, and while they can work in some applications, they do not work for ours where we often have to share regular Shaded Style rendered views in addition to V-Ray renderings. Since V-Ray decals do not show in the regular Shaded style, they are not usable in our case.

                        Comment


                        • #13
                          I see, thank you for the additional details jymontoya. We have logged the issue internally (ticket VGPU-6602) and developers will look further into it. We will notify you on the forum if there are any changes.

                          In the meantime please use the workaround that you have encountered. Also note that the issue can only be reproducible if the background surface material is reflective.
                          Natalia Gruzdova | chaos.com
                          Chaos Support Representative | contact us

                          Comment

                          Working...
                          X