Use Lanczos filtering for variable-sized images such as project icons
This results in better-looking icons with less artifacts induced by downscaling.
This commit is contained in:
@ -758,7 +758,7 @@ void EditorAssetLibrary::_image_update(bool use_cache, bool final, const PoolByt
|
||||
switch (image_queue[p_queue_id].image_type) {
|
||||
case IMAGE_QUEUE_ICON:
|
||||
|
||||
image->resize(64 * EDSCALE, 64 * EDSCALE, Image::INTERPOLATE_CUBIC);
|
||||
image->resize(64 * EDSCALE, 64 * EDSCALE, Image::INTERPOLATE_LANCZOS);
|
||||
|
||||
break;
|
||||
case IMAGE_QUEUE_THUMBNAIL: {
|
||||
|
||||
Reference in New Issue
Block a user