Announcement

Collapse
No announcement yet.

Diffuse map alpha as transparency not working when rendering w/ GPU

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

  • Diffuse map alpha as transparency not working when rendering w/ GPU

    Hello, everyone.

    I have a simple test scene I'm running featuring many trees w/ a .png leaf material with transparency. In V-ray for Sketchup 3.60.03 ( Sketchup Pro 2018 ), I notice that rendering w/ CPU correctly uses the alpha channel as transparency, but changing to GPU rendering (with no other changes) the alpha transparency does not work, as seen below.

    Is anyone aware of a reason why this simple toggle would cause that functionality to break? Is this a known problem, is it card-dependent, etc.? For what it's worth, this is on an RTX 3080.


    Thanks!

    Click image for larger version

Name:	BlBkQzW.png
Views:	1556
Size:	2.85 MB
ID:	1097860


  • #2
    Hi jay_louden

    Could you please post a screenshot of how the material is setup?

    Also, could you share a sample scene to investigate the issue in detail? If this is alright, you could send an archived copy (Extensions > V-Ray > Pack Project) to support@chaosgroup.com via email or a file-sharing service of your choice.

    Comment


    • #3
      Georgi,

      Thanks for your response! I will send the packed sample scene to the support email as you suggest. Also, here is a dropbox link to a folder containing that .zip and the below files.

      In the meantime, here are some additional images: The material setup, the CPU output vs. GPU output, and the light cache pass for the GPU rendering. I thought it might be relevant that the light cache pass appears to rendering the transparency correctly (including the shadows). I should mention as well that I am using V-ray Proxies here, as well, in both CPU and GPU examples.

      Thanks again for any assistance you can provide.

      Click image for larger version

Name:	transp_test_scene_material.png
Views:	1337
Size:	166.7 KB
ID:	1098785

      CPU rendering output:
      Click image for larger version

Name:	transp_test_scene_CPU_800px.png
Views:	1111
Size:	1.66 MB
ID:	1098786

      GPU rendering output:
      Click image for larger version

Name:	transp_test_scene_GPU_800px.png
Views:	1104
Size:	1.16 MB
ID:	1098787

      GPU light cache progress:

      Click image for larger version

Name:	transp_test_scene_GPU_lightCache_800px.png
Views:	1108
Size:	1.88 MB
ID:	1098788

      Comment


      • #4
        Also, my apologies for the delayed response!

        Comment


        • #5
          Hi jay_louden,

          The Diffuse Map Alpha as Transparency option in V-Ray 3 is not supported on the GPU.
          A similar setup in V-Ray Next or V-Ray 5 should render as expected.
          If you want to achieve a similar result in V-Ray 3.6 just use a Generic material with a single VRayBRDF layer.
          The texture goes in the Diffuse slot of the material and then you can enable the Custom Source option in the Opacity section.
          Make sure that Diffuse Texture Alpha is selected there.

          Hope that helps,
          Konstantin

          Comment


          • #6
            Konstanin,

            Thanks for the explanation, that settles it!

            Comment

            Working...
            X