-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPortalPlane.tscn
More file actions
42 lines (34 loc) · 1.07 KB
/
PortalPlane.tscn
File metadata and controls
42 lines (34 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/props/PortalPlane.gd" type="Script" id=1]
[sub_resource type="QuadMesh" id=1]
[sub_resource type="ViewportTexture" id=2]
flags = 4
viewport_path = NodePath("Viewport")
[sub_resource type="SpatialMaterial" id=3]
resource_local_to_scene = true
flags_unshaded = true
flags_albedo_tex_force_srgb = true
flags_do_not_receive_shadows = true
flags_disable_ambient_light = true
albedo_texture = SubResource( 2 )
[node name="PortalPlane" type="Spatial"]
script = ExtResource( 1 )
[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 200, 200 )
render_target_v_flip = true
render_target_clear_mode = 1
gui_disable_input = true
shadow_atlas_size = 128
shadow_atlas_quad_0 = 1
shadow_atlas_quad_1 = 1
[node name="Camera" type="Camera" parent="Viewport"]
projection = 2
near = 1.0
far = 500.0
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0 )
portal_mode = 3
cast_shadow = 0
generate_lightmap = false
mesh = SubResource( 1 )
material/0 = SubResource( 3 )