Problem adding 2D png images to scene

I am trying to add a png to a scene with a HDRI as a background.  The png is a cutout of a cat and the area around it was made transparent (not white as it appears below).  I am including the file here. In VS, I created a plane and then in the Surfaces tab I went to the Base Color attribute and browsed to the png.  VS displays the picture of the cat in the plane, but it fills in the color black where the transparency should be, also shown in an attached file below.  How do I get VS to recognize the transparent pixels and not fill them in as black on the plane?

cat-551554_1280-removebg.png
1225 x 1280 - 1M
VS workspace.JPG
2638 x 1284 - 353K

Comments

  • GordigGordig Posts: 10,074
    edited April 2023

    DS can't read alpha channel directly from images (at the very least, Iray can't), so you'll need to create a mask. Select everything visible and fill that white, then fill the transparent background and fill that black. Save that as a new image called, for example, [whatever your base image is]Alpha.png. That goes in the cutout opacity slot on the plane.

    Post edited by Gordig on
  • felisfelis Posts: 4,348

    As far as I know, there are some issues with alpha channel and Iray.

    I would create a black-and-white (black for transparency) image and add that to the cut-out oppacity channel.

  • felis said:

    As far as I know, there are some issues with alpha channel and Iray.

    I would create a black-and-white (black for transparency) image and add that to the cut-out oppacity channel.

    Yes, that worked!  Thanks!  Originally, I was following a Daz tutorial when doing this, but the presenter didn't mention anything about the cut-out opacity channel.

Sign In or Register to comment.