[gd_scene load_steps=4 format=2] [ext_resource path="res://addons/material_maker/preview/preview_2d.gd" type="Script" id=1] [sub_resource type="Shader" id=1] code = "shader_type canvas_item; uniform sampler2D tex; void fragment() { COLOR = texture(tex, UV); }" [sub_resource type="ShaderMaterial" id=2] shader = SubResource( 1 ) [node name="Preview2D" type="ColorRect"] material = SubResource( 2 ) anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 4.0 margin_top = 32.0 margin_right = -4.0 margin_bottom = -4.0 rect_min_size = Vector2( 64, 64 ) mouse_filter = 1 size_flags_horizontal = 0 size_flags_vertical = 8 script = ExtResource( 1 )