You need to set Graphic3d_Aspects::AlphaMode() property to desired option - like Graphic3d_AlphaMode_Blend, Mask or MaskBlend, depending on your scenario.
Archived discussion
PBR materials and transparent textures
Hello community.
Is there any way to use transparent textures for PBR materials diffuse and let transparent section be really transparent on shapes where the material is applied ?
I use the texture in the attached picture, but it gives me the result of the other attached picture, pbr_occt.png (emissive is black).
Thank you for your answers ;)
Discussion
5 archived replies
Posts are displayed in their archived order.
Thank you very much.
I still have a problem. I can get the texture alpha when using the shading model Graphic3d_TypeOfShadingModel_Phong, but when using the shading model Graphic3d_TypeOfShadingModel_Pbr, it has no effect (see attached pictures). Do you know how can I apply the behaviour to pbr shading model please ?
Ooh, I just saw that if the PBR material Metallic is lower than 0.49, it's transparent, but greater or equal to this value, it's not... xD
Yeah, metals usually cannot be made translucent...
OK, I will do with it. Thank you very much for your help.