1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00
Files
godot/doc/classes
Theogen Ratkin 8f6a6ac8d0 Add interpolation parameter to resize_to_po2()
Image::resize_to_po2() now takes an optional p_interpolation parameter
that it passes directly to resize() with default value INTERPOLATE_BILINEAR.

GLES2: call resize_to_po2() with interpolate argument

Call resize_to_po2() in GLES2 rasterizer storage with either
INTERPOLATE_BILINEAR or INTERPOLATE_NEAREST depending on TEXTURE_FLAG_FILTER.

This avoids filtering issues with non power of two pixel art textures.
See #44379
2020-12-18 14:02:38 -04:00
..
2020-08-14 00:32:05 +02:00
2020-03-13 17:26:30 +01:00
2020-08-14 00:32:05 +02:00
2020-09-18 14:09:51 +02:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-12-09 11:22:03 +01:00
2020-06-22 08:37:57 +02:00
2020-09-18 14:09:51 +02:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00
2020-11-11 15:30:56 +01:00
2020-09-18 14:09:51 +02:00
2020-11-17 12:07:02 +01:00
2020-07-31 13:08:40 +02:00
2020-06-24 22:52:05 +02:00
2020-03-13 17:26:30 +01:00
2020-03-13 17:26:30 +01:00