diff --git a/assets/water.png.import b/assets/water.png.import index cbfe451..2f2ff90 100644 --- a/assets/water.png.import +++ b/assets/water.png.import @@ -3,25 +3,27 @@ importer="texture" type="CompressedTexture2D" uid="uid://cq343y3ygdwun" -path="res://.godot/imported/water.png-60eb5d11192d61f791951f83acef7554.ctex" +path.s3tc="res://.godot/imported/water.png-60eb5d11192d61f791951f83acef7554.s3tc.ctex" +path.etc2="res://.godot/imported/water.png-60eb5d11192d61f791951f83acef7554.etc2.ctex" metadata={ -"vram_texture": false +"imported_formats": ["s3tc", "etc2"], +"vram_texture": true } [deps] source_file="res://assets/water.png" -dest_files=["res://.godot/imported/water.png-60eb5d11192d61f791951f83acef7554.ctex"] +dest_files=["res://.godot/imported/water.png-60eb5d11192d61f791951f83acef7554.s3tc.ctex", "res://.godot/imported/water.png-60eb5d11192d61f791951f83acef7554.etc2.ctex"] [params] -compress/mode=0 +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=false +mipmaps/generate=true mipmaps/limit=-1 roughness/mode=0 roughness/src_normal="" @@ -31,4 +33,4 @@ process/normal_map_invert_y=false process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 -detect_3d/compress_to=1 +detect_3d/compress_to=0 diff --git a/assets/water_tex.png b/assets/water_tex.png new file mode 100644 index 0000000..ffaa084 --- /dev/null +++ b/assets/water_tex.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bab0ddee0fc5d907fba2d135caf7e837e7ab35bb258b7f969ab5a77a3cb021b +size 5032 diff --git a/assets/water_tex.png.import b/assets/water_tex.png.import new file mode 100644 index 0000000..e22a6aa --- /dev/null +++ b/assets/water_tex.png.import @@ -0,0 +1,36 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdoifsf6k0qb8" +path.s3tc="res://.godot/imported/water_tex.png-c6bd53bb7eb5f8d45976d8e152ea2fe7.s3tc.ctex" +path.etc2="res://.godot/imported/water_tex.png-c6bd53bb7eb5f8d45976d8e152ea2fe7.etc2.ctex" +metadata={ +"imported_formats": ["s3tc", "etc2"], +"vram_texture": true +} + +[deps] + +source_file="res://assets/water_tex.png" +dest_files=["res://.godot/imported/water_tex.png-c6bd53bb7eb5f8d45976d8e152ea2fe7.s3tc.ctex", "res://.godot/imported/water_tex.png-c6bd53bb7eb5f8d45976d8e152ea2fe7.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 diff --git a/scenes/Island.tscn b/scenes/Island.tscn new file mode 100644 index 0000000..c831877 --- /dev/null +++ b/scenes/Island.tscn @@ -0,0 +1,42 @@ +[gd_scene load_steps=7 format=3 uid="uid://bn28lisdw1nuo"] + +[ext_resource type="Texture2D" uid="uid://bdoifsf6k0qb8" path="res://assets/water_tex.png" id="1_w6ara"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i4xeb"] +shading_mode = 0 +specular_mode = 1 +albedo_texture = ExtResource("1_w6ara") +uv1_scale = Vector3(0.5, 0.5, 0.5) +uv1_triplanar = true +uv2_triplanar = true +texture_filter = 0 +proximity_fade_distance = 30.89 + +[sub_resource type="PlaneMesh" id="PlaneMesh_4ibso"] +material = SubResource("StandardMaterial3D_i4xeb") +size = Vector2(1000, 1000) + +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_htlhh"] +sky_top_color = Color(0.356863, 0.623529, 0.937255, 1) +sky_horizon_color = Color(0.254902, 0.623529, 0.8, 1) +ground_bottom_color = Color(0.254902, 0.623529, 0.8, 1) +ground_horizon_color = Color(0.254902, 0.623529, 0.8, 1) +ground_curve = 7.89838 + +[sub_resource type="Sky" id="Sky_j6hso"] +sky_material = SubResource("ProceduralSkyMaterial_htlhh") + +[sub_resource type="Environment" id="Environment_302o8"] +background_mode = 2 +sky = SubResource("Sky_j6hso") + +[node name="Island" type="Node3D"] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = SubResource("PlaneMesh_4ibso") + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_302o8") + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, -0.337161, 0.941447, 0, -0.941447, -0.337161, 0, 2.08989, 0)