Alpha not work when using fake albedo texture with material plugin

Yes, it is not supported to enable some feature by changing the value of a #define in the shader code while the material is not using that feature.

Alpha testing is done in albedoOpacityBlock, so setting alpha = 1 after calling this function is too late.

Note: I’m not sure why you are not using the regular albedo texture in your example?

2 Likes