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]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-102673 in the post.
6 |
Component | UE - Editor - Content Pipeline - Import and Export |
---|---|
Affects Versions | 4.26 |
Created | Nov 6, 2020 |
---|---|
Resolved | Jul 19, 2022 |
Updated | Jul 19, 2022 |