feat(arena): add grounded lighting and asteroid dressing

This commit is contained in:
Josh Creek
2026-08-07 22:26:02 +01:00
parent 9fd1764522
commit 8d4078989c
4 changed files with 93 additions and 14 deletions
+31 -1
View File
@@ -1,7 +1,10 @@
[gd_scene load_steps=4 format=3]
[gd_scene load_steps=7 format=3]
[ext_resource type="PackedScene" path="res://scenes/arena_base.tscn" id="1_base"]
[ext_resource type="Shader" path="res://shaders/sky_asteroid_field.gdshader" id="7_asteroid"]
[ext_resource type="PackedScene" path="res://assets/models/nebula_station.glb" id="8_station"]
[ext_resource type="PackedScene" path="res://assets/models/nebula_debris.glb" id="9_debris"]
[ext_resource type="PackedScene" path="res://assets/models/nebula_planet.glb" id="10_planet"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_asteroid"]
shader = ExtResource("7_asteroid")
@@ -22,3 +25,30 @@ light_color = Color(1, 0.85, 0.65, 1)
light_color = Color(0.55, 0.4, 0.3, 1)
[node name="Decoration" type="Node3D" parent="."]
[node name="MiningStationA" parent="Decoration" instance=ExtResource("8_station")]
transform = Transform3D(2.1, 0, 0, 0, 2.1, 0, 0, 0, 2.1, 44, 8, -12)
rotation = Vector3(0.08, -0.72, 0.02)
[node name="MiningStationB" parent="Decoration" instance=ExtResource("8_station")]
transform = Transform3D(1.45, 0, 0, 0, 1.45, 0, 0, 0, 1.45, -48, 15, 22)
rotation = Vector3(-0.06, 1.2, 0.08)
[node name="AsteroidClusterA" parent="Decoration" instance=ExtResource("9_debris")]
transform = Transform3D(2.4, 0, 0, 0, 2.4, 0, 0, 0, 2.4, -35, 12, -25)
rotation = Vector3(0.4, 0.9, -0.2)
[node name="AsteroidClusterB" parent="Decoration" instance=ExtResource("9_debris")]
transform = Transform3D(1.7, 0, 0, 0, 1.7, 0, 0, 0, 1.7, 38, 20, 28)
rotation = Vector3(-0.25, 2.1, 0.35)
[node name="AsteroidClusterC" parent="Decoration" instance=ExtResource("9_debris")]
transform = Transform3D(1.2, 0, 0, 0, 1.2, 0, 0, 0, 1.2, 18, 7, -48)
rotation = Vector3(0.7, -0.5, 0.1)
[node name="AsteroidClusterD" parent="Decoration" instance=ExtResource("9_debris")]
transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, -20, 25, 50)
rotation = Vector3(-0.3, -1.1, -0.2)
[node name="DistantPlanet" parent="Decoration" instance=ExtResource("10_planet")]
transform = Transform3D(24, 0, 0, 0, 24, 0, 0, 0, 24, 95, 48, -145)
+55
View File
@@ -31,6 +31,23 @@ adjustment_enabled = true
adjustment_brightness = 1.0
adjustment_contrast = 1.05
adjustment_saturation = 1.08
ssao_enabled = true
ssao_radius = 2.5
ssao_intensity = 2.0
ssao_power = 1.5
ssao_detail = 0.75
ssao_horizon = 0.06
ssao_sharpness = 0.98
ssao_light_affect = 0.15
ssil_enabled = true
ssil_radius = 4.0
ssil_intensity = 1.25
ssil_sharpness = 0.98
ssil_normal_rejection = 1.0
sdfgi_enabled = true
sdfgi_use_occlusion = true
sdfgi_bounce_feedback = 0.5
sdfgi_read_sky_light = true
[node name="Arena" type="Node3D"]
script = ExtResource("1_iywne")
@@ -49,6 +66,44 @@ light_color = Color(0.55, 0.65, 0.85, 1)
light_energy = 0.4
shadow_enabled = false
[node name="PitchLights" type="Node3D" parent="."]
[node name="Team0GoalLight" type="OmniLight3D" parent="PitchLights"]
position = Vector3(0, 4.5, 22)
light_color = Color(0.48, 0.18, 0.88, 1)
light_energy = 5.0
light_bake_mode = 1
omni_range = 16.0
omni_attenuation = 1.35
shadow_enabled = true
[node name="Team1GoalLight" type="OmniLight3D" parent="PitchLights"]
position = Vector3(0, 4.5, -22)
light_color = Color(0.24, 0.86, 0.42, 1)
light_energy = 5.0
light_bake_mode = 1
omni_range = 16.0
omni_attenuation = 1.35
shadow_enabled = true
[node name="MidfieldLightA" type="OmniLight3D" parent="PitchLights"]
position = Vector3(-10, 7, 0)
light_color = Color(0.38, 0.62, 1, 1)
light_energy = 3.5
light_bake_mode = 1
omni_range = 15.0
omni_attenuation = 1.5
shadow_enabled = true
[node name="MidfieldLightB" type="OmniLight3D" parent="PitchLights"]
position = Vector3(10, 7, 0)
light_color = Color(0.38, 0.62, 1, 1)
light_energy = 3.5
light_bake_mode = 1
omni_range = 15.0
omni_attenuation = 1.5
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_base")