small godot addon for gizmo creation
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[gd_scene load_steps=12 format=3 uid="uid://rdw1tgxqv6l1"]

[ext_resource type="Script" path="res://test.gd" id="1_yg00y"]
[ext_resource type="PackedScene" uid="uid://d2recqdx4hj38" path="res://addons/@bendn/gizmo3d/translate/translate.tscn" id="2_nyr7l"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q35d8"]
albedo_color = Color(2, 1, 2, 1)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_38wvv"]
albedo_color = Color(2, 3, 3, 1)

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k2mgk"]
albedo_color = Color(1, 1.5, 1, 1)
roughness = 0.61

[sub_resource type="Gradient" id="Gradient_1n4v5"]
offsets = PackedFloat32Array(0.0962963, 0.762963)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_og18u"]
gradient = SubResource("Gradient_1n4v5")

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_7o86r"]
sky_top_color = Color(0.266667, 0.454902, 0.698039, 1)
sky_horizon_color = Color(0.572549, 0.67451, 0.709804, 1)
ground_bottom_color = Color(0.572549, 0.67451, 0.709804, 1)
ground_horizon_color = Color(0.572549, 0.67451, 0.709804, 1)

[sub_resource type="Sky" id="Sky_8nx2j"]
sky_material = SubResource("ProceduralSkyMaterial_7o86r")

[sub_resource type="Environment" id="Environment_k6esw"]
background_mode = 2
sky = SubResource("Sky_8nx2j")
ambient_light_source = 3
ssao_intensity = 6.88
ssao_power = 1.60766
glow_enabled = true
glow_levels/2 = 3.6
glow_levels/3 = 0.0
volumetric_fog_enabled = true
volumetric_fog_density = 0.0184
volumetric_fog_sky_affect = 0.263
adjustment_enabled = true
adjustment_contrast = 1.1
adjustment_saturation = 1.1
adjustment_color_correction = SubResource("GradientTexture1D_og18u")

[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_iq4p8"]
dof_blur_far_enabled = true
dof_blur_far_distance = 64.44

[node name="test" type="Node3D" node_paths=PackedStringArray("target")]
script = ExtResource("1_yg00y")
target = NodePath("box")
gizmo = ExtResource("2_nyr7l")

[node name="box" type="Node3D" parent="."]

[node name="CSGBox3D" type="CSGBox3D" parent="box"]
transform = Transform3D(0.707107, 0.5, -0.5, -0.707107, 0.5, -0.5, 0, 0.707107, 0.707107, 0, 0, 0)
size = Vector3(10, 10, 10)
material = SubResource("StandardMaterial3D_q35d8")

[node name="CSGBox3D2" type="CSGBox3D" parent="box"]
transform = Transform3D(1, 0, 0, 0, 0.707107, -0.707107, 0, 0.707107, 0.707107, 0, 0, 0)
size = Vector3(10, 10, 10)
material = SubResource("StandardMaterial3D_38wvv")

[node name="CSGSphere3D" type="CSGSphere3D" parent="box"]
radius = 7.167
radial_segments = 64
rings = 32
material = SubResource("StandardMaterial3D_k2mgk")

[node name="cam" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 15.8429)

[node name="sun" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.258819, -0.965926, 7.19671e-09, 0.482963, -0.129409, 0.866025, -0.836516, 0.224144, 0.5, 10, -2, 2)
light_energy = 0.5
shadow_enabled = true
directional_shadow_blend_splits = true

[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -16, 0)
size = Vector3(500, 1, 500)

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_k6esw")
camera_attributes = SubResource("CameraAttributesPractical_iq4p8")