You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
2 years ago
|
[gd_scene load_steps=5 format=3]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://b7o2y54duqxft" path="res://scenes/World.tscn" id="1_px6sj"]
|
||
|
[ext_resource type="Shader" path="res://shaders/outline.gdshader" id="2_dd8cf"]
|
||
|
[ext_resource type="Script" path="res://scripts/CloneMainCamera.gd" id="2_m7qgc"]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7rvwk"]
|
||
|
shader = ExtResource("2_dd8cf")
|
||
|
shader_parameter/line_color = Color(1, 1, 1, 0.75)
|
||
|
shader_parameter/line_thickness = 2.0
|
||
|
|
||
|
[node name="Main" type="Node"]
|
||
|
|
||
|
[node name="World" parent="." instance=ExtResource("1_px6sj")]
|
||
|
|
||
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
||
|
material = SubResource("ShaderMaterial_7rvwk")
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
stretch = true
|
||
|
|
||
|
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
|
||
|
transparent_bg = true
|
||
|
handle_input_locally = false
|
||
|
size = Vector2i(1152, 648)
|
||
|
render_target_update_mode = 4
|
||
|
|
||
|
[node name="ClonedCamera" type="Camera3D" parent="SubViewportContainer/SubViewport"]
|
||
|
cull_mask = 2
|
||
|
script = ExtResource("2_m7qgc")
|