splishy splashy
This commit is contained in:
+10
-10
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
shader_type canvas_item;
|
||||
uniform float opacity : hint_range(0,1);
|
||||
|
||||
void fragment() {
|
||||
vec4 c = texture(TEXTURE, UV);
|
||||
c.a *= opacity;
|
||||
COLOR = c;
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
[ext_resource type="Script" path="res://Scripts/ladekast.gd" id="2_y7ua8"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_yanin"]
|
||||
size = Vector3(1.8, 0.2, 0.2)
|
||||
size = Vector3(1.8, 0.3, 0.2)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yvqwn"]
|
||||
resource_name = "Material.001"
|
||||
@@ -50,12 +50,13 @@ shadow_mesh = SubResource("ArrayMesh_ma7fc")
|
||||
radius = 0.1
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qmmg3"]
|
||||
size = Vector3(2, 4, 2)
|
||||
size = Vector3(2, 4, 1.9)
|
||||
|
||||
[node name="ladekast" instance=ExtResource("1_gw865")]
|
||||
script = ExtResource("2_y7ua8")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="Kast/Drawer" index="0"]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Kast/Drawer/StaticBody3D" index="0"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.82208, 0.982887)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dnho3rpbb72mw" path="res://Objects/Meshes/lichtkastje.glb" id="1_je302"]
|
||||
[ext_resource type="Script" path="res://Scripts/lichtkastje.gd" id="2_m7o1t"]
|
||||
|
||||
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_jddrt"]
|
||||
points = PackedVector3Array(-1.01587, -1.01587, -1.01587, 0.999969, 1, 1, 0.999969, 1, -1, -1.01587, 1.01587, 1.01587, 0.999969, -1, 1, -1.01587, 1.01587, -1.01587, -1.01587, -1.01587, 1.01587, 0.999969, -1, -1)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_bfy6m"]
|
||||
size = Vector3(1, 10, 18)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_smcqf"]
|
||||
albedo_color = Color(0, 0, 0, 1)
|
||||
@@ -20,7 +20,7 @@ script = ExtResource("2_m7o1t")
|
||||
[node name="Lock" type="StaticBody3D" parent="Lock" index="0"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Lock/Lock" index="0"]
|
||||
shape = SubResource("ConvexPolygonShape3D_jddrt")
|
||||
shape = SubResource("BoxShape3D_bfy6m")
|
||||
|
||||
[node name="Lever" parent="." index="4"]
|
||||
transform = Transform3D(0.0287741, 0, 0, 0, 0.208095, 0, 0, 0, 0.208095, -0.182957, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user