summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix_pipe.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2024-06-22 00:14:21 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2024-06-22 01:50:52 +0200
commitcd7a7089522103edd9ac8cd0463ede795ce5d51d (patch)
tree7a0f846de9a7cef0f85d53ee50f9b27b32571382 /drivers/unix/file_access_unix_pipe.cpp
parent8a6c1e8f5232ff3b3a5eac024d590e7479b29e90 (diff)
downloadredot-engine-cd7a7089522103edd9ac8cd0463ede795ce5d51d.tar.gz
Downsample textures on import if necessary for technical reasons
Compression formats are limited to various sizes (16383×16383 for WebP, 16384×16384 for Basis Universal). If the size is exceeded, the texture fails to import. To avoid this, textures are now downsampled with a warning printed when necessary. The warning is not printed if the user has specified a size limit and the size limit is being honored. This also allows setting Size Limit up to 16383 pixels (the lowest common denominator out of all compression modes), instead of being limited to 4096 pixels.
Diffstat (limited to 'drivers/unix/file_access_unix_pipe.cpp')
0 files changed, 0 insertions, 0 deletions