PhysicallyBasedMaterial with Transparency
#2
To use transparent textures you only need to set the HasTransparency to true:
physicallyBasedMaterial.HasTransparency = true;

This will use the alpha blending.

In the next version of the Ab3d.DXEngine the LoadShaderResourceView method will be updated so it will also get the hasTransparency parameter based on the loaded image.
Andrej Benedik
  


Messages In This Thread
RE: PhysicallyBasedMaterial with Transparency - by abenedik - 04-14-2020, 10:14 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)