Base scene + player

This commit is contained in:
Vojta committed 2025-06-18 12:59:24 +02:00
commit 7243d74d01
1021 files changed
+73514

No files matched your search

@@ -0,0 +1,23 @@
[gd_scene load_steps=5 format=3 uid="uid://b4ted6l27vuyd"]
[ext_resource type="PackedScene" uid="uid://d1d1fag0m04yc" path="res://addons/proton_scatter/demos/assets/models/brick.glb" id="1_bkmk2"]
[ext_resource type="Texture2D" uid="uid://dqa2jfs1jy0hq" path="res://addons/proton_scatter/demos/assets/textures/t_rock.jpg" id="2_235bd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nwvh2"]
albedo_color = Color(0.678431, 0.596078, 0.466667, 1)
albedo_texture = ExtResource("2_235bd")
uv1_scale = Vector3(0.75, 0.75, 0.75)
uv1_triplanar = true
[sub_resource type="BoxShape3D" id="BoxShape3D_0rrnn"]
size = Vector3(0.4, 0.4, 0.4)
[node name="brick" instance=ExtResource("1_bkmk2")]
[node name="Cube" parent="." index="0"]
material_override = SubResource("StandardMaterial3D_nwvh2")
[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
shape = SubResource("BoxShape3D_0rrnn")
@@ -0,0 +1,10 @@
[gd_scene load_steps=3 format=3 uid="uid://b8abs8me7ckgo"]
[ext_resource type="PackedScene" uid="uid://dbb4culid55v5" path="res://addons/proton_scatter/demos/assets/models/bush.glb" id="1_kv8tm"]
[ext_resource type="Material" uid="uid://bn3fr3m3glrnp" path="res://addons/proton_scatter/demos/assets/materials/m_bush.tres" id="2_bkwoq"]
[node name="bush" instance=ExtResource("1_kv8tm")]
[node name="Bush" parent="." index="0"]
material_override = ExtResource("2_bkwoq")
instance_shader_parameters/camera_bend_strength = 0.0
@@ -0,0 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://ctkii8aivl17n"]
[ext_resource type="PackedScene" uid="uid://cmqlv88xp71tw" path="res://addons/proton_scatter/demos/assets/models/dead_branch.glb" id="1_5foyv"]
[ext_resource type="Material" uid="uid://d01d0h08lqqn6" path="res://addons/proton_scatter/demos/assets/materials/m_trunk.tres" id="2_tldro"]
[node name="dead_branch" instance=ExtResource("1_5foyv")]
[node name="DeadBranch" parent="." index="0"]
surface_material_override/0 = ExtResource("2_tldro")
@@ -0,0 +1,18 @@
[gd_scene load_steps=4 format=3 uid="uid://bfcjigq0vdl4d"]
[ext_resource type="PackedScene" uid="uid://6gxiul1pw13t" path="res://addons/proton_scatter/demos/assets/models/fence_planks.glb" id="1"]
[ext_resource type="Material" path="res://addons/proton_scatter/demos/assets/materials/m_fence.tres" id="2"]
[sub_resource type="BoxShape3D" id="BoxShape3D_fesk1"]
size = Vector3(1, 0.5, 0.1)
[node name="fence_planks" instance=ExtResource("1")]
[node name="fence_planks2" parent="." index="0"]
surface_material_override/0 = ExtResource("2")
[node name="StaticBody3D" type="StaticBody3D" parent="." index="1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.197684, 0.0236663)
shape = SubResource("BoxShape3D_fesk1")
@@ -0,0 +1,16 @@
[gd_scene load_steps=3 format=3 uid="uid://bmglbfn5jaubp"]
[ext_resource type="PackedScene" uid="uid://d3f4d3m7n8tpr" path="res://addons/proton_scatter/demos/assets/models/gobot.glb" id="1_gfyx7"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rhuea"]
albedo_color = Color(0.278431, 0.54902, 0.74902, 1)
metallic = 0.4
metallic_specular = 0.2
roughness = 0.15
rim_enabled = true
rim = 0.3
[node name="gobot" instance=ExtResource("1_gfyx7")]
[node name="Sphere001" parent="." index="0"]
surface_material_override/0 = SubResource("StandardMaterial3D_rhuea")
@@ -0,0 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://c3c76je2y6vfj"]
[ext_resource type="PackedScene" uid="uid://018flajgtx7t" path="res://addons/proton_scatter/demos/assets/models/grass.glb" id="1_203fe"]
[ext_resource type="Material" uid="uid://c4mot1fo3siox" path="res://addons/proton_scatter/demos/assets/materials/m_grass.tres" id="2_sv1ar"]
[node name="grass" instance=ExtResource("1_203fe")]
[node name="Plane_011" parent="." index="0"]
surface_material_override/0 = ExtResource("2_sv1ar")
@@ -0,0 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://cia3jakp3wj1d"]
[ext_resource type="PackedScene" uid="uid://dcnm2ijk7hj4j" path="res://addons/proton_scatter/demos/assets/models/grass_2.glb" id="1_xyqky"]
[ext_resource type="Material" uid="uid://c4mot1fo3siox" path="res://addons/proton_scatter/demos/assets/materials/m_grass.tres" id="2_63qe5"]
[node name="grass_2" instance=ExtResource("1_xyqky")]
[node name="Grass" parent="." index="0"]
surface_material_override/0 = ExtResource("2_63qe5")
@@ -0,0 +1,17 @@
[gd_scene load_steps=4 format=3 uid="uid://8ay5rlrutcmx"]
[ext_resource type="PackedScene" uid="uid://bxqkgplyoipsx" path="res://addons/proton_scatter/demos/assets/models/large_rock.glb" id="1_etns1"]
[ext_resource type="Material" uid="uid://i0jgjmbbl2m5" path="res://addons/proton_scatter/demos/assets/materials/m_rock.tres" id="2_fes1d"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_6ssqc"]
data = PackedVector3Array(0.0629, 0.1755, -1.8335, -0.0082, 0.0041, -1.6822, 0.2717, -0.1032, -1.6837, 0.6881, 0.5954, 1.4818, 1.1748, -0.0814, 1.7311, 0.3761, 0.3877, 1.5951, 0.8004, 0.2889, -1.6673, 0.453, 0.787, -1.6234, 0.2234, 0.3394, -1.8428, 0.0438, -0.3535, -1.5059, 0.0958, -0.4313, -1.5075, 0.2334, -0.4206, -1.5131, 1.7542, -0.4854, 0.9086, 1.6573, -0.2166, 1.2501, 1.8018, -0.1166, 1.0465, -0.9001, 0.6982, -1.3812, 0.4904, 0.8361, -0.4902, -1.2997, 0.5397, -0.7858, -1.3066, -0.6146, -0.0152, -1.3934, -0.7148, -0.3785, -1.6779, -0.4855, -0.1607, -1.6422, -0.27, -0.3156, -1.3474, 0.367, -0.2501, -1.5688, -0.3115, 0.1105, 0.7765, -0.6276, -1.2561, 0.9699, -0.5671, -1.2091, 0.6074, -0.5308, -1.4001, -0.9001, 0.6982, -1.3812, -0.534, 0.3122, -1.6595, -0.4893, 0.652, -1.605, 1.5141, -0.6082, 1.2539, 1.502, -0.4979, 1.4563, 1.5644, -0.4551, 1.31, 1.6136, 0.2882, 1.3723, 1.2715, 0.1425, 1.7004, 1.307, 0.4153, 1.6132, -0.0974, 0.1771, -1.7741, -0.0692, 0.1191, -1.7434, -0.0832, 0.1572, -1.7751, -0.0258, 0.0213, -1.688, -0.3113, -0.1613, -1.5779, 0.0157, -0.0532, -1.6436, -0.0864, 0.2978, -1.7808, 0.0784, 0.5885, -1.8004, -0.0895, 0.5831, -1.6991, 1.8072, -0.4701, -0.0799, 1.571, 0.5779, 0.2372, 1.7035, -0.1804, -0.405, 0.7935, 0.8229, -1.3081, 0.9762, 0.8279, -1.1273, 0.6719, 0.9108, -1.1199, -1.2328, -0.714, -0.1886, -1.3066, -0.6146, -0.0152, -1.0843, -0.5896, 0.1569, -1.6727, -0.3783, -0.0804, -1.6583, -0.5073, -0.3071, -1.6422, -0.27, -0.3156, 1.7542, -0.4854, 0.9086, 1.4359, -0.8794, 0.8237, 1.5663, -0.6718, 1.1167, 0.6096, -0.219, -1.5025, 0.6415, -0.1642, -1.5814, 0.2717, -0.1032, -1.6837, -0.0258, 0.0213, -1.688, 0.0157, -0.0532, -1.6436, -0.0082, 0.0041, -1.6822, 0.4631, 0.9672, -1.1988, 0.6719, 0.9108, -1.1199, 0.5883, 0.9628, -1.0063, 1.6466, 0.5513, 1.0625, 1.6113, 0.4774, 1.1526, 1.487, 0.6285, 1.1421, 1.259, -0.746, -0.7881, 0.8809, -0.6144, -1.19, -0.8459, -0.6965, -0.1217, 1.2972, 0.6831, -0.5577, 1.3496, 0.6378, -0.4421, 1.3469, 0.6517, -0.3691, 1.0299, -0.8113, 1.3675, 1.1519, -0.8005, 1.3807, 1.0338, -0.9119, 1.2882, 0.1273, -0.231, -1.5631, 0.2717, -0.1032, -1.6837, 0.0157, -0.0532, -1.6436, 0.0157, -0.0532, -1.6436, 0.2717, -0.1032, -1.6837, -0.0082, 0.0041, -1.6822, -0.0082, 0.0041, -1.6822, 0.0629, 0.1755, -1.8335, -0.0258, 0.0213, -1.688, -0.0258, 0.0213, -1.688, 0.0629, 0.1755, -1.8335, -0.0692, 0.1191, -1.7434, -0.0832, 0.1572, -1.7751, -0.0864, 0.2978, -1.7808, -0.0974, 0.1771, -1.7741, -0.0692, 0.1191, -1.7434, 0.0629, 0.1755, -1.8335, -0.0832, 0.1572, -1.7751, -0.0864, 0.2978, -1.7808, -0.0832, 0.1572, -1.7751, 0.0629, 0.1755, -1.8335, 0.1504, 0.3249, 1.5256, 0.2321, -0.5546, 1.2968, -0.1811, 0.3534, 1.33, -0.1811, 0.3534, 1.33, -0.7713, -0.4525, 0.8629, -0.8882, 0.3173, 0.8972, -0.8882, 0.3173, 0.8972, -0.7713, -0.4525, 0.8629, -1.057, 0.126, 0.9512, -1.057, 0.126, 0.9512, -0.7713, -0.4525, 0.8629, -1.1208, -0.2211, 0.8364, -0.7713, -0.4525, 0.8629, -0.1811, 0.3534, 1.33, 0.2321, -0.5546, 1.2968, 0.2321, -0.5546, 1.2968, 0.5577, -0.3719, 1.5982, 0.5902, -0.5067, 1.4887, 0.6927, -0.351, 1.6834, 1.1748, -0.0814, 1.7311, 1.0161, -0.3973, 1.7034, 0.2321, -0.5546, 1.2968, 0.1504, 0.3249, 1.5256, 0.5577, -0.3719, 1.5982, 0.1504, 0.3249, 1.5256, 0.3761, 0.3877, 1.5951, 0.5577, -0.3719, 1.5982, 0.5577, -0.3719, 1.5982, 0.3761, 0.3877, 1.5951, 0.6927, -0.351, 1.6834, 0.6927, -0.351, 1.6834, 0.3761, 0.3877, 1.5951, 1.1748, -0.0814, 1.7311, 1.1748, -0.0814, 1.7311, 0.6881, 0.5954, 1.4818, 1.2715, 0.1425, 1.7004, 1.2715, 0.1425, 1.7004, 0.6881, 0.5954, 1.4818, 1.307, 0.4153, 1.6132, 1.307, 0.4153, 1.6132, 1.0721, 0.6892, 1.1619, 1.3943, 0.5306, 1.4472, 1.0721, 0.6892, 1.1619, 1.307, 0.4153, 1.6132, 0.6881, 0.5954, 1.4818, 0.5536, 0.8275, -1.4892, 0.7935, 0.8229, -1.3081, 0.606, 0.847, -1.3151, 0.5536, 0.8275, -1.4892, 0.8004, 0.2889, -1.6673, 0.7935, 0.8229, -1.3081, 0.7935, 0.8229, -1.3081, 0.8004, 0.2889, -1.6673, 0.9175, 0.7849, -1.3125, 0.0784, 0.5885, -1.8004, 0.2234, 0.3394, -1.8428, 0.2304, 0.721, -1.7333, 0.2304, 0.721, -1.7333, 0.2234, 0.3394, -1.8428, 0.453, 0.787, -1.6234, 0.453, 0.787, -1.6234, 0.8004, 0.2889, -1.6673, 0.5536, 0.8275, -1.4892, 0.9625, 0.7976, -1.2398, 1.1721, 0.7244, -1.0147, 0.9762, 0.8279, -1.1273, 0.8004, 0.2889, -1.6673, 1.0764, 0.3168, -1.4944, 0.9175, 0.7849, -1.3125, 0.9175, 0.7849, -1.3125, 1.0764, 0.3168, -1.4944, 0.9625, 0.7976, -1.2398, 0.9625, 0.7976, -1.2398, 1.1928, 0.2492, -1.3592, 1.1721, 0.7244, -1.0147, 1.0764, 0.3168, -1.4944, 1.1928, 0.2492, -1.3592, 0.9625, 0.7976, -1.2398, 1.1721, 0.7244, -1.0147, 1.1928, 0.2492, -1.3592, 1.3553, 0.3188, -1.0845, 0.0438, -0.3535, -1.5059, 0.2334, -0.4206, -1.5131, 0.1273, -0.231, -1.5631, 1.8018, -0.1166, 1.0465, 1.6936, -0.0517, 1.195, 1.7358, 0.1659, 1.068, 1.7358, 0.1659, 1.068, 1.6944, 0.1451, 1.1403, 1.7079, 0.2069, 1.098, 1.6936, -0.0517, 1.195, 1.6944, 0.1451, 1.1403, 1.7358, 0.1659, 1.068, 1.6936, -0.0517, 1.195, 1.8018, -0.1166, 1.0465, 1.6573, -0.2166, 1.2501, 1.6573, -0.2166, 1.2501, 1.7542, -0Line truncated
[node name="large_rock" instance=ExtResource("1_etns1")]
[node name="LargeRock" parent="." index="0"]
surface_material_override/0 = ExtResource("2_fes1d")
[node name="StaticBody3D" type="StaticBody3D" parent="LargeRock" index="0"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="LargeRock/StaticBody3D" index="0"]
shape = SubResource("ConcavePolygonShape3D_6ssqc")
@@ -0,0 +1,62 @@
shader_type spatial;
render_mode depth_draw_opaque, cull_disabled;
// Texture settings
uniform sampler2D texture_albedo : hint_default_white, repeat_disable;
uniform sampler2D texture_gradient : hint_default_white, repeat_disable;
uniform sampler2D texture_noise : hint_default_white;
uniform float alpha_scissor_threshold : hint_range(0.0, 1.0);
uniform vec4 transmission : source_color;
uniform vec4 secondary_color : source_color;
uniform float secondary_attenuation = 0.2;
uniform float grass_height = 1.0;
// Wind settings
uniform vec2 wind_direction = vec2(1, -0.5);
uniform float wind_speed = 1.0;
uniform float wind_strength = 2.0;
uniform float noise_scale = 20.0;
instance uniform float camera_bend_strength : hint_range(0.0, 3.0) = 0.2;
varying float color;
varying float height;
void vertex() {
height = VERTEX.y;
float influence = smoothstep(0, 1, height / 2.0);
vec4 world_pos = MODEL_MATRIX * vec4(VERTEX, 1.0);
vec2 uv = world_pos.xz / (noise_scale + 1e-2);
vec2 panning_uv = uv + fract(TIME * wind_direction * wind_speed);
float wind = texture(texture_noise, panning_uv).r * 2.0 - 0.4;
color = texture(texture_noise, uv).r;
vec2 wind_offset = -wind_direction * wind_strength * influence * wind;
world_pos.xz += wind_offset;
world_pos.y -= wind * influence * smoothstep(0.0, height, wind_strength);
//Push the top vertex away from the camera to bend the grass clump
float ndotv = 1.0 - dot(vec3(0.0, 1.0, 0.0), normalize(INV_VIEW_MATRIX[1].xyz));
world_pos.xz += INV_VIEW_MATRIX[1].xz * camera_bend_strength * height * ndotv;
vec4 local_pos = inverse(MODEL_MATRIX) * world_pos;
local_pos.x += wind_strength * influence * cos(TIME * 1.0) / 8.0;
local_pos.z += wind_strength * influence * sin(TIME * 1.5) / 8.0;
VERTEX = local_pos.xyz;
//NORMAL = vec3(0.0, 1.0, 0.0);
}
void fragment() {
vec4 tex = texture(texture_albedo, UV);
if (tex.a < alpha_scissor_threshold) {
discard;
}
BACKLIGHT = transmission.rgb;
vec4 gradient = texture(texture_gradient, vec2(height / grass_height, 0.0));
float secondary_weight = smoothstep(0.0, 1.0, color - secondary_attenuation);
ALBEDO = tex.rbg * gradient.rgb;
//ALBEDO = mix(ALBEDO, secondary_color.rgb, secondary_weight);
}
@@ -0,0 +1 @@
uid://cktbgarifkbc8
@@ -0,0 +1,51 @@
shader_type spatial;
render_mode depth_draw_opaque, cull_disabled;
// Texture settings
uniform sampler2D texture_albedo : hint_default_white, repeat_disable;
uniform sampler2D texture_gradient : hint_default_white;
uniform sampler2D texture_noise : hint_default_white;
uniform float alpha_scissor_threshold : hint_range(0.0, 1.0);
uniform vec4 transmission : source_color;
uniform float total_height = 1.0;
// Wind settings
uniform vec2 wind_direction = vec2(1, -0.5);
uniform float wind_speed = 1.0;
uniform float wind_strength = 2.0;
uniform float noise_scale = 20.0;
varying float color;
varying float height;
void vertex() {
height = VERTEX.y;
vec4 world_pos = MODEL_MATRIX * vec4(VERTEX, 1.0);
vec2 uv = (world_pos.xz + VERTEX.yy) / (noise_scale + 1e-2) ;
vec2 panning_uv = uv + fract(TIME * wind_direction * wind_speed);
float wind = texture(texture_noise, panning_uv).r * 2.0 - 0.4;
color = texture(texture_noise, uv).r;
float wind_influence = smoothstep(0, 1, 1.0 - UV.y);
vec2 wind_offset = -wind_direction * wind_strength * wind_influence * wind;
world_pos.xz += wind_offset;
world_pos.y -= wind * wind_influence * wind_strength * 0.45;
vec4 local_pos = inverse(MODEL_MATRIX) * world_pos;
VERTEX = local_pos.xyz;
//NORMAL = vec3(0.0, 1.0, 0.0);
}
void fragment() {
vec4 tex = texture(texture_albedo, UV);
if (tex.a < alpha_scissor_threshold) {
discard;
}
BACKLIGHT = transmission.rgb;
vec4 gradient = texture(texture_gradient, vec2(height / total_height, 0.0));
ALBEDO = tex.rbg * gradient.rgb;
}
@@ -0,0 +1 @@
uid://bv00dvm0n7u46
@@ -0,0 +1,37 @@
[gd_resource type="ShaderMaterial" load_steps=7 format=3 uid="uid://bn3fr3m3glrnp"]
[ext_resource type="Shader" uid="uid://cktbgarifkbc8" path="res://addons/proton_scatter/demos/assets/materials/grass.gdshader" id="1_peshr"]
[ext_resource type="Texture2D" uid="uid://b2a6ylo2enm4g" path="res://addons/proton_scatter/demos/assets/textures/t_bush.png" id="2_mbhvd"]
[sub_resource type="Gradient" id="Gradient_122hb"]
offsets = PackedFloat32Array(0, 0.5, 1)
colors = PackedColorArray(0.179688, 0.0759602, 0.0183228, 1, 0.386532, 0.390625, 0.0230687, 1, 1, 0.693237, 0.0687054, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_i0bw2"]
gradient = SubResource("Gradient_122hb")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_eeqpx"]
seed = 1
frequency = 0.002
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7l0n1"]
in_3d_space = true
seamless = true
seamless_blend_skirt = 0.65
noise = SubResource("FastNoiseLite_eeqpx")
[resource]
render_priority = 0
shader = ExtResource("1_peshr")
shader_parameter/texture_albedo = ExtResource("2_mbhvd")
shader_parameter/texture_gradient = SubResource("GradientTexture1D_i0bw2")
shader_parameter/texture_noise = SubResource("NoiseTexture2D_7l0n1")
shader_parameter/alpha_scissor_threshold = 0.25
shader_parameter/transmission = Color(0.619608, 0.541176, 0.101961, 1)
shader_parameter/secondary_color = Color(0, 0, 0, 1)
shader_parameter/secondary_attenuation = 0.2
shader_parameter/grass_height = 0.829
shader_parameter/wind_direction = Vector2(1, -0.5)
shader_parameter/wind_speed = 0.5
shader_parameter/wind_strength = 0.15
shader_parameter/noise_scale = 6.0
@@ -0,0 +1,6 @@
[gd_resource type="SpatialMaterial" format=2]
[resource]
resource_name = "wood"
vertex_color_use_as_albedo = true
albedo_color = Color( 0.568627, 0.466667, 0.372549, 1 )
@@ -0,0 +1,37 @@
[gd_resource type="ShaderMaterial" load_steps=7 format=3 uid="uid://c4mot1fo3siox"]
[ext_resource type="Shader" uid="uid://cktbgarifkbc8" path="res://addons/proton_scatter/demos/assets/materials/grass.gdshader" id="1_fntgl"]
[ext_resource type="Texture2D" uid="uid://d23p13yi7asw0" path="res://addons/proton_scatter/demos/assets/textures/t_grass_2.png" id="2_1odx0"]
[sub_resource type="Gradient" id="Gradient_122hb"]
offsets = PackedFloat32Array(0, 0.473451, 1)
colors = PackedColorArray(0.179688, 0.0855483, 0.00322032, 1, 0.251693, 0.390625, 0.0117187, 1, 1, 0.964706, 0.129412, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_i0bw2"]
gradient = SubResource("Gradient_122hb")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_eeqpx"]
seed = 1
frequency = 0.002
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7l0n1"]
in_3d_space = true
seamless = true
seamless_blend_skirt = 0.65
noise = SubResource("FastNoiseLite_eeqpx")
[resource]
render_priority = 0
shader = ExtResource("1_fntgl")
shader_parameter/texture_albedo = ExtResource("2_1odx0")
shader_parameter/texture_gradient = SubResource("GradientTexture1D_i0bw2")
shader_parameter/texture_noise = SubResource("NoiseTexture2D_7l0n1")
shader_parameter/alpha_scissor_threshold = 0.3
shader_parameter/transmission = Color(0.737255, 0.72549, 0, 1)
shader_parameter/secondary_color = Color(0, 0, 0, 1)
shader_parameter/secondary_attenuation = 0.2
shader_parameter/grass_height = 0.6
shader_parameter/wind_direction = Vector2(1, -0.5)
shader_parameter/wind_speed = 0.5
shader_parameter/wind_strength = 0.15
shader_parameter/noise_scale = 6.0
@@ -0,0 +1,38 @@
[gd_resource type="ShaderMaterial" load_steps=7 format=3 uid="uid://djo80ucamk643"]
[ext_resource type="Shader" path="res://addons/proton_scatter/demos/assets/materials/grass.gdshader" id="1_8py1k"]
[ext_resource type="Texture2D" uid="uid://cgenco43aneod" path="res://addons/proton_scatter/demos/assets/textures/t_leaves_1.png" id="2_l2uea"]
[sub_resource type="Gradient" id="Gradient_yy7fg"]
offsets = PackedFloat32Array(0, 0.726872, 0.934272)
colors = PackedColorArray(0.333333, 0.486275, 0.556863, 1, 0.496467, 0.55, 0.1485, 1, 0.898039, 0.670588, 0.0196078, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_rwvaq"]
gradient = SubResource("Gradient_yy7fg")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_wpihy"]
seed = 1
frequency = 0.002
[sub_resource type="NoiseTexture2D" id="NoiseTexture_tgrrr"]
in_3d_space = true
seamless = true
seamless_blend_skirt = 0.65
noise = SubResource("FastNoiseLite_wpihy")
[resource]
render_priority = 0
shader = ExtResource("1_8py1k")
shader_parameter/alpha_scissor_threshold = 0.5
shader_parameter/camera_bend_strength = 0.0
shader_parameter/grass_height = 1.0
shader_parameter/noise_scale = 12.0
shader_parameter/secondary_attenuation = 0.2
shader_parameter/secondary_color = Color(0, 0.305882, 0.211765, 1)
shader_parameter/texture_albedo = ExtResource("2_l2uea")
shader_parameter/texture_gradient = SubResource("GradientTexture1D_rwvaq")
shader_parameter/texture_noise = SubResource("NoiseTexture_tgrrr")
shader_parameter/transmission = Color(1, 0.975296, 0.943663, 1)
shader_parameter/wind_direction = Vector2(1, -0.5)
shader_parameter/wind_speed = 0.5
shader_parameter/wind_strength = 0.05
@@ -0,0 +1,6 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://ds2hjlo70hglg"]
[ext_resource type="Texture2D" uid="uid://bjdgw8o5tr1a3" path="res://addons/proton_scatter/demos/assets/textures/mushroom.png" id="1_y0tuv"]
[resource]
albedo_texture = ExtResource("1_y0tuv")
@@ -0,0 +1,35 @@
[gd_resource type="ShaderMaterial" load_steps=7 format=3 uid="uid://d28lq2qtgdyie"]
[ext_resource type="Shader" uid="uid://bv00dvm0n7u46" path="res://addons/proton_scatter/demos/assets/materials/leaves.gdshader" id="1_hlncd"]
[ext_resource type="Texture2D" uid="uid://ctpb1w0cr8tqc" path="res://addons/proton_scatter/demos/assets/textures/t_pine_branch.png" id="2_yef44"]
[sub_resource type="Gradient" id="Gradient_pookg"]
offsets = PackedFloat32Array(0.38342, 0.694301, 1)
colors = PackedColorArray(0.059375, 0.078125, 0.07, 1, 0.628287, 0.73, 0.1752, 1, 0.897921, 1, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_n86jv"]
gradient = SubResource("Gradient_pookg")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_t7o5y"]
seed = 1
frequency = 0.002
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_03p8g"]
in_3d_space = true
seamless = true
seamless_blend_skirt = 0.65
noise = SubResource("FastNoiseLite_t7o5y")
[resource]
render_priority = 0
shader = ExtResource("1_hlncd")
shader_parameter/texture_albedo = ExtResource("2_yef44")
shader_parameter/texture_gradient = SubResource("GradientTexture1D_n86jv")
shader_parameter/texture_noise = SubResource("NoiseTexture2D_03p8g")
shader_parameter/alpha_scissor_threshold = 0.3
shader_parameter/transmission = Color(0.745098, 0.741176, 0, 1)
shader_parameter/total_height = 4.046
shader_parameter/wind_direction = Vector2(1, -0.5)
shader_parameter/wind_speed = 0.2
shader_parameter/wind_strength = 0.05
shader_parameter/noise_scale = 12.0
@@ -0,0 +1,10 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://i0jgjmbbl2m5"]
[ext_resource type="Texture2D" uid="uid://drdh36j6mu3ah" path="res://addons/proton_scatter/demos/assets/textures/t_rock_dirty.png" id="1_hx37f"]
[resource]
albedo_color = Color(0.439216, 0.407843, 0.388235, 1)
albedo_texture = ExtResource("1_hx37f")
metallic_specular = 0.3
uv1_triplanar = true
uv1_world_triplanar = true
@@ -0,0 +1,7 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://d01d0h08lqqn6"]
[ext_resource type="Texture2D" uid="uid://c7pop5xgpxtiv" path="res://addons/proton_scatter/demos/assets/textures/t_tree_bark_rough.png" id="1_g4son"]
[resource]
albedo_color = Color(0.470588, 0.376471, 0.309804, 1)
albedo_texture = ExtResource("1_g4son")
@@ -0,0 +1,90 @@
// Source: https://godotshaders.com/shader/toon-water-shader/
shader_type spatial;
const float SMOOTHSTEP_AA = 0.01;
uniform sampler2D surfaceNoise;
uniform sampler2D distortNoise;
uniform sampler2D DEPTH_TEXTURE : hint_depth_texture, filter_linear_mipmap;
uniform float beer_factor = 0.8;
uniform float foam_distance = 0.01;
uniform float foam_max_distance = 0.4;
uniform float foam_min_distance = 0.04;
uniform vec4 foam_color: source_color = vec4(1.0);
uniform vec2 surface_noise_tiling = vec2(1.0, 4.0);
uniform vec3 surface_noise_scroll = vec3(0.03, 0.03, 0.0);
uniform float surface_noise_cutoff: hint_range(0, 1) = 0.777;
uniform float surface_distortion_amount: hint_range(0, 1) = 0.27;
uniform vec4 _DepthGradientShallow: source_color = vec4(0.325, 0.807, 0.971, 0.725);
uniform vec4 _DepthGradientDeep: source_color = vec4(0.086, 0.407, 1, 0.749);
uniform float _DepthMaxDistance: hint_range(0, 1) = 1.0;
uniform float _DepthFactor = 1.0;
uniform float roughness = 0.25;
uniform float specular = 0.75;
varying vec2 noiseUV;
varying vec2 distortUV;
varying vec3 viewNormal;
vec4 alphaBlend(vec4 top, vec4 bottom)
{
vec3 color = (top.rgb * top.a) + (bottom.rgb * (1.0 - top.a));
float alpha = top.a + bottom.a * (1.0 - top.a);
return vec4(color, alpha);
}
void vertex() {
viewNormal = (MODELVIEW_MATRIX * vec4(NORMAL, 0.0)).xyz;
noiseUV = UV * surface_noise_tiling;
distortUV = UV;
}
void fragment(){
// https://www.youtube.com/watch?v=Jq3he9Lbj7M
float depthVal = texture(DEPTH_TEXTURE, SCREEN_UV).r;
float depth = PROJECTION_MATRIX[3][2] / (depthVal + PROJECTION_MATRIX[2][2]);
depth = depth + VERTEX.z;
depth = exp(-depth * beer_factor);
depth = 1.0 - depth;
// Still unsure how to get properly the NORMAL from the camera
// This was generated by ChatGPT xD
vec4 view_pos = INV_PROJECTION_MATRIX * vec4(SCREEN_UV * 2.0 - 1.0, depthVal, 1.0);
view_pos /= view_pos.w;
vec3 existingNormal = normalize(cross( dFdx(view_pos.xyz), dFdy(view_pos.xyz)));
float normalDot = clamp(dot(existingNormal.xyz, viewNormal), 0.0, 1.0);
float foamDistance = mix(foam_max_distance, foam_min_distance, normalDot);
float foamDepth = clamp(depth / foamDistance, 0.0, 1.0);
float surfaceNoiseCutoff = foamDepth * surface_noise_cutoff;
vec4 distortNoiseSample = texture(distortNoise, distortUV);
vec2 distortAmount = (distortNoiseSample.xy * 2.0 -1.0) * surface_distortion_amount;
vec2 noise_uv = vec2(
(noiseUV.x + TIME * surface_noise_scroll.x) + distortAmount.x ,
(noiseUV.y + TIME * surface_noise_scroll.y + distortAmount.y)
);
float surfaceNoiseSample = texture(surfaceNoise, noise_uv).r;
float surfaceNoiseAmount = smoothstep(surfaceNoiseCutoff - SMOOTHSTEP_AA, surfaceNoiseCutoff + SMOOTHSTEP_AA, surfaceNoiseSample);
float waterDepth = clamp(depth / _DepthMaxDistance, 0.0, 1.0) * _DepthFactor;
vec4 waterColor = mix(_DepthGradientShallow, _DepthGradientDeep, waterDepth);
vec4 surfaceNoiseColor = foam_color;
surfaceNoiseColor.a *= surfaceNoiseAmount;
vec4 color = alphaBlend(surfaceNoiseColor, waterColor);
ALBEDO = color.rgb;
ALPHA = color.a;
ROUGHNESS = roughness;
SPECULAR = specular;
}
@@ -0,0 +1 @@
uid://d0qg1ivc7h7j8
@@ -0,0 +1,40 @@
[gd_resource type="ShaderMaterial" load_steps=6 format=3 uid="uid://c7mw5tryqfggw"]
[ext_resource type="Shader" path="res://addons/proton_scatter/demos/assets/materials/m_water.gdshader" id="1_j8rl3"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_7bjdc"]
noise_type = 2
fractal_type = 3
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_wxuht"]
seamless = true
noise = SubResource("FastNoiseLite_7bjdc")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_dx86n"]
noise_type = 2
domain_warp_enabled = true
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_1j0ob"]
seamless = true
noise = SubResource("FastNoiseLite_dx86n")
[resource]
render_priority = 0
shader = ExtResource("1_j8rl3")
shader_parameter/beer_factor = 4.0
shader_parameter/foam_distance = 0.01
shader_parameter/foam_max_distance = 0.345
shader_parameter/foam_min_distance = 0.05
shader_parameter/foam_color = Color(1, 1, 1, 0.784314)
shader_parameter/surface_noise_tiling = Vector2(1, 4)
shader_parameter/surface_noise_scroll = Vector3(0.03, 0.03, 0)
shader_parameter/surface_noise_cutoff = 0.875
shader_parameter/surface_distortion_amount = 0.65
shader_parameter/_DepthGradientShallow = Color(0.435294, 0.647059, 0.972549, 0.72549)
shader_parameter/_DepthGradientDeep = Color(0.0823529, 0.392157, 0.701961, 0.862745)
shader_parameter/_DepthMaxDistance = 1.0
shader_parameter/_DepthFactor = 1.0
shader_parameter/roughness = 0.001
shader_parameter/specular = 0.5
shader_parameter/surfaceNoise = SubResource("NoiseTexture2D_1j0ob")
shader_parameter/distortNoise = SubResource("NoiseTexture2D_wxuht")
Binary file not shown.
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://d1d1fag0m04yc"
path="res://.godot/imported/brick.glb-d79404ecf88b29143e6e07e77bacb44c.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/brick.glb"
dest_files=["res://.godot/imported/brick.glb-d79404ecf88b29143e6e07e77bacb44c.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
Binary file not shown.
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dbb4culid55v5"
path="res://.godot/imported/bush.glb-28e0128066fe8d913839a6b96204b1c6.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/bush.glb"
dest_files=["res://.godot/imported/bush.glb-28e0128066fe8d913839a6b96204b1c6.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://cmqlv88xp71tw"
path="res://.godot/imported/dead_branch.glb-e4e41ce877f1ef0b2d20a7b89af5de7b.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/dead_branch.glb"
dest_files=["res://.godot/imported/dead_branch.glb-e4e41ce877f1ef0b2d20a7b89af5de7b.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://6gxiul1pw13t"
path="res://.godot/imported/fence_planks.glb-4cee642c3e514323763ee9631fb323e9.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/fence_planks.glb"
dest_files=["res://.godot/imported/fence_planks.glb-4cee642c3e514323763ee9631fb323e9.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
Binary file not shown.
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://d3f4d3m7n8tpr"
path="res://.godot/imported/gobot.glb-36505aa16090f2bc2f34fbe5362f44e8.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/gobot.glb"
dest_files=["res://.godot/imported/gobot.glb-36505aa16090f2bc2f34fbe5362f44e8.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
Binary file not shown.
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://018flajgtx7t"
path="res://.godot/imported/grass.glb-0ef73576363e4c601b9f45b1787e1487.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/grass.glb"
dest_files=["res://.godot/imported/grass.glb-0ef73576363e4c601b9f45b1787e1487.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://dcnm2ijk7hj4j"
path="res://.godot/imported/grass_2.glb-2dc56a32acf64077863c701e8b94ea02.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/grass_2.glb"
dest_files=["res://.godot/imported/grass_2.glb-2dc56a32acf64077863c701e8b94ea02.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bxqkgplyoipsx"
path="res://.godot/imported/large_rock.glb-f7a7a73f49167cee4ed84e7342d1f507.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/large_rock.glb"
dest_files=["res://.godot/imported/large_rock.glb-f7a7a73f49167cee4ed84e7342d1f507.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c38uugpgw7hjm"
path="res://.godot/imported/mushrooms.glb-64c83b02a53711f9983c978d53ab0f12.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/mushrooms.glb"
dest_files=["res://.godot/imported/mushrooms.glb-64c83b02a53711f9983c978d53ab0f12.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://bhums0j31gm5n"
path="res://.godot/imported/pine_tree.glb-662cc3d34707ccadde24f89b98fadf88.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/pine_tree.glb"
dest_files=["res://.godot/imported/pine_tree.glb-662cc3d34707ccadde24f89b98fadf88.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,43 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://b81l25tbebki4"
path="res://.godot/imported/small_rock.glb-9b9690e480edfa6e23f0243045338de9.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/small_rock.glb"
dest_files=["res://.godot/imported/small_rock.glb-9b9690e480edfa6e23f0243045338de9.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={
"materials": {
"@MATERIAL:0": {
"use_external/path": "uid://i0jgjmbbl2m5"
}
}
}
gltf/naming_version=0
gltf/embedded_image_handling=1
Binary file not shown.
@@ -0,0 +1,37 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c3mfolo7c5uvh"
path="res://.godot/imported/tree.glb-86fae6fb2428df7d74097b1a7c75b288.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/models/tree.glb"
dest_files=["res://.godot/imported/tree.glb-86fae6fb2428df7d74097b1a7c75b288.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=0
gltf/embedded_image_handling=1
@@ -0,0 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://bodkixm8bubes"]
[ext_resource type="PackedScene" uid="uid://c38uugpgw7hjm" path="res://addons/proton_scatter/demos/assets/models/mushrooms.glb" id="1_spmys"]
[ext_resource type="Material" uid="uid://ds2hjlo70hglg" path="res://addons/proton_scatter/demos/assets/materials/m_mushroom.tres" id="2_y6jw1"]
[node name="mushrooms" instance=ExtResource("1_spmys")]
[node name="Sphere001" parent="." index="0"]
surface_material_override/0 = ExtResource("2_y6jw1")
@@ -0,0 +1,31 @@
[gd_scene load_steps=6 format=3 uid="uid://caqxfqurbp3ku"]
[ext_resource type="PackedScene" uid="uid://bhums0j31gm5n" path="res://addons/proton_scatter/demos/assets/models/pine_tree.glb" id="1_hw1e5"]
[ext_resource type="Material" uid="uid://d01d0h08lqqn6" path="res://addons/proton_scatter/demos/assets/materials/m_trunk.tres" id="2_cgtpc"]
[ext_resource type="Material" uid="uid://d28lq2qtgdyie" path="res://addons/proton_scatter/demos/assets/materials/m_pine_leaves.tres" id="2_xnytt"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2xqpo"]
radius = 0.0750397
height = 1.3553
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_uhp33"]
radius = 0.101768
height = 0.489166
[node name="pine_tree" instance=ExtResource("1_hw1e5")]
[node name="Trunk" parent="." index="0"]
surface_material_override/0 = ExtResource("2_cgtpc")
[node name="Leaves" parent="." index="1"]
surface_material_override/0 = ExtResource("2_xnytt")
[node name="StaticBody3D" type="StaticBody3D" parent="." index="2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.661681, 0)
shape = SubResource("CapsuleShape3D_2xqpo")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D" index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.015189, 0)
shape = SubResource("CapsuleShape3D_uhp33")
@@ -0,0 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://bltmr2xgs8nq1"]
[ext_resource type="PackedScene" uid="uid://b81l25tbebki4" path="res://addons/proton_scatter/demos/assets/models/small_rock.glb" id="1_e2qk6"]
[ext_resource type="Material" uid="uid://i0jgjmbbl2m5" path="res://addons/proton_scatter/demos/assets/materials/m_rock.tres" id="2_clsfy"]
[node name="small_rock" instance=ExtResource("1_e2qk6")]
[node name="SmallRock" parent="." index="0"]
surface_material_override/0 = ExtResource("2_clsfy")
Binary file not shown.
@@ -0,0 +1,53 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c45jyo5mdo5pj"
path="res://.godot/imported/source.blend-6553bbdea542ba64489fdff7990920e8.scn"
[deps]
source_file="res://addons/proton_scatter/demos/assets/source.blend"
dest_files=["res://.godot/imported/source.blend-6553bbdea542ba64489fdff7990920e8.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://6xc5b38d25gf"
path.s3tc="res://.godot/imported/grid.png-491581bd748087c94a4b25c27dcb904c.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/grid.png"
dest_files=["res://.godot/imported/grid.png-491581bd748087c94a4b25c27dcb904c.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bjdgw8o5tr1a3"
path.s3tc="res://.godot/imported/mushroom.png-36c0c492b0f6a79e2aa68780d9a86c03.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/mushroom.png"
dest_files=["res://.godot/imported/mushroom.png-36c0c492b0f6a79e2aa68780d9a86c03.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bgc5rl13dopuj"
path.s3tc="res://.godot/imported/sky_2.png-3246d9ba45b69131effdf515c69428b4.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/sky_2.png"
dest_files=["res://.godot/imported/sky_2.png-3246d9ba45b69131effdf515c69428b4.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 424 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b2a6ylo2enm4g"
path.s3tc="res://.godot/imported/t_bush.png-644d0e155c07db6d89949c275e110f2a.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_bush.png"
dest_files=["res://.godot/imported/t_bush.png-644d0e155c07db6d89949c275e110f2a.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c08mm3p2ehvr6"
path="res://.godot/imported/t_grass.png-2144df75763a0a189eba3035fc0b94aa.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_grass.png"
dest_files=["res://.godot/imported/t_grass.png-2144df75763a0a189eba3035fc0b94aa.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d23p13yi7asw0"
path.s3tc="res://.godot/imported/t_grass_2.png-e3f17c2ee365553e0f39f2b5865e73de.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_grass_2.png"
dest_files=["res://.godot/imported/t_grass_2.png-e3f17c2ee365553e0f39f2b5865e73de.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drmmcy11y7mho"
path.s3tc="res://.godot/imported/t_leaves_1.png-1d55b008d9a51575d696e027028d7b90.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_leaves_1.png"
dest_files=["res://.godot/imported/t_leaves_1.png-1d55b008d9a51575d696e027028d7b90.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctpb1w0cr8tqc"
path.s3tc="res://.godot/imported/t_pine_branch.png-912fabf99bebd2eee6af2f445a54650e.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_pine_branch.png"
dest_files=["res://.godot/imported/t_pine_branch.png-912fabf99bebd2eee6af2f445a54650e.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dqa2jfs1jy0hq"
path.s3tc="res://.godot/imported/t_rock.jpg-ae52c049ee9fab72f1ddf136050fd9ee.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_rock.jpg"
dest_files=["res://.godot/imported/t_rock.jpg-ae52c049ee9fab72f1ddf136050fd9ee.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drdh36j6mu3ah"
path.s3tc="res://.godot/imported/t_rock_dirty.png-da395e5af8ffe9e04730e7e21eb6a86a.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_rock_dirty.png"
dest_files=["res://.godot/imported/t_rock_dirty.png-da395e5af8ffe9e04730e7e21eb6a86a.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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
Binary file not shown.

After

Width:  |  Height:  |  Size: 744 KiB

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://sudhfhsu333v"
path="res://.godot/imported/t_sand.png-1294bc4057daa02a434527a7e90f8d41.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_sand.png"
dest_files=["res://.godot/imported/t_sand.png-1294bc4057daa02a434527a7e90f8d41.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://uax7x76f73fx"
path="res://.godot/imported/t_tree_bark.png-7732e2f9079e9ae58b8ccd57e5fc6c8a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_tree_bark.png"
dest_files=["res://.godot/imported/t_tree_bark.png-7732e2f9079e9ae58b8ccd57e5fc6c8a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

@@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c7pop5xgpxtiv"
path.s3tc="res://.godot/imported/t_tree_bark_rough.png-e025145ebb3b5e0dd14e26284dc6cf59.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://addons/proton_scatter/demos/assets/textures/t_tree_bark_rough.png"
dest_files=["res://.godot/imported/t_tree_bark_rough.png-e025145ebb3b5e0dd14e26284dc6cf59.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
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