ucg-3d/assets/mesh_libraries/w1/w1_floors.tscn

50 lines
1.8 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://vgymgf5qeqvq"]
[ext_resource type="Texture2D" uid="uid://cpmi7w2fwm2sf" path="res://assets/textures/world/checker_grass.png" id="1_1jx8x"]
[ext_resource type="Texture2D" uid="uid://djx2x3jjn01w2" path="res://assets/textures/world/sand.png" id="2_rayte"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7vo3a"]
shading_mode = 2
specular_mode = 2
albedo_texture = ExtResource("1_1jx8x")
metallic_specular = 0.0
texture_filter = 0
[sub_resource type="QuadMesh" id="QuadMesh_gjjdy"]
resource_name = "CheckerGrass"
material = SubResource("StandardMaterial3D_7vo3a")
orientation = 1
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_2wq8a"]
points = PackedVector3Array(-0.5, 0, -0.5, 0.5, 0, -0.5, 0.5, 0, 0.5, -0.5, 0, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_iuj8t"]
shading_mode = 2
specular_mode = 2
albedo_texture = ExtResource("2_rayte")
metallic_specular = 0.0
texture_filter = 0
[sub_resource type="QuadMesh" id="QuadMesh_jygy4"]
resource_name = "Sand"
material = SubResource("StandardMaterial3D_iuj8t")
orientation = 1
[node name="W1Floors" type="Node3D"]
[node name="CheckerGrass" type="MeshInstance3D" parent="."]
mesh = SubResource("QuadMesh_gjjdy")
[node name="StaticBody3D" type="StaticBody3D" parent="CheckerGrass"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="CheckerGrass/StaticBody3D"]
shape = SubResource("ConvexPolygonShape3D_2wq8a")
[node name="Sand" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0)
mesh = SubResource("QuadMesh_jygy4")
[node name="StaticBody3D" type="StaticBody3D" parent="Sand"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Sand/StaticBody3D"]
shape = SubResource("ConvexPolygonShape3D_2wq8a")