i dont even remember

This commit is contained in:
2024-01-19 22:17:44 +01:00
parent af5ad7e3f6
commit 448c2f352a
32 changed files with 596 additions and 32 deletions

BIN
cube/cube_fragments.glb Normal file

Binary file not shown.

View File

@@ -0,0 +1,41 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://celvn43a7xgcb"
path="res://.godot/imported/cube_fragments.glb-b90c58c2cf782b8838d36706b8edb863.scn"
[deps]
source_file="res://cube/cube_fragments.glb"
dest_files=["res://.godot/imported/cube_fragments.glb-b90c58c2cf782b8838d36706b8edb863.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={
"materials": {
"Material": {
"use_external/enabled": true,
"use_external/path": "res://cube/marble.tres"
}
}
}
gltf/naming_version=0
gltf/embedded_image_handling=1

5
cube/cube_fragments.tscn Normal file
View File

@@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://c61tpgoll0pap"]
[ext_resource type="PackedScene" uid="uid://celvn43a7xgcb" path="res://cube/cube_fragments.glb" id="1_1v5wa"]
[node name="cube_fragments" instance=ExtResource("1_1v5wa")]

View File

@@ -0,0 +1,25 @@
[gd_scene load_steps=6 format=3 uid="uid://cexof5tlc7l1i"]
[ext_resource type="Material" uid="uid://b4ygu62iepx6e" path="res://cube/marble.tres" id="1_j03bl"]
[ext_resource type="Script" path="res://addons/destruction/destruction.gd" id="2_gffgg"]
[ext_resource type="PackedScene" uid="uid://c61tpgoll0pap" path="res://cube/cube_fragments.tscn" id="3_prg0r"]
[sub_resource type="BoxMesh" id="BoxMesh_h5eed"]
size = Vector3(5, 5, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_uo2w7"]
size = Vector3(5, 5, 1)
[node name="DestructibleCube" type="StaticBody3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
material_override = ExtResource("1_j03bl")
mesh = SubResource("BoxMesh_h5eed")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_uo2w7")
[node name="Destruction" type="Node" parent="." node_paths=PackedStringArray("shard_container")]
script = ExtResource("2_gffgg")
fragmented = ExtResource("3_prg0r")
shard_container = NodePath("")

View File

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Jummit
SPDX-FileContributor: Jummit
SPDX-License-Identifier: CC0-1.0

View File

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Jummit
SPDX-FileContributor: Jummit
SPDX-License-Identifier: CC0-1.0

View File

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Jummit
SPDX-FileContributor: Jummit
SPDX-License-Identifier: CC0-1.0

6
cube/marble.tres Normal file
View File

@@ -0,0 +1,6 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://b4ygu62iepx6e"]
[ext_resource type="Texture2D" uid="uid://bgo453hjk7h3b" path="res://cube/marble_albedo.jpg" id="1_eikhe"]
[resource]
albedo_texture = ExtResource("1_eikhe")

4
cube/marble.tres.license Normal file
View File

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Jummit
SPDX-FileContributor: Jummit
SPDX-License-Identifier: CC0-1.0

BIN
cube/marble_albedo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgo453hjk7h3b"
path.s3tc="res://.godot/imported/marble_albedo.jpg-c54912b566eaf994372481bc1ead757e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://cube/marble_albedo.jpg"
dest_files=["res://.godot/imported/marble_albedo.jpg-c54912b566eaf994372481bc1ead757e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Jummit
SPDX-FileContributor: Jummit
SPDX-License-Identifier: CC0-1.0

View File

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 3DTextures
SPDX-License-Identifier: CC0-1.0