forked from paddy-exe/Godot-RealTimeCaustics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.tscn
60 lines (46 loc) · 2.06 KB
/
Main.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Assets/Materials/DarkTestMaterial.tres" type="Material" id=1]
[ext_resource path="res://Assets/Materials/RedTestMaterial.tres" type="Material" id=2]
[ext_resource path="res://Assets/Materials/CausticsMaterial.tres" type="Material" id=3]
[ext_resource path="res://WorldEnvironment.tres" type="Environment" id=5]
[sub_resource type="SphereMesh" id=1]
[sub_resource type="CubeMesh" id=5]
size = Vector3( 4, 4, 4 )
[node name="Main" type="Spatial"]
[node name="TestScene" type="CSGCombiner" parent="."]
[node name="CSGBox" type="CSGBox" parent="TestScene"]
width = 8.0
height = 1.0
depth = 8.0
material = ExtResource( 1 )
[node name="CSGBox2" type="CSGBox" parent="TestScene"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 4, -4 )
width = 8.0
height = 1.0
depth = 8.0
material = ExtResource( 1 )
[node name="CSGBox3" type="CSGBox" parent="TestScene"]
transform = Transform( -4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -4, 4, 2.38419e-07 )
width = 8.0
height = 1.0
depth = 8.0
material = ExtResource( 1 )
[node name="CSGBox" type="CSGBox" parent="TestScene/CSGBox3"]
operation = 2
width = 6.0
material = ExtResource( 1 )
[node name="Sphere" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.049006, 1.61372, 0.0612626 )
mesh = SubResource( 1 )
material/0 = ExtResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.890554, -0.327443, 0.315744, -0.14325, 0.456928, 0.877893, -0.431732, -0.827042, 0.360013, 0, 7.85742, 0 )
shadow_enabled = true
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.949683, 0.313214, 0, -0.313214, 0.949683, 0, 3.05225, 3.76693 )
[node name="CausticVolume" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0453606, 2.01395, -0.0858744 )
mesh = SubResource( 5 )
material/0 = ExtResource( 3 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 5 )