1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-10-16 22:37:30 +00:00

Add island sea

This commit is contained in:
Ichicoro 2023-01-07 01:55:31 +01:00
parent 9cf315d118
commit 9a469a4908
4 changed files with 89 additions and 6 deletions

View file

@ -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

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

Binary file not shown.

View file

@ -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

42
scenes/Island.tscn Normal file
View file

@ -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)