[gd_scene load_steps=15 format=3 uid="uid://brjt1u0dgbmi4"] [ext_resource type="MeshLibrary" uid="uid://blbwkgls3oafx" path="res://assets/blocs/blocs.meshlib" id="1_cg1yu"] [ext_resource type="Script" path="res://scripts/Chunks.gd" id="2_c1ype"] [ext_resource type="Script" path="res://scripts/Camera3D.gd" id="3_lkvuw"] [ext_resource type="Shader" path="res://assets/water.gdshader" id="4_35uvc"] [ext_resource type="Environment" uid="uid://dur874iy77jjr" path="res://assets/environment.tres" id="4_dycnn"] [ext_resource type="Texture2D" uid="uid://qjc4ttmkxbch" path="res://assets/ui/bloc_select.png" id="4_nyumm"] [ext_resource type="Script" path="res://scripts/Selection.gd" id="7_pmhvq"] [sub_resource type="FastNoiseLite" id="FastNoiseLite_n8qd5"] [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_1g5a7"] width = 2048 height = 2048 noise = SubResource("FastNoiseLite_n8qd5") [sub_resource type="FastNoiseLite" id="FastNoiseLite_n7hja"] [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_oj1yx"] width = 2048 height = 2048 noise = SubResource("FastNoiseLite_n7hja") [sub_resource type="ShaderMaterial" id="ShaderMaterial_crcqq"] render_priority = 0 shader = ExtResource("4_35uvc") shader_parameter/speed = 0.00100005 shader_parameter/color = Color(0.054902, 0.533333, 0.741176, 1) shader_parameter/edge_color = Color(0.0509804, 0.313726, 0.741176, 1) shader_parameter/edge_scale = 0.25 shader_parameter/near = 0.1 shader_parameter/far = 100.0 shader_parameter/wave_strengh = Vector2(0.05, 0.025) shader_parameter/wave_frequency = Vector2(1.2, 1.2) shader_parameter/time_factor = Vector2(0.1, 0.2) shader_parameter/noise1 = SubResource("NoiseTexture2D_1g5a7") shader_parameter/noise2 = SubResource("NoiseTexture2D_oj1yx") [sub_resource type="PlaneMesh" id="PlaneMesh_7x62x"] material = SubResource("ShaderMaterial_crcqq") size = Vector2(512, 512) subdivide_width = 20 subdivide_depth = 20 [sub_resource type="BoxShape3D" id="BoxShape3D_g3t7x"] size = Vector3(512, 0, 512) [node name="3DWorld" type="Node3D"] script = ExtResource("7_pmhvq") [node name="Grid" type="GridMap" parent="."] transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) mesh_library = ExtResource("1_cg1yu") cell_size = Vector3(1, 1, 1) cell_octant_size = 512 cell_center_x = false cell_center_y = false cell_center_z = false collision_layer = 129 data = { "cells": PackedInt32Array(1619, 64841, 0, 130877, 765, 0, 590646, 65155, 0) } script = ExtResource("2_c1ype") metadata/_editor_floor_ = Vector3(0, 0, 0) [node name="Ocean" type="StaticBody3D" parent="."] transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 1, 256, 0.5, 256) collision_layer = 129 [node name="Mesh" type="MeshInstance3D" parent="Ocean"] mesh = SubResource("PlaneMesh_7x62x") skeleton = NodePath("../../Grid") [node name="CollisionShape3D" type="CollisionShape3D" parent="Ocean"] shape = SubResource("BoxShape3D_g3t7x") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(-0.838816, -0.462141, 0.287772, 0.48185, -0.384196, 0.787537, -0.253392, 0.799262, 0.544952, 0, 0, 0) light_color = Color(0.67451, 0.847059, 0.901961, 1) light_energy = 3.0 light_bake_mode = 0 shadow_enabled = true shadow_transmittance_bias = -5.122 directional_shadow_pancake_size = 65.8 [node name="Highlighter" type="Sprite3D" parent="."] transform = Transform3D(0.999999, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0) pixel_size = 0.0039 texture = ExtResource("4_nyumm") [node name="Camera3D" type="Camera3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.820851, 0.571143, 0, -0.571143, 0.820851, 0, 8.70843, 0) script = ExtResource("3_lkvuw") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = ExtResource("4_dycnn")