2023-07-05 21:17:33 +00:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://bigr0lnen1xdh"]
|
2023-07-01 13:45:51 +00:00
|
|
|
|
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_3yn7w"]
|
|
|
|
|
sky_top_color = Color(0, 0, 1, 1)
|
|
|
|
|
sky_horizon_color = Color(0.858824, 0.541176, 0.4, 1)
|
|
|
|
|
sky_curve = 0.54075
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Sky" id="Sky_lumfb"]
|
|
|
|
|
sky_material = SubResource("ProceduralSkyMaterial_3yn7w")
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Environment" id="Environment_f0flp"]
|
|
|
|
|
background_mode = 2
|
|
|
|
|
background_energy_multiplier = 0.2
|
|
|
|
|
sky = SubResource("Sky_lumfb")
|
|
|
|
|
sky_rotation = Vector3(0, 0.352557, 0)
|
|
|
|
|
ambient_light_source = 3
|
|
|
|
|
ambient_light_color = Color(1, 1, 1, 1)
|
|
|
|
|
reflected_light_source = 1
|
|
|
|
|
tonemap_mode = 2
|
|
|
|
|
ssr_enabled = true
|
|
|
|
|
ssr_max_steps = 512
|
|
|
|
|
ssr_depth_tolerance = 0.01
|
|
|
|
|
ssao_enabled = true
|
|
|
|
|
ssao_radius = 1.24
|
|
|
|
|
ssao_intensity = 3.09
|
|
|
|
|
ssao_power = 1.91184
|
|
|
|
|
ssao_detail = 3.0
|
|
|
|
|
ssil_intensity = 0.72
|
|
|
|
|
ssil_normal_rejection = 0.56
|
|
|
|
|
sdfgi_enabled = true
|
|
|
|
|
sdfgi_use_occlusion = true
|
|
|
|
|
glow_enabled = true
|
|
|
|
|
glow_levels/2 = 0.3
|
|
|
|
|
glow_levels/7 = 2.0
|
|
|
|
|
glow_intensity = 0.4
|
|
|
|
|
glow_strength = 0.7
|
|
|
|
|
glow_bloom = 0.13
|
|
|
|
|
glow_blend_mode = 1
|
|
|
|
|
glow_hdr_threshold = 0.46
|
|
|
|
|
fog_enabled = true
|
|
|
|
|
fog_light_color = Color(0.141176, 0.133333, 0.301961, 1)
|
|
|
|
|
fog_sky_affect = 0.0
|
|
|
|
|
fog_height = 1.0
|
|
|
|
|
fog_height_density = 0.1
|
|
|
|
|
adjustment_enabled = true
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_2qx32"]
|
|
|
|
|
auto_exposure_enabled = true
|
|
|
|
|
auto_exposure_scale = 0.2
|
|
|
|
|
dof_blur_far_enabled = true
|
|
|
|
|
dof_blur_far_distance = 0.4
|
|
|
|
|
dof_blur_far_transition = 0.2
|
|
|
|
|
dof_blur_near_distance = 0.79
|
|
|
|
|
dof_blur_amount = 0.0
|
|
|
|
|
auto_exposure_min_sensitivity = 100.0
|
|
|
|
|
|
|
|
|
|
[sub_resource type="GDScript" id="GDScript_uqlwy"]
|
|
|
|
|
script/source = "extends WorldEnvironment
|
|
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
|
focus_env()
|
|
|
|
|
|
|
|
|
|
func focus_env():
|
|
|
|
|
var dof_strength_tween: Tween = create_tween()
|
|
|
|
|
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0, 1)
|
|
|
|
|
|
|
|
|
|
func focus_object():
|
|
|
|
|
var dof_strength_tween: Tween = create_tween()
|
|
|
|
|
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0.6, 1)
|
|
|
|
|
"
|
2023-03-27 17:18:48 +00:00
|
|
|
|
|
|
|
|
[node name="Node3D" type="Node3D"]
|
|
|
|
|
|
2023-07-01 13:45:51 +00:00
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
|
|
|
environment = SubResource("Environment_f0flp")
|
|
|
|
|
camera_attributes = SubResource("CameraAttributesPractical_2qx32")
|
|
|
|
|
script = SubResource("GDScript_uqlwy")
|
|
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.987688, -0.156434, 0, 0.156434, 0.987688, 0, -0.058, 0.77)
|
|
|
|
|
fov = 18.0
|