ed0bc3f37f
- WaterBody.tscn, WaterfallBody.tscn: gdshader files were referenced with type="Material" instead of type="Shader". Wrapped each shader in a ShaderMaterial sub-resource so Godot can load them. - ChimneySmoke.tscn: reordered sub-resources so StandardMaterial3D is defined before QuadMesh that references it. - WaterfallMist.tscn: fixed node type GpuParticles3D -> GPUParticles3D (case-sensitive class name in Godot 4.7). - jajce_world.gd: added explicit Vector3 type annotation to fix 'Cannot infer the type of pos variable' parse error. - main.tscn.uid: created missing UID mapping file. The scene header declared uid="uid://rs3hv73svbpa" but no .uid file existed, causing Godot to reject the scene as unsupported format.
17 lines
555 B
Plaintext
17 lines
555 B
Plaintext
[gd_scene load_steps=4 format=3]
|
|
|
|
[ext_resource type="Shader" path="res://world/jajce/materials/waterfall.gdshader" id="1_waterfall_shader"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_waterfall"]
|
|
shader = ExtResource("1_waterfall_shader")
|
|
|
|
[sub_resource type="BoxMesh" id="Mesh_waterfall_body"]
|
|
material = SubResource("ShaderMaterial_waterfall")
|
|
size = Vector3(5, 10, 0.5)
|
|
|
|
[node name="WaterfallBody" type="Node3D"]
|
|
position = Vector3(25, 5, -24)
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("Mesh_waterfall_body")
|