-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
CameraGimbal.tscn
38 lines (31 loc) · 1.32 KB
/
CameraGimbal.tscn
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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://CameraGimbal.gd" type="Script" id=1]
[ext_resource path="res://env1.tres" type="Environment" id=2]
[ext_resource path="res://effects/post_process_outlines.shader" type="Shader" id=3]
[sub_resource type="QuadMesh" id=1]
size = Vector2( 2, 2 )
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 3 )
shader_param/color_outline_scale = 4.0
shader_param/depth_outline_scale = 2.0
shader_param/depth_threshold = 2.5
shader_param/depth_multiplier = 1000.0
shader_param/edge_threshold = 0.04
shader_param/max_edge_alpha = 0.8
shader_param/edge_alpha_multiplier = 3.0
shader_param/edge_color = Color( 0, 0, 0, 1 )
shader_param/depth_use_laplace = true
shader_param/color_use_laplace = false
shader_param/use_bg_texture = false
[node name="CameraGimbal" type="Spatial"]
script = ExtResource( 1 )
[node name="InnerGimbal" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 0, 0 )
[node name="Camera" type="Camera" parent="InnerGimbal"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 4 )
environment = ExtResource( 2 )
[node name="MeshInstance" type="MeshInstance" parent="InnerGimbal/Camera"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1 )
visible = false
mesh = SubResource( 1 )
material/0 = SubResource( 2 )