Different behaviour of ONETEXTURE_BLEND textures in 1.9
Posted: Sat Jun 12, 2021 11:00 am
In 1.8 a material with material type of EMT_ONETEXTURE_BLEND was considered to be not transparent, whereas in 1.9 that material is considered transparent.
This breaks (at least from what it happened in my scenario) the usage of the depth buffer to draw those materials, as the drivers when ZWriteEnable is set to EZW_AUTO (thus the default that should have the same behavior as irrlicht 1.8) would check for the material's transparency to toggle the depth buffer.
Idk if the wrong check was in irrlicht 1.8 and thus in 1.9 the behavior is right, but I think mentioning this behavior change in the changelog might be a good thing.
This breaks (at least from what it happened in my scenario) the usage of the depth buffer to draw those materials, as the drivers when ZWriteEnable is set to EZW_AUTO (thus the default that should have the same behavior as irrlicht 1.8) would check for the material's transparency to toggle the depth buffer.
Idk if the wrong check was in irrlicht 1.8 and thus in 1.9 the behavior is right, but I think mentioning this behavior change in the changelog might be a good thing.