better walls material and angled walls

This commit is contained in:
Haze Weathers 2025-02-23 04:22:47 -05:00
parent c7d401a752
commit dd17c93d48
11 changed files with 40 additions and 8 deletions

View file

@ -1,9 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://d3kpyse5k7scu"]
[gd_scene load_steps=4 format=3 uid="uid://d3kpyse5k7scu"]
[ext_resource type="PackedScene" uid="uid://ckqliu2kcydpu" path="res://assets/models/tiles/w1_walls.glb" id="1_1elhp"]
[sub_resource type="BoxShape3D" id="BoxShape3D_kqhok"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_bvwbx"]
points = PackedVector3Array(0.5, 1, 0.5, 0.5, 1, -0.5, -0.5, 1, -0.5, 0.5, 0, 0.5, 0.5, 0, -0.5, -0.5, 0, -0.5)
[node name="W1Walls" instance=ExtResource("1_1elhp")]
[node name="StaticBody3D" type="StaticBody3D" parent="GreyBlock" index="0"]
@ -11,3 +14,8 @@
[node name="CollisionShape3D" type="CollisionShape3D" parent="GreyBlock/StaticBody3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
shape = SubResource("BoxShape3D_kqhok")
[node name="StaticBody3D" type="StaticBody3D" parent="GreyBlockCorner" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="GreyBlockCorner/StaticBody3D" index="0"]
shape = SubResource("ConvexPolygonShape3D_bvwbx")

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -35,7 +35,7 @@ _subresources={
"materials": {
"GreyBlock": {
"use_external/enabled": true,
"use_external/path": "res://assets/models/tiles/w1_walls/grey_block.tres"
"use_external/path": "res://assets/models/tiles/w1_walls/grey_block.material"
}
}
}

Binary file not shown.

View file

@ -8,4 +8,6 @@ shading_mode = 2
specular_mode = 2
albedo_texture = ExtResource("1_y03ms")
metallic_specular = 0.0
uv1_offset = Vector3(0.5, 0, 0.5)
uv1_triplanar = true
texture_filter = 0