65 lines
2.8 KiB
Text
65 lines
2.8 KiB
Text
|
[gd_scene load_steps=14 format=2]
|
||
|
|
||
|
[ext_resource path="res://scenes/decors/terrains/demo/ground_big.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Water_UV.png" type="Texture" id=2]
|
||
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Foam.png" type="Texture" id=3]
|
||
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Water_N_B.png" type="Texture" id=4]
|
||
|
[ext_resource path="res://assets/decors/terrains/demo/water/textures/Water_N_A.png" type="Texture" id=5]
|
||
|
[ext_resource path="res://assets/decors/terrains/demo/water/water.shader" type="Shader" id=6]
|
||
|
[ext_resource path="res://scenes/decors/buildings/minaret/minaret.tscn" type="PackedScene" id=7]
|
||
|
[ext_resource path="res://assets/decors/vegets/grass/grass_particle.material" type="Material" id=8]
|
||
|
[ext_resource path="res://assets/decors/vegets/grass/grass.material" type="Material" id=9]
|
||
|
[ext_resource path="res://scenes/decors/terrains/demo/grass.gd" type="Script" id=11]
|
||
|
[ext_resource path="res://assets/decors/vegets/grass/grass_01.obj" type="ArrayMesh" id=12]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id=1]
|
||
|
shader = ExtResource( 6 )
|
||
|
shader_param/wave_speed = 0.0
|
||
|
shader_param/wave_a = Plane( 1, 1, 0.35, 3 )
|
||
|
shader_param/wave_b = Plane( 1, 0.6, 0.3, 1.55 )
|
||
|
shader_param/wave_c = Plane( 1, 1.3, 0.25, 0.9 )
|
||
|
shader_param/sampler_scale = Vector2( 0.25, 0.25 )
|
||
|
shader_param/sampler_direction = Vector2( 0.05, 0.04 )
|
||
|
shader_param/uv_sampler_scale = Vector2( 0.25, 0.25 )
|
||
|
shader_param/uv_sampler_strength = 0.04
|
||
|
shader_param/foam_level = 0.5
|
||
|
shader_param/refraction = 0.075
|
||
|
shader_param/color_deep = Color( 0, 0.360784, 0.486275, 1 )
|
||
|
shader_param/color_shallow = Color( 1, 1, 1, 1 )
|
||
|
shader_param/beers_law = 2.0
|
||
|
shader_param/depth_offset = -0.75
|
||
|
shader_param/projector = null
|
||
|
shader_param/uv_sampler = ExtResource( 2 )
|
||
|
shader_param/normalmap_a_sampler = ExtResource( 5 )
|
||
|
shader_param/normalmap_b_sampler = ExtResource( 4 )
|
||
|
shader_param/foam_sampler = ExtResource( 3 )
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id=2]
|
||
|
material = SubResource( 1 )
|
||
|
size = Vector2( 200, 200 )
|
||
|
|
||
|
[node name="demo_2" type="Spatial"]
|
||
|
|
||
|
[node name="ground_big" parent="." instance=ExtResource( 1 )]
|
||
|
|
||
|
[node name="water" type="MeshInstance" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.32202, 0 )
|
||
|
mesh = SubResource( 2 )
|
||
|
material/0 = null
|
||
|
|
||
|
[node name="minaret" parent="." instance=ExtResource( 7 )]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -45.3431, 19.9739, -51.4872 )
|
||
|
|
||
|
[node name="grass" type="Particles" parent="."]
|
||
|
material_override = ExtResource( 9 )
|
||
|
cast_shadow = 2
|
||
|
use_in_baked_light = true
|
||
|
amount = 40000
|
||
|
visibility_aabb = AABB( -18, -50, -18, 36, 100, 36 )
|
||
|
local_coords = false
|
||
|
process_material = ExtResource( 8 )
|
||
|
draw_pass_1 = ExtResource( 12 )
|
||
|
script = ExtResource( 11 )
|
||
|
rows = 200.0
|
||
|
spacing = 0.18
|