aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/MapView.tscn
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-04-03 19:38:27 +0200
committer Hop311 <hop3114@gmail.com>2023-04-03 19:38:27 +0200
commitc7def7396da00b39eced666ad360397733712bfd (patch)
tree06fd1047a6193e9062c53375eeea2a8419f3cc1d /game/src/GameSession/MapView.tscn
parent60ddfc88fd6dc259792532fadf9cc4407f90e95f (diff)
Basic province id and shape loading and rendering.
Diffstat (limited to 'game/src/GameSession/MapView.tscn')
-rw-r--r--game/src/GameSession/MapView.tscn6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/src/GameSession/MapView.tscn b/game/src/GameSession/MapView.tscn
index 4c34035..97a72a8 100644
--- a/game/src/GameSession/MapView.tscn
+++ b/game/src/GameSession/MapView.tscn
@@ -7,10 +7,10 @@
[sub_resource type="ShaderMaterial" id="ShaderMaterial_tayeg"]
render_priority = 0
shader = ExtResource("1_upocn")
-shader_parameter/tex = ExtResource("3_l8pnf")
+shader_parameter/mouse_pos = Vector2(0.5, 0.5)
+shader_parameter/terrain_tex = ExtResource("3_l8pnf")
[sub_resource type="PlaneMesh" id="PlaneMesh_skc48"]
-size = Vector2(10.8, 2)
[node name="MapView" type="Node3D" node_paths=PackedStringArray("_camera", "_map_mesh")]
script = ExtResource("1_exccw")
@@ -21,6 +21,6 @@ _map_mesh = NodePath("MapMeshInstance")
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 1, 1)
[node name="MapMeshInstance" type="MeshInstance3D" parent="."]
-transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
+transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0)
material_override = SubResource("ShaderMaterial_tayeg")
mesh = SubResource("PlaneMesh_skc48")