Fixed garbled shader sprite on player

This commit is contained in:
MaddoScientisto 2026-02-28 10:38:39 +01:00
commit 63ad349b42
3 changed files with 147 additions and 101 deletions

View file

@ -2,91 +2,91 @@
[ext_resource type="Texture2D" uid="uid://d3he41g6x7w2x" path="res://Sprites/Actors/Cirno_Walk.png" id="1_nsg0m"]
[sub_resource type="AtlasTexture" id="AtlasTexture_gvb6b"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nsg0m"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_smg7h"]
[sub_resource type="AtlasTexture" id="AtlasTexture_gvb6b"]
atlas = ExtResource("1_nsg0m")
region = Rect2(16, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_dod2v"]
[sub_resource type="AtlasTexture" id="AtlasTexture_smg7h"]
atlas = ExtResource("1_nsg0m")
region = Rect2(32, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qt0xq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_dod2v"]
atlas = ExtResource("1_nsg0m")
region = Rect2(48, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_j8jir"]
[sub_resource type="AtlasTexture" id="AtlasTexture_qt0xq"]
atlas = ExtResource("1_nsg0m")
region = Rect2(64, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_6sqmb"]
[sub_resource type="AtlasTexture" id="AtlasTexture_j8jir"]
atlas = ExtResource("1_nsg0m")
region = Rect2(80, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_bl8yu"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6sqmb"]
atlas = ExtResource("1_nsg0m")
region = Rect2(96, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_a680j"]
[sub_resource type="AtlasTexture" id="AtlasTexture_bl8yu"]
atlas = ExtResource("1_nsg0m")
region = Rect2(112, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_cab7f"]
[sub_resource type="AtlasTexture" id="AtlasTexture_a680j"]
atlas = ExtResource("1_nsg0m")
region = Rect2(128, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_nsg0m"]
[sub_resource type="AtlasTexture" id="AtlasTexture_cab7f"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_la2t0"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_eqxxe"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 0, 16, 16)
region = Rect2(16, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_7j3x3"]
atlas = ExtResource("1_nsg0m")
region = Rect2(16, 0, 16, 16)
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_j4qq6"]
atlas = ExtResource("1_nsg0m")
region = Rect2(32, 0, 16, 16)
region = Rect2(0, 32, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_34li8"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 32, 16, 16)
region = Rect2(16, 32, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_th8bd"]
atlas = ExtResource("1_nsg0m")
region = Rect2(16, 32, 16, 16)
region = Rect2(32, 32, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_qlee1"]
atlas = ExtResource("1_nsg0m")
region = Rect2(32, 32, 16, 16)
region = Rect2(0, 48, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_lcakh"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 48, 16, 16)
region = Rect2(16, 48, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_3lcgt"]
atlas = ExtResource("1_nsg0m")
region = Rect2(16, 48, 16, 16)
region = Rect2(32, 48, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_y1j67"]
atlas = ExtResource("1_nsg0m")
region = Rect2(32, 48, 16, 16)
region = Rect2(0, 16, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_ymhb3"]
atlas = ExtResource("1_nsg0m")
region = Rect2(0, 16, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_nl5lm"]
atlas = ExtResource("1_nsg0m")
region = Rect2(16, 16, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_s6kro"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nl5lm"]
atlas = ExtResource("1_nsg0m")
region = Rect2(32, 16, 16, 16)
@ -94,6 +94,9 @@ region = Rect2(32, 16, 16, 16)
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nsg0m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gvb6b")
}, {
"duration": 1.0,
@ -118,9 +121,6 @@ animations = [{
"texture": SubResource("AtlasTexture_a680j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cab7f")
}, {
"duration": 1.0,
"texture": null
}],
"loop": false,
@ -129,7 +129,7 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nsg0m")
"texture": SubResource("AtlasTexture_cab7f")
}],
"loop": true,
"name": &"idle",
@ -137,13 +137,13 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_la2t0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_eqxxe")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7j3x3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j4qq6")
}],
"loop": true,
"name": &"walk_down",
@ -151,13 +151,13 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_j4qq6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_34li8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_th8bd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qlee1")
}],
"loop": true,
"name": &"walk_left",
@ -165,13 +165,13 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_qlee1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lcakh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3lcgt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_y1j67")
}],
"loop": true,
"name": &"walk_right",
@ -179,13 +179,13 @@ animations = [{
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_y1j67")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ymhb3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nl5lm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s6kro")
}],
"loop": true,
"name": &"walk_up",