small racing game im working on
Diffstat (limited to 'scenes/track.tscn')
-rw-r--r--scenes/track.tscn14
1 files changed, 6 insertions, 8 deletions
diff --git a/scenes/track.tscn b/scenes/track.tscn
index 7c3dfd1..bab3bde 100644
--- a/scenes/track.tscn
+++ b/scenes/track.tscn
@@ -1,13 +1,9 @@
-[gd_scene load_steps=6 format=3 uid="uid://clw61td2wh84w"]
+[gd_scene load_steps=5 format=3 uid="uid://clw61td2wh84w"]
[ext_resource type="Script" path="res://scenes/track-base.gd" id="1_ke7nx"]
-[ext_resource type="Texture2D" uid="uid://2fjjxft1ip57" path="res://assets/textures/road.png" id="1_q0215"]
+[ext_resource type="Material" uid="uid://be8pta62kxd2j" path="res://assets/mats/road.tres" id="2_2nntu"]
[ext_resource type="Material" uid="uid://dtpgjplswm6lr" path="res://assets/mats/rail.tres" id="2_3pcob"]
-[ext_resource type="Material" path="res://assets/mats/support.tres" id="3_4570s"]
-
-[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xw8xl"]
-albedo_texture = ExtResource("1_q0215")
-uv1_scale = Vector3(8, 8, 8)
+[ext_resource type="Material" uid="uid://bk4sxd2prmmom" path="res://assets/mats/support.tres" id="3_4570s"]
[node name="TrackLoader" type="Path3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.70198, -8.01861, -4.84379)
@@ -25,7 +21,7 @@ path_local = false
path_continuous_u = true
path_u_distance = 0.0
path_joined = true
-material = SubResource("StandardMaterial3D_xw8xl")
+material = ExtResource("2_2nntu")
[node name="CollisionShape" type="CSGPolygon3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.165113, 0)
@@ -84,4 +80,6 @@ path_u_distance = 1.0
path_joined = true
material = ExtResource("3_4570s")
+[node name="Sun" type="DirectionalLight3D" parent="."]
+
[connection signal="curve_changed" from="." to="." method="_on_curve_changed"]