[gd_scene load_steps=38 format=3 uid="uid://bm2o3mex10v11"] [ext_resource type="Terrain3DStorage" uid="uid://bu1gewgsgc5hm" path="res://levels/debug_level/terrain_3d_storage.res" id="1_nlsu2"] [ext_resource type="Texture2D" path="res://assets/textures/grass_fairway/grass_fairway_albedo.dds" id="2_e4m27"] [ext_resource type="Texture2D" path="res://assets/textures/grass_rough/grass_rough_albedo.dds" id="4_p0awb"] [ext_resource type="Texture2D" path="res://assets/textures/grass_rough/grass_rough_normal.dds" id="4_yhjhv"] [ext_resource type="Texture2D" path="res://assets/textures/grass_fairway/grass_fairway_normal.dds" id="5_o361t"] [ext_resource type="Shader" path="res://src/shaders/psx_water.gdshader" id="6_0efu4"] [ext_resource type="Texture2D" uid="uid://c47ern0l2d50r" path="res://assets/vista_2.png" id="6_ectru"] [ext_resource type="Texture2D" uid="uid://con5a36t6n6sq" path="res://assets/textures/clear_sea_water_2048x2048.png" id="7_t86h2"] [ext_resource type="PackedScene" uid="uid://cy7t2tc4y3b4" path="res://src/player/shot_setup/shot_setup.tscn" id="8_h44v5"] [ext_resource type="Script" path="res://src/world/ball_zone/ball_zone.gd" id="9_jwlau"] [ext_resource type="PackedScene" uid="uid://dagh38vap4t1d" path="res://src/props/scenery/city/concrete_building_1.tscn" id="10_lf15j"] [ext_resource type="PackedScene" uid="uid://cjubxs7peir5k" path="res://src/props/scenery/city/kana_signboard.tscn" id="11_evxup"] [ext_resource type="PackedScene" uid="uid://di7aql54lksn7" path="res://src/props/scenery/trees/palm_tree/palm_tree.tscn" id="12_sswxf"] [ext_resource type="PackedScene" uid="uid://c7l58wuuahn7w" path="res://src/props/flag/flag.tscn" id="13_6jtao"] [ext_resource type="Texture2D" uid="uid://dj60e8ri2fco" path="res://assets/models/scenery/city/concrete_building_1/concrete_building_1.png" id="14_y7s2h"] [sub_resource type="FastNoiseLite" id="FastNoiseLite_rpgb7"] noise_type = 0 frequency = 1.0 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_sb318"] width = 256 height = 256 seamless = true noise = SubResource("FastNoiseLite_rpgb7") [sub_resource type="Terrain3DMaterial" id="Terrain3DMaterial_woy2k"] _shader_parameters = { "blend_sharpness": 0.87, "height_blending": true, "macro_variation1": Color(0.964742, 0.964742, 0.964742, 1), "macro_variation2": Color(1, 1, 1, 1), "noise1_angle": 0.0, "noise1_offset": Vector2(0.5, 0.5), "noise1_scale": 0.062, "noise2_scale": 0.076, "noise3_scale": 0.021, "noise_texture": SubResource("NoiseTexture2D_sb318"), "vertex_normals_distance": 128.0, "world_noise_blend_far": 1.0, "world_noise_blend_near": 0.57, "world_noise_height": 74.0, "world_noise_lod_distance": 16384.0, "world_noise_max_octaves": 8, "world_noise_min_octaves": 2, "world_noise_offset": Vector3(0, -8, 0), "world_noise_scale": 5.0 } world_background = 2 texture_filtering = 1 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2u1w6"] cull_mode = 2 vertex_color_use_as_albedo = true backlight_enabled = true backlight = Color(0.5, 0.5, 0.5, 1) [sub_resource type="Terrain3DMeshAsset" id="Terrain3DMeshAsset_8g62o"] name = "palm_tree" height_offset = 0.5 density = 10.0 material_override = SubResource("StandardMaterial3D_2u1w6") generated_type = 1 [sub_resource type="Terrain3DTextureAsset" id="Terrain3DTextureAsset_kocfk"] name = "Rough Grass" albedo_texture = ExtResource("4_p0awb") normal_texture = ExtResource("4_yhjhv") uv_scale = 0.01 [sub_resource type="Terrain3DTextureAsset" id="Terrain3DTextureAsset_vmhlw"] name = "Fairway Grass" id = 1 albedo_texture = ExtResource("2_e4m27") normal_texture = ExtResource("5_o361t") uv_scale = 0.01 [sub_resource type="Terrain3DAssets" id="Terrain3DAssets_eq5uw"] mesh_list = Array[Terrain3DMeshAsset]([SubResource("Terrain3DMeshAsset_8g62o")]) texture_list = Array[Terrain3DTextureAsset]([SubResource("Terrain3DTextureAsset_kocfk"), SubResource("Terrain3DTextureAsset_vmhlw")]) [sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_h8tes"] panorama = ExtResource("6_ectru") [sub_resource type="Sky" id="Sky_2xshh"] sky_material = SubResource("PanoramaSkyMaterial_h8tes") [sub_resource type="Environment" id="Environment_k6wwx"] background_mode = 2 sky = SubResource("Sky_2xshh") ambient_light_source = 2 ambient_light_color = Color(0.78, 0.78, 0.78, 1) ssao_enabled = true ssao_intensity = 1.7 glow_enabled = true glow_bloom = 0.05 volumetric_fog_enabled = true volumetric_fog_density = 0.001 volumetric_fog_emission = Color(0.6, 1, 1, 1) volumetric_fog_length = 1024.0 volumetric_fog_sky_affect = 0.0 [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_ypy22"] dof_blur_far_distance = 200.0 dof_blur_far_transition = 800.0 dof_blur_near_enabled = true dof_blur_near_distance = 1.0 dof_blur_near_transition = 0.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_5p7vs"] albedo_texture = ExtResource("14_y7s2h") uv1_scale = Vector3(300, 800, 1) [sub_resource type="BoxMesh" id="BoxMesh_20p1k"] material = SubResource("StandardMaterial3D_5p7vs") size = Vector3(300, 1, 800) [sub_resource type="BoxShape3D" id="BoxShape3D_g31tw"] size = Vector3(300, 1, 800) [sub_resource type="FastNoiseLite" id="FastNoiseLite_mgjj0"] fractal_type = 2 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_0xqld"] in_3d_space = true seamless = true noise = SubResource("FastNoiseLite_mgjj0") [sub_resource type="ShaderMaterial" id="ShaderMaterial_dkdxa"] render_priority = 0 shader = ExtResource("6_0efu4") shader_parameter/albedo = Color(0.427451, 0.917647, 1, 1) shader_parameter/scroll_speed1 = Vector2(0.05, 0) shader_parameter/scroll_speed2 = Vector2(-0.03, 0) shader_parameter/blend_factor = 0.5 shader_parameter/scale1 = Vector2(512, 512) shader_parameter/scale2 = Vector2(1024, 1024) shader_parameter/wave_strength = 0.4 shader_parameter/wave_scale = 0.02 shader_parameter/pixelation_level = 128 shader_parameter/FoamSize = 1.0 shader_parameter/WaterOpacity = 0.9 shader_parameter/FoamGlowIntensity = 0.5 shader_parameter/water_texture1 = ExtResource("7_t86h2") shader_parameter/water_texture2 = ExtResource("7_t86h2") shader_parameter/noise_texture = SubResource("NoiseTexture2D_0xqld") [sub_resource type="PlaneMesh" id="PlaneMesh_2ywhk"] material = SubResource("ShaderMaterial_dkdxa") size = Vector2(16384, 16384) subdivide_width = 1024 subdivide_depth = 1024 [sub_resource type="BoxShape3D" id="BoxShape3D_x3wvm"] size = Vector3(4096, 2, 4096) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_65jc8"] albedo_color = Color(0.427451, 0.917647, 1, 1) [sub_resource type="PlaneMesh" id="PlaneMesh_h0mhn"] material = SubResource("StandardMaterial3D_65jc8") size = Vector2(65536, 65536) [node name="TestLevel" type="Node3D"] [node name="Terrain3D" type="Terrain3D" parent="."] storage = ExtResource("1_nlsu2") material = SubResource("Terrain3DMaterial_woy2k") assets = SubResource("Terrain3DAssets_eq5uw") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_k6wwx") camera_attributes = SubResource("CameraAttributesPractical_ypy22") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(0.782608, -0.611691, 0.11558, 0, 0.185667, 0.982613, -0.622515, -0.769001, 0.145304, 0, 0, 0) shadow_enabled = true shadow_blur = 4.0 [node name="Buildings" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 129.404, -9.53674e-07, 309.4) [node name="ConcreteBuilding1" parent="Buildings" instance=ExtResource("10_lf15j")] transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0) [node name="KanaSignboard" parent="Buildings/ConcreteBuilding1" instance=ExtResource("11_evxup")] transform = Transform3D(-8.74228e-08, 0, -2, 0, 2, 0, 2, 0, -8.74228e-08, 10.8, 12, 7) [node name="ConcreteBuilding2" parent="Buildings" instance=ExtResource("10_lf15j")] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 20) [node name="ConcreteBuilding3" parent="Buildings" instance=ExtResource("10_lf15j")] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 40) [node name="PalmTree" parent="." instance=ExtResource("12_sswxf")] transform = Transform3D(-0.69799, 0, -0.716107, 0, 1, 0, 0.716107, 0, -0.69799, 140.872, -9.53674e-07, 296.932) [node name="Course" type="Node3D" parent="."] [node name="Fairway" type="Area3D" parent="Course"] script = ExtResource("9_jwlau") terrain_angular_damping = 2.0 [node name="CollisionPolygon3D" type="CollisionPolygon3D" parent="Course/Fairway"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 209.788, 6.20358, 256.527) depth = 10.0 polygon = PackedVector2Array(-1.47594, 8.77969, -12.788, 19.9447, -17.7778, 31.2864, -19.2001, 41.1398, -19.2001, 55.4081, -16.3465, 66.9813, -15.7123, 75.8594, -14.9196, 82.6765, -12.383, 89.9692, -5.6736, 102.186, 2.88742, 115.027, 9.22891, 125.332, 14.7777, 133.893, 23.4973, 146.417, 35.7046, 159.893, 44.1071, 167.661, 55.8437, 178.18, 64.5632, 185.314, 69.7949, 189.753, 73.7584, 193.082, 80.734, 200.85, 94.5267, 212.899, 106.576, 221.46, 127.915, 233.827, 139.647, 240.802, 170.403, 256.181, 183.721, 262.839, 204.489, 271.717, 216.062, 274.571, 224.465, 279.485, 235.727, 283.429, 246.983, 289.929, 253.958, 290.88, 265.373, 296.27, 275.044, 298.965, 288.995, 299.282, 302.154, 299.599, 330.056, 297.063, 356.532, 289.612, 370.483, 282.636, 382.057, 270.112, 388.081, 259.648, 392.679, 245.221, 395.849, 226.989, 395.863, 185.922, 391.266, 164.52, 381.913, 148.636, 362.889, 133.417, 344.657, 121.051, 327.059, 111.063, 306.291, 103.136, 292.974, 102.66, 277.913, 102.66, 264.913, 105.99, 241.347, 117.315, 222.323, 125.558, 203.457, 127.144, 182.371, 123.973, 157.322, 119.534, 132.908, 107.644, 108.651, 86.0827, 88.8301, 59.386, 82.6471, 48.764, 75.6715, 25.7761, 65.063, 10.562, 56.819, 3.7449, 48.5751, -0.852661, 35.2579, -3.07219, 20.8311, -3.38925, 7.35541, 1.36685) [node name="DebugTable" type="MeshInstance3D" parent="Course"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 150, 0, -400) mesh = SubResource("BoxMesh_20p1k") skeleton = NodePath("../..") [node name="StaticBody3D" type="StaticBody3D" parent="Course/DebugTable"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Course/DebugTable/StaticBody3D"] shape = SubResource("BoxShape3D_g31tw") [node name="WaterTable" type="MeshInstance3D" parent="Course"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0) mesh = SubResource("PlaneMesh_2ywhk") skeleton = NodePath("../..") [node name="BallZone" type="Area3D" parent="Course/WaterTable"] script = ExtResource("9_jwlau") water_hazard = true [node name="CollisionShape3D" type="CollisionShape3D" parent="Course/WaterTable/BallZone"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.2, 0) shape = SubResource("BoxShape3D_x3wvm") [node name="MacroWaterTable" type="MeshInstance3D" parent="Course"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -10, 0) visible = false mesh = SubResource("PlaneMesh_h0mhn") skeleton = NodePath("../..") [node name="Flag" parent="Course" instance=ExtResource("13_6jtao")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 540, 4, 452) [node name="ShotSetup" parent="Course" instance=ExtResource("8_h44v5")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 212.717, 4, 294.073)