Bad last ones MIPS for non-square texture
Hi, I found an issue - last generated mips are wrong if texture is non-square (in my case I have size 2048*4096) Please see the screenshot - https://prnt.sc/sorp4f Game engine counts this as an error and gives a warning about missing mips. Hope this could be fixed.
Thanks!
@in3des Is the image mips view generated using CPU or GPU?
@NPCompress that one was generated by CPU I just found there is an option to switch to GPU- will give it a try Thanks!
well... same result settings screen https://prnt.sc/sosner
@in3des , Note the GPU version has further restrictions on dimensions been divisible by 4, it will be changed to allow smaller sizes. I also notice that the last mip level may be restricted to 2x2 on CPU and should goto 1x1, will check, and update a fix.
Thanks!
If you try to generate mip levels for 32x4 texture, the expected result is:
1. 32x4 (64 bytes)
2. 16x2 (32 bytes)
3. 8x1 (16 bytes)
4. 4x1 (8 bytes)
5. 2x1 (8 bytes)
6. 1x1 (8 bytes)
That's how Photoshop DDS plugin creates the texture. But with Compressonator, only one level is generated (32x4).
This appears to be the same issue as #133 which was resolved in the v4.4 release.
The issue has been resolved in current release v4.4