Add texture to finish gate

pull/2/head
Ensar Sarajčić 2022-01-20 21:03:38 +01:00
parent bbde8b2ae7
commit fbc01a296e
3 changed files with 76 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/checkered.png-668a157f2d2ca6daad4a9e7d6de114d0.s3tc.stex"
path.etc2="res://.import/checkered.png-668a157f2d2ca6daad4a9e7d6de114d0.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/checkered.png"
dest_files=[ "res://.import/checkered.png-668a157f2d2ca6daad4a9e7d6de114d0.s3tc.stex", "res://.import/checkered.png-668a157f2d2ca6daad4a9e7d6de114d0.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View File

@ -1,16 +1,43 @@
[gd_scene format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/checkered.png" type="Texture" id=1]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 0.1, 0.75, 1 )
[sub_resource type="SpatialMaterial" id=2]
albedo_color = Color( 0.333333, 0.333333, 0.333333, 1 )
[sub_resource type="CubeMesh" id=3]
size = Vector3( 0.3, 1, 1 )
[sub_resource type="SpatialMaterial" id=4]
albedo_texture = ExtResource( 1 )
uv1_scale = Vector3( 2.07, 2.592, 1 )
uv1_triplanar = true
[node name="Spatial" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.15, 0 )
[node name="CSGBox" type="CSGBox" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
width = 1.0
height = 1.0
depth = 1.0
[node name="StaticBody" type="StaticBody" parent="."]
[node name="CSGBox" type="CSGBox" parent="CSGBox"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.124099, 0 )
operation = 2
width = 0.8
height = 1.10884
depth = 1.27364
[node name="MeshInstance" type="MeshInstance" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.444051, 0.366505, 0 )
mesh = SubResource( 1 )
skeleton = NodePath("../..")
material/0 = SubResource( 2 )
[node name="MeshInstance2" type="MeshInstance" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.448985, 0.365196, 0 )
mesh = SubResource( 1 )
skeleton = NodePath("../..")
material/0 = SubResource( 2 )
[node name="MeshInstance3" type="MeshInstance" parent="StaticBody"]
transform = Transform( -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 0.894511, 0 )
mesh = SubResource( 3 )
skeleton = NodePath("../..")
material/0 = SubResource( 4 )
[node name="CollisionPolygon" type="CollisionPolygon" parent="StaticBody"]
polygon = PoolVector2Array( -0.5, 0, -0.5, 1.05, 0.5, 1.05, 0.5, 0, 0.4, 0, 0.4, 0.75, -0.4, 0.75, -0.4, 0 )