According to documentation, CutoffMask:
Generates a mask which is solid everywhere the provided channel of the provided source is greater than the cutoff
This is incorrect, because code requires source to be greater or equal to cutoff:
|
(c, i) -> i ? ((c & 0xFF) >= cutoff ? 0xFFFFFFFF : 0) : 0 |
According to documentation, CutoffMask:
Generates a mask which is solid everywhere the provided channel of the provided source is greater than the cutoffThis is incorrect, because code requires source to be greater or equal to cutoff:
DynamicAssetGenerator/src/main/java/dev/lukebemish/dynamicassetgenerator/api/client/generators/texsources/mask/CutoffMask.java
Line 58 in 8e304d6