21 lines
693 B
Text
21 lines
693 B
Text
[gd_scene load_steps=3 format=3]
|
|
|
|
[ext_resource type="Script" path="res://main/world_pixelation_postprocess.gd" id="1_script"]
|
|
[ext_resource type="Shader" path="res://main/world_pixelation_postprocess.gdshader" id="2_shader"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_world_pixelation"]
|
|
shader = ExtResource("2_shader")
|
|
|
|
[node name="WorldPixelationPostprocess" type="CanvasLayer"]
|
|
layer = -1
|
|
script = ExtResource("1_script")
|
|
|
|
[node name="ScreenGrid" type="ColorRect" parent="."]
|
|
unique_name_in_owner = true
|
|
material = SubResource("ShaderMaterial_world_pixelation")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|