2024-06-04 18:31:04 +02:00
|
|
|
extends Sprite2D
|
|
|
|
|
2024-12-19 18:52:47 +01:00
|
|
|
func update_zoom_texture_filter(zoom: Vector2):
|
|
|
|
if zoom.x >= 1.5:
|
2024-06-04 18:31:04 +02:00
|
|
|
texture_filter = TEXTURE_FILTER_NEAREST_WITH_MIPMAPS
|
|
|
|
else:
|
|
|
|
texture_filter = TEXTURE_FILTER_LINEAR
|