behaviour-tree-test/modules/dds
Oleksandr Shyshatskyi 85a9c73a84 Fix the formula for calculation the size of compressed textures.
Accodring to the DDS documentation, the size of each mipmap level should
be:

    max(1, ( (width + 3) / 4 ) ) x max(1, ( (height + 3) / 4 ) ) x 8(DXT1) or 16(DXT2-5)

But in dds loader a slightly different formula was used which
provided different results. Check gh issue #105136 and pull request for details.
2025-04-09 18:23:16 +03:00
..
tests Add DDS image load and save functionality 2025-03-14 19:31:43 -07:00
config.py
dds_enums.h Add DDS image load and save functionality 2025-03-14 19:31:43 -07:00
image_saver_dds.cpp Add DDS image load and save functionality 2025-03-14 19:31:43 -07:00
image_saver_dds.h Add DDS image load and save functionality 2025-03-14 19:31:43 -07:00
register_types.cpp Disable ResourceFormatLoader/Savers of disabled classes 2025-03-21 14:23:05 -03:00
register_types.h Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
texture_loader_dds.cpp Fix the formula for calculation the size of compressed textures. 2025-04-09 18:23:16 +03:00
texture_loader_dds.h Add DDS image load and save functionality 2025-03-14 19:31:43 -07:00