Hi,
I noticed something using the PBRMetallicRoughnessMaterial class. Despite the fact that my albedo (base colour) texture has an alpha, some reflections are still visible on the mesh surface (due apparently to the environment map) where the opacity equals to 0.
I cannot use PBRMATERIAL_ALPHATESTANDBLEND, as I want to capture the mesh in a render target with the alpha in order to blend it later in a postprocess effect.
The whole thing works but few reflections remain where they shouldn’t exist. Is there a way to disable the reflections where the alpha equals to 0 in the base texture?
Thanks in advance.