mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-22 07:44:20 +00:00
Make sea its own standalone scene
This commit is contained in:
parent
56b59f42d3
commit
7417dd6b16
1 changed files with 20 additions and 0 deletions
20
island/Sea.tscn
Normal file
20
island/Sea.tscn
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[gd_scene load_steps=5 format=3 uid="uid://dh5blytk6vmdu"]
|
||||||
|
|
||||||
|
[ext_resource type="Shader" path="res://island/Sea.gdshader" id="1_hkdu5"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bdoifsf6k0qb8" path="res://assets/water_tile.png" id="2_n5in5"]
|
||||||
|
|
||||||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3uyyi"]
|
||||||
|
render_priority = 0
|
||||||
|
shader = ExtResource("1_hkdu5")
|
||||||
|
shader_parameter/speed_x = 1.0
|
||||||
|
shader_parameter/speed_y = 0.1
|
||||||
|
shader_parameter/size = 1000.0
|
||||||
|
shader_parameter/sea = ExtResource("2_n5in5")
|
||||||
|
|
||||||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_4ibso"]
|
||||||
|
material = SubResource("ShaderMaterial_3uyyi")
|
||||||
|
size = Vector2(1000, 1000)
|
||||||
|
|
||||||
|
[node name="Sea" type="MeshInstance3D"]
|
||||||
|
mesh = SubResource("PlaneMesh_4ibso")
|
||||||
|
skeleton = NodePath("../..")
|
Loading…
Reference in a new issue