TypePHP 编译器 https://swoole.com/aot/
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.
 
 

87 lines
2.6 KiB

[gd_scene load_steps=5 format=3 uid="uid://typephp_ocean_odyssey"]
[ext_resource type="Script" path="res://scripts/ocean_world.gd" id="1_world"]
[sub_resource type="Environment" id="Environment_1"]
background_mode = 1
background_color = Color(0.52, 0.72, 0.92, 1)
ambient_light_source = 2
ambient_light_color = Color(0.55, 0.64, 0.72, 1)
ambient_light_energy = 0.95
reflected_light_source = 2
tonemap_mode = 2
tonemap_exposure = 1.08
tonemap_white = 3.2
ssr_enabled = false
ssr_max_steps = 32
ssr_fade_in = 0.08
ssr_fade_out = 2.4
ssao_enabled = true
ssao_radius = 1.25
ssao_intensity = 0.82
glow_enabled = true
glow_intensity = 0.42
glow_bloom = 0.18
fog_enabled = true
fog_light_color = Color(0.50, 0.70, 0.92, 1)
fog_density = 0.003
volumetric_fog_enabled = false
volumetric_fog_density = 0.008
volumetric_fog_albedo = Color(0.72, 0.82, 0.92, 1)
[sub_resource type="Curve" id="RainAmountCurve"]
_data = [Vector2(0, 0.85), 0.0, 0.0, 0, 0, Vector2(1, 0.25), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="ParticleProcessMaterial" id="RainProcess"]
emission_shape = 2
emission_box_extents = Vector3(130, 1, 130)
direction = Vector3(0.18, -1, 0.08)
spread = 6.0
gravity = Vector3(4, -42, 1.5)
initial_velocity_min = 24.0
initial_velocity_max = 34.0
scale_min = 0.55
scale_max = 1.4
scale_curve = SubResource("RainAmountCurve")
color = Color(0.7, 0.86, 1, 0.42)
[sub_resource type="BoxMesh" id="RainDropMesh"]
size = Vector3(0.012, 0.62, 0.012)
[node name="Main" type="Node3D"]
script = ExtResource("1_world")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_1")
[node name="Sun" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.731354, -0.328178, 0.598388, 0, 0.876156, 0.482028, -0.681998, -0.352584, 0.640786, 0, 28, 0)
light_color = Color(1, 0.92, 0.78, 1)
light_energy = 3.2
shadow_enabled = true
directional_shadow_mode = 2
directional_shadow_max_distance = 240.0
shadow_blur = 1.1
[node name="Moon" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.866025, -0.25, -0.433013, 0, 0.866025, -0.5, 0.5, -0.433013, -0.75, 0, 28, 0)
light_color = Color(0.46, 0.58, 0.92, 1)
light_energy = 0.0
[node name="CameraRig" type="Node3D" parent="."]
[node name="Camera3D" type="Camera3D" parent="CameraRig"]
transform = Transform3D(1, 0, 0, 0, 0.956305, 0.292372, 0, -0.292372, 0.956305, 0, 8.5, 24)
current = true
fov = 68.0
near = 0.05
far = 1000.0
[node name="Rain" type="GPUParticles3D" parent="."]
amount = 3000
lifetime = 1.85
preprocess = 1.0
visibility_aabb = AABB(-110, -70, -110, 220, 140, 220)
process_material = SubResource("RainProcess")
draw_pass_1 = SubResource("RainDropMesh")