[gd_scene load_steps=7 format=3 uid="uid://u1y4m0jv2y1w"]

[ext_resource type="Script" uid="uid://c4guoqofndn2c" path="res://VFEZ/vfez_material_2d.gd" id="1_dnx2p"]
[ext_resource type="Texture2D" uid="uid://ddwhrlrgj6i00" path="res://Sprites/Actors/Cirno.png" id="2_y8svl"]

[sub_resource type="Shader" id="Shader_up8dk"]
resource_name = "VFEZ2DPreview"
code = "
// This shader was dynamically generated by the VFEZ material.
// **********************************
// Every change to the VFEZ material Render Options or 
// Include Options generates a new shader. After every change
// you can click on the new exported shader in the editor to view
// the latest changes. Only the definitions (#define) actually change.
// **********************************
shader_type canvas_item;
#define BLEND_MIX
#define UV_PIXELATE
#include \"res://VFEZ/Shaders/vfez_2d_template.gdshaderinc\"
"

[sub_resource type="ShaderMaterial" id="ShaderMaterial_4st2o"]
shader = SubResource("Shader_up8dk")
shader_parameter/texture_scale = Vector2(1, 1)
shader_parameter/texture_offset = Vector2(0, 0)
shader_parameter/texture_scroll_speed = Vector2(0, 0)
shader_parameter/replicate_on_scale = true
shader_parameter/texture_color = Color(1, 1, 1, 1)
shader_parameter/texture_alpha = 1.0
shader_parameter/texture_red_as_alpha = false
shader_parameter/premultiply_color = false
shader_parameter/premultiply_alpha = false
shader_parameter/contrast = 1.0
shader_parameter/brightness = 0.0
shader_parameter/rect_size_ratio = 1.0
shader_parameter/use_uv_polar = false
shader_parameter/use_uv_distortion = false
shader_parameter/use_uv_rotation = false
shader_parameter/use_uv_pixelate = true
shader_parameter/uv_pixelate_size = 256
shader_parameter/use_uv_twist = false
shader_parameter/use_uv_fisheye = false
shader_parameter/use_uv_pinch = false
shader_parameter/use_uv_handrawn = false
shader_parameter/use_uv_shake = false
shader_parameter/use_uv_wave = false
shader_parameter/use_uv_round_wave = false
shader_parameter/use_uv_wind = false
shader_parameter/use_uv_wrap = false
shader_parameter/use_uv_zoom = false
shader_parameter/use_color_single = false
shader_parameter/use_color_overlay_texture = false
shader_parameter/use_outline = false
shader_parameter/use_outline_inner = false
shader_parameter/use_alpha_disolve = false
shader_parameter/use_chromatic_aberration = false
shader_parameter/use_motion_blur = false
shader_parameter/use_glitch = false
shader_parameter/use_color_gradient = false
shader_parameter/use_color_radial_gradient = false
shader_parameter/use_color_toning = false
shader_parameter/use_color_ramp = false
shader_parameter/use_color_change = false
shader_parameter/use_color_ghost = false
shader_parameter/use_color_hologram = false
shader_parameter/use_color_posterize = false
shader_parameter/use_color_negative = false
shader_parameter/use_color_glow = false
shader_parameter/use_color_hsv_shift = false
shader_parameter/use_color_shadow = false
shader_parameter/use_color_greyscale = false
shader_parameter/use_color_shine = false
shader_parameter/use_alpha_mask = false
shader_parameter/use_alpha_remap = false
shader_parameter/use_alpha_cutoff = false
shader_parameter/use_alpha_clip = false
shader_parameter/use_alpha_radial_clip = false
shader_parameter/use_alpha_flicker = false
shader_parameter/use_particle_anim = false
script = ExtResource("1_dnx2p")
BlendMode = 0
LightMode = 0
metadata/_custom_type_script = "uid://c4guoqofndn2c"

[sub_resource type="AtlasTexture" id="AtlasTexture_466kw"]
atlas = ExtResource("2_y8svl")
region = Rect2(0, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_c6gab"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_466kw")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="ShaderActorTest" type="Node2D"]

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
material = SubResource("ShaderMaterial_4st2o")
sprite_frames = SubResource("SpriteFrames_c6gab")
