Steps to Reproduce

A licensee reported that the Alpha Coverage Comparison doesn't work as expected.

He used this texture [Link Removed]and set the alpha of the Alpha Coverage Thresholds to 0.5.

[Image Removed]

But he found that it doesn't work as expected, so he modified the code of GenerateSharpenedMipB8G8R8A8Templ in TextureCompressorModule.cpp, and did a comparison with the original method, as showed below.

On the left is the original method, on the right is the modified method, you could see that the chain fence is still clear in the middle distance and far distance after the modification.

[Image Removed]

The difference is that the AlphaScale is calculated based on the source, but it should be calculated from the dest, after reading the code, I believe he is right about it.

[Image Removed]


Have Comments or More Details?

There's no existing public thread on this issue, so head over to AnswerHub just mention UE-102673 in the post.

Login to Vote

ComponentTools - Import
Affects Versions4.26
Target Fix4.27
CreatedNov 6, 2020
UpdatedNov 6, 2020