Add project files
This commit is contained in:
parent
88517179f0
commit
68cccc2a62
17 changed files with 551 additions and 1 deletions
9
src/ImageViewportDisplays.gd
Normal file
9
src/ImageViewportDisplays.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends Sprite2D
|
||||
|
||||
@onready var camera = get_parent().get_node("Camera")
|
||||
|
||||
func _process(_delta):
|
||||
if camera.zoom.x >= 1.5:
|
||||
texture_filter = TEXTURE_FILTER_NEAREST_WITH_MIPMAPS
|
||||
else:
|
||||
texture_filter = TEXTURE_FILTER_LINEAR
|
Loading…
Add table
Add a link
Reference in a new issue