04-12-2020, 12:22 AM
I try the demo of DxEngine for rendering PhysicallyBasedMaterial with Transparency.
But adding an opacity file doesn't affect to result.
Thanks for your support.
But adding an opacity file doesn't affect to result.
Code:
shaderResourceView = Ab3d.DirectX.TextureLoader.LoadShaderResourceView(device, oneFileName);
var texture = new TextureMapInfo(textureType, shaderResourceView, null, oneFileName);
physicallyBasedMaterial.TextureMaps.Add(texture);
Thanks for your support.