1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-22 07:44:20 +00:00

Try building an island with Crocotile

This commit is contained in:
Steffo 2023-01-07 05:32:37 +01:00
parent 614897059c
commit d36e828701
Signed by: steffo
GPG key ID: 6965406171929D01
8 changed files with 79 additions and 1 deletions

1
assets/island.crocotile Normal file

File diff suppressed because one or more lines are too long

1
assets/island_model/.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.obj filter=lfs diff=lfs merge=lfs -text

View file

@ -0,0 +1,9 @@
newmtl material0
Ka 1.000000 1.000000 1.000000
Kd 1.000000 1.000000 1.000000
Ks 0.000000 0.000000 0.000000
Tr 0.000000
illum 0
Ns 0.000000
map_Kd texture_0.png
map_d texture_0.png

BIN
assets/island_model/island.obj (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,21 @@
[remap]
importer="wavefront_obj"
importer_version=1
type="Mesh"
uid="uid://c8knvy5ras8jo"
path="res://.godot/imported/island.obj-4a819d853cd74bb4b42ee411b2154ac2.mesh"
[deps]
files=["res://.godot/imported/island.obj-4a819d853cd74bb4b42ee411b2154ac2.mesh"]
source_file="res://assets/island_model/island.obj"
dest_files=["res://.godot/imported/island.obj-4a819d853cd74bb4b42ee411b2154ac2.mesh", "res://.godot/imported/island.obj-4a819d853cd74bb4b42ee411b2154ac2.mesh"]
[params]
generate_tangents=true
scale_mesh=Vector3(1, 1, 1)
offset_mesh=Vector3(0, 0, 0)
optimize_mesh=true

BIN
assets/island_model/texture_0.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ebyf8q6s6yuj"
path.s3tc="res://.godot/imported/texture_0.png-3885559f1cd03962459520e5a01eb4b2.s3tc.ctex"
path.etc2="res://.godot/imported/texture_0.png-3885559f1cd03962459520e5a01eb4b2.etc2.ctex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://assets/island_model/texture_0.png"
dest_files=["res://.godot/imported/texture_0.png-3885559f1cd03962459520e5a01eb4b2.s3tc.ctex", "res://.godot/imported/texture_0.png-3885559f1cd03962459520e5a01eb4b2.etc2.ctex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
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

@ -1,6 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://bg88gc1w1gw5m"] [gd_scene load_steps=8 format=3 uid="uid://bg88gc1w1gw5m"]
[ext_resource type="Texture2D" uid="uid://bdoifsf6k0qb8" path="res://assets/water_tile.png" id="1_w6ara"] [ext_resource type="Texture2D" uid="uid://bdoifsf6k0qb8" path="res://assets/water_tile.png" id="1_w6ara"]
[ext_resource type="ArrayMesh" uid="uid://c8knvy5ras8jo" path="res://assets/island_model/island.obj" id="2_r00hx"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i4xeb"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i4xeb"]
shading_mode = 0 shading_mode = 0
@ -35,6 +36,9 @@ sky = SubResource("Sky_j6hso")
[node name="Sea" type="MeshInstance3D" parent="."] [node name="Sea" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_4ibso") mesh = SubResource("PlaneMesh_4ibso")
[node name="Island" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_r00hx")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_302o8") environment = SubResource("Environment_302o8")