black_out.tscn 768 B

123456789101112131415161718192021
  1. [gd_scene load_steps=5 format=3 uid="uid://bbvciliw3xnf6"]
  2. [ext_resource type="Script" path="res://objects/black_out.gd" id="1_1r6dl"]
  3. [ext_resource type="Shader" path="res://objects/black_out.gdshader" id="2_xc5vy"]
  4. [sub_resource type="ShaderMaterial" id="ShaderMaterial_ve0hd"]
  5. resource_local_to_scene = true
  6. render_priority = -99
  7. shader = ExtResource("2_xc5vy")
  8. shader_parameter/albedo = Color(1, 1, 1, 0.1)
  9. [sub_resource type="QuadMesh" id="QuadMesh_iv1ir"]
  10. [node name="BlackOut" type="Node3D"]
  11. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
  12. script = ExtResource("1_1r6dl")
  13. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  14. visible = false
  15. material_override = SubResource("ShaderMaterial_ve0hd")
  16. mesh = SubResource("QuadMesh_iv1ir")