Compare commits
6 Commits
ui_fixes
...
96f3a5cfb5
| Author | SHA1 | Date | |
|---|---|---|---|
| 96f3a5cfb5 | |||
|
|
5642ba946f | ||
|
|
7be892b916 | ||
|
|
c47fff7890 | ||
|
|
f5ab6bcc54 | ||
|
|
acb2dd2ed9 |
@@ -1,8 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://cmuvmmp7xam4o"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d27xbipk650kf" path="res://core/daynight/environment_manager.gd" id="1_wecen"]
|
||||
[ext_resource type="Script" uid="uid://butda6k2tli3o" path="res://core/environment_config.gd" id="2_h6hjk"]
|
||||
[ext_resource type="Shader" uid="uid://7vwkfffa5vao" path="res://core/daynight/clouds_shadow.gdshader" id="2_i3hjl"]
|
||||
[ext_resource type="Resource" uid="uid://cq627dtyhaew6" path="res://tgcc/map/main.tres" id="2_kavln"]
|
||||
[ext_resource type="Shader" uid="uid://cq4vlcj8cuvge" path="res://core/daynight/fog.gdshader" id="2_r4tfj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyxvcf2l8ba5x" path="res://core/daynight/god_ray.tscn" id="5_411rw"]
|
||||
[ext_resource type="Shader" uid="uid://bb1jjwe31fl7o" path="res://core/daynight/wind.gdshader" id="5_djqkg"]
|
||||
@@ -12,91 +11,6 @@
|
||||
[ext_resource type="Texture2D" uid="uid://b2xcpt2y8v32x" path="res://core/daynight/FogNoise.tres" id="11_tuauy"]
|
||||
[ext_resource type="FastNoiseLite" uid="uid://c0mtwrkptjcuw" path="res://core/daynight/environment_shadows_noise_clouds.tres" id="11_yn8v8"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ruhh7"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_i3hjl")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r4tfj"]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.0
|
||||
alpha_antialiasing_mode = 0
|
||||
disable_ambient_light = true
|
||||
albedo_color = Color(0.44410604, 0.32877246, 0.26597014, 0.7541567)
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b5atu"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_r4tfj")
|
||||
shader_parameter/use_red_as_alpha = true
|
||||
shader_parameter/fog_color = Color(0.8, 0.85, 0.9, 0.5)
|
||||
shader_parameter/fog_density = 0.25
|
||||
shader_parameter/scroll_speed = Vector2(0.05, 0.01)
|
||||
shader_parameter/texture_scale = Vector2(1, 1)
|
||||
shader_parameter/edge_softness_y = 0.2
|
||||
shader_parameter/edge_softness_x = 0.1
|
||||
shader_parameter/night_intensity = 0.7953524793650795
|
||||
shader_parameter/sun_color = Color(0.2841828, 0.2023238, 0.27953526, 1)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_r4tfj"]
|
||||
script = ExtResource("2_h6hjk")
|
||||
morning_color = Color(0.93333334, 0.78039217, 0.6039216, 1)
|
||||
afternoon_color = Color(0.9490196, 0.62352943, 0.38039216, 1)
|
||||
night_color = Color(0.18431373, 0.18431373, 0.4862745, 1)
|
||||
sun_rotation_morning = Vector3(-50, -90, 0)
|
||||
sun_rotation_afternoon = Vector3(-120, -90, 0)
|
||||
sun_rotation_night = Vector3(-130, -90, 0)
|
||||
night_light_energy = 1.0
|
||||
exposure_morning = 0.8
|
||||
exposure_afternoon = 0.7
|
||||
exposure_night = 0.7
|
||||
sky_top_morning = Color(0.11764706, 0.35686275, 0.5411765, 1)
|
||||
sky_top_afternoon = Color(0.7019608, 0.4509804, 0.2, 1)
|
||||
sky_top_night = Color(0.050980393, 0.050980393, 0.14901961, 1)
|
||||
sky_horizon_morning = Color(0.4627451, 0.6745098, 0.8627451, 1)
|
||||
sky_horizon_afternoon = Color(0.93333334, 0.6, 0.8039216, 1)
|
||||
sky_horizon_night = Color(0.14901961, 0.101960786, 0.2509804, 1)
|
||||
grad_top_morning = Color(0.7921569, 0.8784314, 0.95686275, 1)
|
||||
grad_top_afternoon = Color(0.8627451, 0.24313726, 0.5411765, 1)
|
||||
grad_top_night = Color(0.16470589, 0.16470589, 0.26666668, 1)
|
||||
grad_bot_morning = Color(0.05882353, 0.078431375, 0.21568628, 1)
|
||||
grad_bot_afternoon = Color(0.2509804, 0.019607844, 0.043137256, 1)
|
||||
grad_intensity_morning = 0.05
|
||||
grad_intensity_afternoon = 0.1
|
||||
grad_intensity_night = 0.5
|
||||
fog_color_morning = Color(0.7490196, 0.8509804, 0.9490196, 1)
|
||||
fog_color_afternoon = Color(0.9823975, 0.8034449, 0.8778439, 1)
|
||||
fog_color_night = Color(0.38409987, 0.28720453, 0.5907528, 1)
|
||||
fog_density_morning = 0.01
|
||||
fog_density_afternoon = 0.02
|
||||
glow_morning = 0.4
|
||||
glow_night = 0.8
|
||||
enable_fog = true
|
||||
material_fog = SubResource("ShaderMaterial_b5atu")
|
||||
material_drops = SubResource("StandardMaterial3D_r4tfj")
|
||||
material_clouds = SubResource("ShaderMaterial_ruhh7")
|
||||
lightning_color = Color(1, 0.9843137, 0.4627451, 1)
|
||||
lightning_min = 2
|
||||
lightning_max = 4
|
||||
lightning_scale_min = 2.0
|
||||
lightning_scale_max = 5.0
|
||||
godray_max_rain = 30
|
||||
godray_spawn_radius = 100.0
|
||||
godray_spawn_offset = Vector3(20, 80, 20)
|
||||
godray_rotation_degrees = Vector3(50, 30, 0)
|
||||
godray_scale = Vector3(2, 25, 50)
|
||||
snow_amount = 2000.0
|
||||
wind_amount = 50
|
||||
cloud_speed = 0.01
|
||||
fireflies_amount = 550
|
||||
fireflies_spawn_ray = 60.0
|
||||
water_color_morning = Color(0.33333334, 0.654902, 0.5294118, 1)
|
||||
water_color_afternoon = Color(0.5803922, 0.5137255, 0.2901961, 1)
|
||||
water_color_night = Color(0.48235294, 0.45490196, 0.69411767, 1)
|
||||
metadata/_custom_type_script = "uid://butda6k2tli3o"
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_i3hjl"]
|
||||
offsets = PackedFloat32Array(0, 0.49019608, 1)
|
||||
colors = PackedColorArray(0, 0, 0, 0, 1, 0.8980392, 0.3764706, 1, 1, 1, 1, 0)
|
||||
@@ -273,7 +187,7 @@ shader_parameter/sun_color = Color(1, 1, 1, 1)
|
||||
|
||||
[node name="EnvironmentManager" type="Node3D" unique_id=1611939731 node_paths=PackedStringArray("particles_wind", "particles_snow", "particles_fireflies", "particles_rain", "environment_dust", "blur", "environment_shadows", "fog")]
|
||||
script = ExtResource("1_wecen")
|
||||
environment_config = SubResource("Resource_r4tfj")
|
||||
environment_config = ExtResource("2_kavln")
|
||||
particles_wind = NodePath("Particles_Wind")
|
||||
particles_snow = NodePath("Particles_Snow")
|
||||
particles_fireflies = NodePath("Particles_Fireflies")
|
||||
|
||||
@@ -26,6 +26,9 @@ const DYNAMIC_ENVIRONMENT_UPDATES_PER_FRAME: int = 32 #how many update of the en
|
||||
@export var thunder_sounds: Array[AudioStream]
|
||||
@export var rain_sounds: Array[AudioStream]
|
||||
|
||||
@export_group("Clouds")
|
||||
@export var cloud_material: ShaderMaterial
|
||||
|
||||
#environment nodes
|
||||
@onready var sun: DirectionalLight3D = $"../DirectionalLight3D"
|
||||
@onready var environment: WorldEnvironment = $"../WorldEnvironment"
|
||||
@@ -248,3 +251,39 @@ func select_day_time(normalized_time: float) -> void:
|
||||
|
||||
if weather_controller:
|
||||
weather_controller.day_time = day_time
|
||||
_update_clouds_lighting(normalized_time)
|
||||
|
||||
func _update_clouds_lighting(normalized_time: float) -> void:
|
||||
if not cloud_material:
|
||||
return
|
||||
|
||||
if normalized_time < environment_config.sunrise:
|
||||
# NOTTE / PRE-ALBA (Colori scuri, nessun rim light solare)
|
||||
cloud_material.set_shader_parameter("cloud_color", Color("1a1c2e"))
|
||||
cloud_material.set_shader_parameter("shadow_color", Color("0d0e17"))
|
||||
cloud_material.set_shader_parameter("rim_color", Color("000000"))
|
||||
|
||||
elif normalized_time < environment_config.day:
|
||||
# MATTINA / ALBA (Colori che iniziano a scaldarsi)
|
||||
cloud_material.set_shader_parameter("cloud_color", Color("fdf3e7"))
|
||||
cloud_material.set_shader_parameter("shadow_color", Color("5c537a"))
|
||||
cloud_material.set_shader_parameter("rim_color", Color("ff9e64"))
|
||||
|
||||
elif normalized_time < environment_config.sunset:
|
||||
# PIENO GIORNO (Nuvole bianche brillanti, ombre azzurrate anime)
|
||||
cloud_material.set_shader_parameter("cloud_color", Color("ffffff"))
|
||||
cloud_material.set_shader_parameter("shadow_color", Color("687fa1"))
|
||||
cloud_material.set_shader_parameter("rim_color", Color("fff3cc"))
|
||||
|
||||
elif normalized_time < environment_config.night:
|
||||
# TRAMONTO (Bordo dorato/arancione acceso e ombre violacee)
|
||||
cloud_material.set_shader_parameter("cloud_color", Color("fdf3e7"))
|
||||
cloud_material.set_shader_parameter("shadow_color", Color("5c537a"))
|
||||
cloud_material.set_shader_parameter("rim_color", Color("ff9e64"))
|
||||
|
||||
else:
|
||||
# NOTTE FONDA (Ritorno al buio)
|
||||
cloud_material.set_shader_parameter("cloud_color", Color("1a1c2e"))
|
||||
cloud_material.set_shader_parameter("shadow_color", Color("0d0e17"))
|
||||
cloud_material.set_shader_parameter("rim_color", Color("000000"))
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_xa3jw"]
|
||||
noise_type = 3
|
||||
seed = 1
|
||||
frequency = 0.0158
|
||||
frequency = 0.0264
|
||||
fractal_octaves = 10
|
||||
fractal_lacunarity = 2.13
|
||||
metadata/_preview_in_3d_space_ = true
|
||||
|
||||
[resource]
|
||||
|
||||
@@ -33,6 +33,7 @@ StatsManager="*uid://bc3w8330cgc53"
|
||||
|
||||
window/size/viewport_width=1920
|
||||
window/size/viewport_height=1080
|
||||
window/size/mode=3
|
||||
window/stretch/mode="canvas_items"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
|
||||
315
tgcc/chunk/animal/chunk_animal_cross_3_1.tscn
Normal file
315
tgcc/chunk/animal/chunk_animal_cross_3_1.tscn
Normal file
File diff suppressed because one or more lines are too long
318
tgcc/chunk/animal/chunk_animal_cross_3_2.tscn
Normal file
318
tgcc/chunk/animal/chunk_animal_cross_3_2.tscn
Normal file
File diff suppressed because one or more lines are too long
191
tgcc/chunk/animal/chunk_animal_empty.tscn
Normal file
191
tgcc/chunk/animal/chunk_animal_empty.tscn
Normal file
File diff suppressed because one or more lines are too long
272
tgcc/chunk/animal/chunk_animal_end_1.tscn
Normal file
272
tgcc/chunk/animal/chunk_animal_end_1.tscn
Normal file
File diff suppressed because one or more lines are too long
315
tgcc/chunk/animal/chunk_animal_straight_1.tscn
Normal file
315
tgcc/chunk/animal/chunk_animal_straight_1.tscn
Normal file
File diff suppressed because one or more lines are too long
BIN
tgcc/chunk/animal/mesh/chunk_animal_cross_3_1.fbx
Normal file
BIN
tgcc/chunk/animal/mesh/chunk_animal_cross_3_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/animal/mesh/chunk_animal_cross_3_1.fbx.import
Normal file
44
tgcc/chunk/animal/mesh/chunk_animal_cross_3_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b1b84hr1574ot"
|
||||
path="res://.godot/imported/chunk_animal_cross_3_1.fbx-9ba7d23ea67859d43e9c9bc4c8950603.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/animal/mesh/chunk_animal_cross_3_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_animal_cross_3_1.fbx-9ba7d23ea67859d43e9c9bc4c8950603.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
BIN
tgcc/chunk/animal/mesh/chunk_animal_cross_3_2.fbx
Normal file
BIN
tgcc/chunk/animal/mesh/chunk_animal_cross_3_2.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/animal/mesh/chunk_animal_cross_3_2.fbx.import
Normal file
44
tgcc/chunk/animal/mesh/chunk_animal_cross_3_2.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://ct81x3tc7yvd1"
|
||||
path="res://.godot/imported/chunk_animal_cross_3_2.fbx-c10cf9224748248ca9065a238e5d6161.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/animal/mesh/chunk_animal_cross_3_2.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_animal_cross_3_2.fbx-c10cf9224748248ca9065a238e5d6161.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
BIN
tgcc/chunk/animal/mesh/chunk_animal_empty.fbx
Normal file
BIN
tgcc/chunk/animal/mesh/chunk_animal_empty.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/animal/mesh/chunk_animal_empty.fbx.import
Normal file
44
tgcc/chunk/animal/mesh/chunk_animal_empty.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b3l382myb5h2a"
|
||||
path="res://.godot/imported/chunk_animal_empty.fbx-5f8fd80388442a07c98b7a8f575ecbcc.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/animal/mesh/chunk_animal_empty.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_animal_empty.fbx-5f8fd80388442a07c98b7a8f575ecbcc.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
BIN
tgcc/chunk/animal/mesh/chunk_animal_end_1.fbx
Normal file
BIN
tgcc/chunk/animal/mesh/chunk_animal_end_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/animal/mesh/chunk_animal_end_1.fbx.import
Normal file
44
tgcc/chunk/animal/mesh/chunk_animal_end_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b7vsobxts27bd"
|
||||
path="res://.godot/imported/chunk_animal_end_1.fbx-cbafcedc90251b52c1a348406f2968b4.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/animal/mesh/chunk_animal_end_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_animal_end_1.fbx-cbafcedc90251b52c1a348406f2968b4.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
BIN
tgcc/chunk/animal/mesh/chunk_animal_straight_1.fbx
Normal file
BIN
tgcc/chunk/animal/mesh/chunk_animal_straight_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/animal/mesh/chunk_animal_straight_1.fbx.import
Normal file
44
tgcc/chunk/animal/mesh/chunk_animal_straight_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bi40xq1kqfyuj"
|
||||
path="res://.godot/imported/chunk_animal_straight_1.fbx-27f86be94137614690612635ef71fc61.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/animal/mesh/chunk_animal_straight_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_animal_straight_1.fbx-27f86be94137614690612635ef71fc61.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
101
tgcc/chunk/countryside/scene/rice/chunk_country_empty_04.tscn
Normal file
101
tgcc/chunk/countryside/scene/rice/chunk_country_empty_04.tscn
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -58,19 +58,19 @@ have_lamppost = true
|
||||
connection_left = [NodePath("PaloLuce/sx")]
|
||||
connection_right = [NodePath("PaloLuce/dx")]
|
||||
|
||||
[node name="Argini_001" parent="." index="0" unique_id=1474838784]
|
||||
[node name="Argini_001" parent="." index="0" unique_id=439223507]
|
||||
surface_material_override/0 = ExtResource("3_082gl")
|
||||
|
||||
[node name="Chunk_005" parent="." index="1" unique_id=844192036]
|
||||
[node name="Chunk_005" parent="." index="1" unique_id=1955568282]
|
||||
surface_material_override/0 = ExtResource("3_082gl")
|
||||
|
||||
[node name="Chunk_036" parent="." index="2" unique_id=1584066508 groups=["weather_node"]]
|
||||
[node name="Chunk_036" parent="." index="2" unique_id=1808067169 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("4_a7l8v")
|
||||
|
||||
[node name="Chunk_037" parent="." index="3" unique_id=1100757609 groups=["weather_node"]]
|
||||
[node name="Chunk_037" parent="." index="3" unique_id=1338393481 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("4_a7l8v")
|
||||
|
||||
[node name="Water_003" parent="." index="4" unique_id=1047599796]
|
||||
[node name="Water_003" parent="." index="4" unique_id=1175879696]
|
||||
surface_material_override/0 = ExtResource("5_c18pu")
|
||||
|
||||
[node name="grass" type="Node3D" parent="." index="5" unique_id=924191951 groups=["weather_vegetables_node", "wind_node"]]
|
||||
@@ -117,16 +117,16 @@ transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 5.70
|
||||
script = ExtResource("11_087d3")
|
||||
available_props = Array[PackedScene]([ExtResource("12_scfr8"), ExtResource("13_mflo2"), ExtResource("14_12dst"), ExtResource("15_3yofm")])
|
||||
|
||||
[node name="tea_medium" parent="." index="9" unique_id=774250378 groups=["weather_node"] instance=ExtResource("16_qoeuy")]
|
||||
[node name="tea_medium" parent="." index="9" unique_id=774250378 instance=ExtResource("16_qoeuy")]
|
||||
transform = Transform3D(0.6711149, 0, 0, 0, 1, 0, 0, 0, 1, -5.7421913, 0, 5.875937)
|
||||
|
||||
[node name="tea_small" parent="." index="10" unique_id=738556947 groups=["weather_node"] instance=ExtResource("17_nbfhp")]
|
||||
[node name="tea_small" parent="." index="10" unique_id=738556947 instance=ExtResource("17_nbfhp")]
|
||||
transform = Transform3D(-3.2106954e-08, 0, -0.782855, 0, 1, 0, 0.7345215, 0, -3.4219678e-08, 1.8474164, 0, -5.8836246)
|
||||
|
||||
[node name="tea_big" parent="." index="11" unique_id=1080521676 groups=["weather_node"] instance=ExtResource("18_ipyhu")]
|
||||
[node name="tea_big" parent="." index="11" unique_id=1080521676 instance=ExtResource("18_ipyhu")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -0.91950864, 0, 1, 0, 1, 0, -4.0192997e-08, 5.9148865, 0, 0.1678947)
|
||||
|
||||
[node name="tea_medium2" parent="." index="12" unique_id=1970222177 groups=["weather_node"] instance=ExtResource("16_qoeuy")]
|
||||
[node name="tea_medium2" parent="." index="12" unique_id=1970222177 instance=ExtResource("16_qoeuy")]
|
||||
transform = Transform3D(1.1652113, 0, 0, 0, 1, 0, 0, 0, 0.85860604, -4.215868, 0, -5.8837156)
|
||||
|
||||
[node name="sign" type="Marker3D" parent="." index="13" unique_id=1955169244]
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dujt3wgv8m4h3" path="res://tgcc/chunk/countryside/mesh/chunk_country_tea_empty.fbx" id="1_u5mxb"]
|
||||
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_h7374"]
|
||||
[ext_resource type="Material" uid="uid://cnu38m5dsy4uw" path="res://tgcc/chunk/material/terrain.tres" id="2_o4jpf"]
|
||||
[ext_resource type="Shader" uid="uid://8l8glwvvs7fb" path="res://core/daynight/grass_leaves.gdshader" id="3_d4edy"]
|
||||
[ext_resource type="Material" uid="uid://c2x7xxweexmj" path="res://tgcc/chunk/material/field.tres" id="3_h7374"]
|
||||
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="4_aco6i"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm0roy74xo3ce" path="res://tgcc/chunk/prop/flower/bush_alpha.png" id="4_h7374"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkuv31yvqmqr2" path="res://tgcc/chunk/prop/flower/bush_colornoise.tres" id="5_aco6i"]
|
||||
[ext_resource type="Material" uid="uid://fnjxocmx16b7" path="res://tgcc/chunk/prop/grass/grass_chunk.tres" id="6_4u8k4"]
|
||||
[ext_resource type="Material" uid="uid://d3pui0oy51fcg" path="res://tgcc/chunk/prop/tea/Tea.tres" id="6_d4edy"]
|
||||
[ext_resource type="Material" uid="uid://bjrb33qwp1p43" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds.tres" id="8_7lsuf"]
|
||||
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="9_rju47"]
|
||||
[ext_resource type="PackedScene" uid="uid://cuh0xw6ff6bku" path="res://tgcc/chunk/prop/flower/flower.tscn" id="12_aco6i"]
|
||||
@@ -16,33 +14,6 @@
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_1ivca"]
|
||||
size = Vector2(0.5, 0.5)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lwafb"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("3_d4edy")
|
||||
shader_parameter/billboard_enabled = true
|
||||
shader_parameter/wind_enabled = true
|
||||
shader_parameter/base_color = Color(0.35581627, 0.61734307, 0.29309765, 1)
|
||||
shader_parameter/alpha_texture = ExtResource("4_h7374")
|
||||
shader_parameter/leaves_scale = 0.31
|
||||
shader_parameter/rotation_degrees = 180.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 1.0
|
||||
shader_parameter/color_variance_noise = ExtResource("5_aco6i")
|
||||
shader_parameter/variance_scale = 0.3
|
||||
shader_parameter/variance_color = Color(0.3019608, 0.5019608, 0.2, 1)
|
||||
shader_parameter/variance_intensity = 0.400000019
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 2.0
|
||||
shader_parameter/snow_coverage = 0.85
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.6000000285
|
||||
shader_parameter/highlight_intensity = 0.0
|
||||
shader_parameter/light_steps = 8.50000035625
|
||||
shader_parameter/random_mix = 0.0150000007125
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/wetness_darkening = 0.25
|
||||
|
||||
[sub_resource type="MultiMesh" id="MultiMesh_h7374"]
|
||||
transform_format = 1
|
||||
instance_count = 50000
|
||||
@@ -73,17 +44,17 @@ buffer = PackedFloat32Array(-1.134027e-07, -0.9848538, 0.17906433, 9.567814, -1.
|
||||
[node name="chunk_country_tea_empty" unique_id=578295477 instance=ExtResource("1_u5mxb")]
|
||||
script = ExtResource("2_h7374")
|
||||
|
||||
[node name="Tea_001" parent="." index="0" unique_id=475850181]
|
||||
[node name="Tea_001" parent="." index="0" unique_id=552394742]
|
||||
visible = false
|
||||
cast_shadow = 0
|
||||
|
||||
[node name="Terrain_002" parent="." index="1" unique_id=149659069 groups=["weather_node"]]
|
||||
[node name="Terrain_002" parent="." index="1" unique_id=1215896429 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("2_o4jpf")
|
||||
|
||||
[node name="field" parent="." index="2" unique_id=1674538997]
|
||||
[node name="field" parent="." index="2" unique_id=1716644832]
|
||||
surface_material_override/0 = ExtResource("3_h7374")
|
||||
|
||||
[node name="grass_001" parent="." index="3" unique_id=1653206836]
|
||||
[node name="grass_001" parent="." index="3" unique_id=572641767]
|
||||
surface_material_override/0 = ExtResource("4_aco6i")
|
||||
|
||||
[node name="Tea2" type="Node3D" parent="." index="4" unique_id=515491080 groups=["weather_node"]]
|
||||
@@ -95,7 +66,7 @@ mesh = SubResource("PlaneMesh_1ivca")
|
||||
|
||||
[node name="bush" type="MultiMeshInstance3D" parent="Tea2" index="1" unique_id=1391504191]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36843967, 0)
|
||||
material_override = SubResource("ShaderMaterial_lwafb")
|
||||
material_override = ExtResource("6_d4edy")
|
||||
cast_shadow = 0
|
||||
multimesh = SubResource("MultiMesh_h7374")
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
tgcc/chunk/material/decal/Fuji.png
Normal file
BIN
tgcc/chunk/material/decal/Fuji.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
41
tgcc/chunk/material/decal/Fuji.png.import
Normal file
41
tgcc/chunk/material/decal/Fuji.png.import
Normal file
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ct606pxejnynh"
|
||||
path.s3tc="res://.godot/imported/Fuji.png-b1e50176030f2e1f3fa87c0f275e476b.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/material/decal/Fuji.png"
|
||||
dest_files=["res://.godot/imported/Fuji.png-b1e50176030f2e1f3fa87c0f275e476b.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
BIN
tgcc/chunk/material/decal/Fuji_1.png
Normal file
BIN
tgcc/chunk/material/decal/Fuji_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
41
tgcc/chunk/material/decal/Fuji_1.png.import
Normal file
41
tgcc/chunk/material/decal/Fuji_1.png.import
Normal file
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c36vr0vdnnxq5"
|
||||
path.s3tc="res://.godot/imported/Fuji_1.png-1ff892c6295733359de6eb7f81cf21d3.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/material/decal/Fuji_1.png"
|
||||
dest_files=["res://.godot/imported/Fuji_1.png-1ff892c6295733359de6eb7f81cf21d3.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
BIN
tgcc/chunk/material/decal/Fuji_2.png
Normal file
BIN
tgcc/chunk/material/decal/Fuji_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
41
tgcc/chunk/material/decal/Fuji_2.png.import
Normal file
41
tgcc/chunk/material/decal/Fuji_2.png.import
Normal file
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dkywrxkj8bn22"
|
||||
path.s3tc="res://.godot/imported/Fuji_2.png-bef2a174b281d204efa5e4db009605ba.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/material/decal/Fuji_2.png"
|
||||
dest_files=["res://.godot/imported/Fuji_2.png-bef2a174b281d204efa5e4db009605ba.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
BIN
tgcc/chunk/material/decal/store_capsule_logo_def.png
Normal file
BIN
tgcc/chunk/material/decal/store_capsule_logo_def.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
40
tgcc/chunk/material/decal/store_capsule_logo_def.png.import
Normal file
40
tgcc/chunk/material/decal/store_capsule_logo_def.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ibasu8f2j88u"
|
||||
path="res://.godot/imported/store_capsule_logo_def.png-d67be646b0b27f49f30678b60db59997.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/material/decal/store_capsule_logo_def.png"
|
||||
dest_files=["res://.godot/imported/store_capsule_logo_def.png-d67be646b0b27f49f30678b60db59997.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
148
tgcc/chunk/material/fuji.gdshader
Normal file
148
tgcc/chunk/material/fuji.gdshader
Normal file
@@ -0,0 +1,148 @@
|
||||
shader_type spatial;
|
||||
|
||||
render_mode diffuse_toon, specular_disabled, ambient_light_disabled;
|
||||
|
||||
group_uniforms Albedo_Settings;
|
||||
uniform vec4 albedo_color : source_color = vec4(1.0);
|
||||
uniform sampler2D albedo_texture : source_color, filter_nearest;
|
||||
uniform bool use_texture = true;
|
||||
uniform vec2 uv_scale = vec2(1.0, 1.0);
|
||||
uniform float palette_shift_y : hint_range(0.0, 1.0) = 0.0;
|
||||
|
||||
group_uniforms Height_Gradient;
|
||||
global uniform vec4 global_gradient_color_top;
|
||||
global uniform vec4 global_gradient_color_bot;
|
||||
global uniform float global_gradient_intensity;
|
||||
uniform float gradient_start_y = 0.0;
|
||||
uniform float gradient_end_y = 10.0;
|
||||
|
||||
group_uniforms Top_Down_Local_Gradient;
|
||||
uniform bool use_local_gradient = true;
|
||||
uniform vec4 local_gradient_color_top : source_color = vec4(1.0, 1.0, 1.0, 1.0);
|
||||
uniform vec4 local_gradient_color_bot : source_color = vec4(0.15, 0.15, 0.25, 1.0);
|
||||
uniform float local_gradient_start = -1.0;
|
||||
uniform float local_gradient_end = 1.0;
|
||||
uniform float local_gradient_intensity : hint_range(0.0, 1.0) = 0.5;
|
||||
|
||||
// CONTROLLI DI ROTAZIONE
|
||||
uniform float rotazione_gradiente_x : hint_range(-180.0, 180.0) = 0.0;
|
||||
uniform float rotazione_gradiente_y : hint_range(-180.0, 180.0) = 0.0;
|
||||
uniform float rotazione_gradiente_z : hint_range(-180.0, 180.0) = 0.0;
|
||||
|
||||
// NUOVI CONTROLLI PER IL FRASTAGLIATO (LOOK GHIBLI)
|
||||
uniform float local_gradient_jaggedness : hint_range(0.0, 2.0) = 0.3; // Ampiezza delle onde/pennellate
|
||||
uniform float local_gradient_frequency : hint_range(0.1, 30.0) = 8.0; // Fittezza del frastagliato
|
||||
|
||||
group_uniforms Toon_Lighting;
|
||||
uniform float light_steps : hint_range(1.0, 10.0, 1.0) = 3.0;
|
||||
uniform float step_softness : hint_range(0.01, 1.0) = 0.1;
|
||||
uniform vec4 shadow_color : source_color = vec4(0.4, 0.4, 0.6, 1.0);
|
||||
uniform float shadow_offset : hint_range(-1.0, 1.0) = 0.0;
|
||||
uniform float cast_shadow_strength : hint_range(0.0, 1.0) = 0.6;
|
||||
|
||||
group_uniforms Ghibli_Directional_Glint;
|
||||
uniform bool use_ghibli_glint = true;
|
||||
uniform vec4 glint_color : source_color = vec4(1.0, 0.95, 0.85, 1.0);
|
||||
uniform float glint_intensity : hint_range(0.0, 10.0) = 1.0;
|
||||
uniform float glint_sharpness : hint_range(1.0, 128.0) = 32.0;
|
||||
|
||||
group_uniforms Emission_Settings;
|
||||
uniform vec4 emission_color : source_color = vec4(0.0, 0.0, 0.0, 1.0);
|
||||
uniform float emission_energy : hint_range(0.0, 16.0) = 0.0;
|
||||
|
||||
varying float world_y;
|
||||
varying vec3 local_pos_ruotata; // Passiamo l'intero vettore 3D ruotato al fragment
|
||||
|
||||
void vertex() {
|
||||
world_y = (MODEL_MATRIX * vec4(VERTEX, 1.0)).y;
|
||||
|
||||
vec3 v_rotato = VERTEX;
|
||||
|
||||
float rad_x = radians(rotazione_gradiente_x);
|
||||
float rad_y = radians(rotazione_gradiente_y);
|
||||
float rad_z = radians(rotazione_gradiente_z);
|
||||
|
||||
// Rotazione Asse Y
|
||||
float cy = cos(rad_y), sy = sin(rad_y);
|
||||
float x1 = v_rotato.x * cy + v_rotato.z * sy;
|
||||
float z1 = -v_rotato.x * sy + v_rotato.z * cy;
|
||||
v_rotato.x = x1; v_rotato.z = z1;
|
||||
|
||||
// Rotazione Asse X
|
||||
float cx = cos(rad_x), sx = sin(rad_x);
|
||||
float y2 = v_rotato.y * cx - v_rotato.z * sx;
|
||||
float z2 = v_rotato.y * sx + v_rotato.z * cx;
|
||||
v_rotato.y = y2; v_rotato.z = z2;
|
||||
|
||||
// Rotazione Asse Z
|
||||
float cz = cos(rad_z), sz = sin(rad_z);
|
||||
float x3 = v_rotato.x * cz - v_rotato.y * sz;
|
||||
float y3 = v_rotato.x * sz + v_rotato.y * cz;
|
||||
v_rotato.x = x3; v_rotato.y = y3;
|
||||
|
||||
// Salviamo la posizione 3D trasformata
|
||||
local_pos_ruotata = v_rotato;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec2 final_uv = (UV * uv_scale) + vec2(0.0, palette_shift_y);
|
||||
vec4 tex = texture(albedo_texture, final_uv);
|
||||
|
||||
vec3 base_color = albedo_color.rgb;
|
||||
if (use_texture) base_color *= tex.rgb;
|
||||
|
||||
// 1. Gradiente del Mondo
|
||||
float grad_factor = smoothstep(gradient_start_y, gradient_end_y, world_y);
|
||||
vec3 current_gradient_color = mix(global_gradient_color_bot.rgb, global_gradient_color_top.rgb, grad_factor);
|
||||
base_color = mix(base_color, current_gradient_color, global_gradient_intensity);
|
||||
|
||||
// 2. Gradiente Locale Ruotabile e Frastagliato
|
||||
if (use_local_gradient) {
|
||||
// Generiamo un rumore stratificato stile "pennellata anime" unendo più onde sfasate
|
||||
float freq = local_gradient_frequency;
|
||||
float noise = sin(local_pos_ruotata.x * freq) * cos(local_pos_ruotata.z * freq);
|
||||
// Secondo strato ad alta frequenza per rompere la simmetria matematica delle onde
|
||||
noise += sin(local_pos_ruotata.z * freq * 2.13) * sin(local_pos_ruotata.y * freq * 1.77) * 0.5;
|
||||
|
||||
// Perturbiamo l'altezza locale effettiva usando il rumore calcolato
|
||||
float local_y_frastagliata = local_pos_ruotata.y + (noise * local_gradient_jaggedness);
|
||||
|
||||
// Calcoliamo il fattore di gradiente sulla coordinata alterata
|
||||
float local_grad_factor = smoothstep(local_gradient_start, local_gradient_end, local_y_frastagliata);
|
||||
vec3 local_grad_color = mix(local_gradient_color_bot.rgb, local_gradient_color_top.rgb, local_grad_factor);
|
||||
base_color = mix(base_color, local_grad_color, local_gradient_intensity);
|
||||
}
|
||||
|
||||
ALBEDO = base_color;
|
||||
EMISSION = emission_color.rgb * emission_energy;
|
||||
}
|
||||
|
||||
void light() {
|
||||
float shadow_factor = mix(1.0 - cast_shadow_strength, 1.0, ATTENUATION);
|
||||
float cutoff_mask = smoothstep(0.0, 0.1, ATTENUATION);
|
||||
|
||||
float n_dot_l = dot(NORMAL, LIGHT);
|
||||
|
||||
// dither
|
||||
float dither = fract(sin(dot(FRAGCOORD.xy, vec2(12.9898, 78.233))) * 43758.5453);
|
||||
float intensity = (clamp(n_dot_l, 0.0, 1.0) * shadow_factor) + (dither - 0.5) * 0.02;
|
||||
|
||||
float raw_step = (intensity + shadow_offset) * light_steps;
|
||||
float lower_step = floor(raw_step);
|
||||
float fract_step = fract(raw_step);
|
||||
float soft_lerp = smoothstep(0.5 - step_softness, 0.5 + step_softness, fract_step);
|
||||
float stepped_intensity = (lower_step + soft_lerp) / light_steps;
|
||||
|
||||
// Toon colors
|
||||
vec3 light_color_final = mix(shadow_color.rgb, vec3(1.1), clamp(stepped_intensity, 0.0, 1.0));
|
||||
DIFFUSE_LIGHT += (light_color_final * LIGHT_COLOR) * cutoff_mask;
|
||||
|
||||
if (use_ghibli_glint) {
|
||||
float glint_raw = pow(max(0.0, n_dot_l), glint_sharpness);
|
||||
float glint_mask = smoothstep(0.5 - step_softness*0.5, 0.5 + step_softness*0.5, glint_raw);
|
||||
glint_mask *= smoothstep(0.0, 0.1, n_dot_l);
|
||||
vec3 extra_sun_glint = glint_mask * glint_color.rgb * LIGHT_COLOR * glint_intensity * ATTENUATION;
|
||||
|
||||
DIFFUSE_LIGHT += extra_sun_glint;
|
||||
}
|
||||
}
|
||||
1
tgcc/chunk/material/fuji.gdshader.uid
Normal file
1
tgcc/chunk/material/fuji.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c7f1m5qg0011a
|
||||
35
tgcc/chunk/material/fuji.tres
Normal file
35
tgcc/chunk/material/fuji.tres
Normal file
@@ -0,0 +1,35 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://d0pg1iw58amjm"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://c7f1m5qg0011a" path="res://tgcc/chunk/material/fuji.gdshader" id="1_8wx3n"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_8wx3n")
|
||||
shader_parameter/albedo_color = Color(0.20906344, 0.22397816, 0.17167854, 1)
|
||||
shader_parameter/use_texture = true
|
||||
shader_parameter/uv_scale = Vector2(1, 1)
|
||||
shader_parameter/palette_shift_y = 0.0
|
||||
shader_parameter/gradient_start_y = 0.0
|
||||
shader_parameter/gradient_end_y = 10.0
|
||||
shader_parameter/use_local_gradient = true
|
||||
shader_parameter/local_gradient_color_top = Color(1, 1, 1, 1)
|
||||
shader_parameter/local_gradient_color_bot = Color(0.23813424, 0.23054239, 0.24542066, 1)
|
||||
shader_parameter/local_gradient_start = 0.515
|
||||
shader_parameter/local_gradient_end = 8.095
|
||||
shader_parameter/local_gradient_intensity = 0.50000002375
|
||||
shader_parameter/rotazione_gradiente_x = -86.785995572335
|
||||
shader_parameter/rotazione_gradiente_y = -8.18499183878751
|
||||
shader_parameter/rotazione_gradiente_z = 1.6820086298949946
|
||||
shader_parameter/local_gradient_jaggedness = 2.0
|
||||
shader_parameter/local_gradient_frequency = 0.15000000386512
|
||||
shader_parameter/light_steps = 4.0
|
||||
shader_parameter/step_softness = 0.00999999977648
|
||||
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
|
||||
shader_parameter/shadow_offset = 0.0
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/use_ghibli_glint = true
|
||||
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
|
||||
shader_parameter/glint_intensity = 1.0
|
||||
shader_parameter/glint_sharpness = 32.0
|
||||
shader_parameter/emission_color = Color(0, 0, 0, 1)
|
||||
shader_parameter/emission_energy = 0.0
|
||||
12
tgcc/chunk/material/glowplane.tres
Normal file
12
tgcc/chunk/material/glowplane.tres
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://dljvvppsdbjd1"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://cv4fkugqv82sb" path="res://tgcc/main menu/main_menu_glow.gdshader" id="1_7x0ku"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_7x0ku")
|
||||
shader_parameter/glow_color = Color(1, 0.5, 0.1, 0.5)
|
||||
shader_parameter/glow_intensity = 0.4770000226575
|
||||
shader_parameter/falloff_power = 1.8960000868001199
|
||||
shader_parameter/modalita_rettangolo = true
|
||||
shader_parameter/rettangolo_morbidezza = Vector2(0.2, 0.4)
|
||||
BIN
tgcc/chunk/prop/cloud/23e821ba648f2657637dc7f2b61ffb24.png
Normal file
BIN
tgcc/chunk/prop/cloud/23e821ba648f2657637dc7f2b61ffb24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 221 KiB |
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cr7y2o4khuoa8"
|
||||
path.s3tc="res://.godot/imported/23e821ba648f2657637dc7f2b61ffb24.png-65d40c4ca0d834aa42532e504a92b09d.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/prop/cloud/23e821ba648f2657637dc7f2b61ffb24.png"
|
||||
dest_files=["res://.godot/imported/23e821ba648f2657637dc7f2b61ffb24.png-65d40c4ca0d834aa42532e504a92b09d.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
31
tgcc/chunk/prop/cloud/Cloud.tres
Normal file
31
tgcc/chunk/prop/cloud/Cloud.tres
Normal file
@@ -0,0 +1,31 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://bp2yikej20rke"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://drrww3ypdw1hi" path="res://tgcc/main menu/nuvole.gdshader" id="1_ecbm2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cr7y2o4khuoa8" path="res://tgcc/chunk/prop/cloud/23e821ba648f2657637dc7f2b61ffb24.png" id="2_33h4k"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_ecbm2")
|
||||
shader_parameter/billboard_enabled = false
|
||||
shader_parameter/wind_enabled = false
|
||||
shader_parameter/texture_nuvola = ExtResource("2_33h4k")
|
||||
shader_parameter/nuvola_scale = 1.0
|
||||
shader_parameter/rotation_degrees = 0.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 0.8590000408025
|
||||
shader_parameter/edge_erosion = 0.27600001311
|
||||
shader_parameter/blur_intensity = 0.42400002014
|
||||
shader_parameter/edge_softness = 0.00999999977648
|
||||
shader_parameter/colore_alto_luce = Color(0.31361938, 0.08974708, 0.5880675, 1)
|
||||
shader_parameter/colore_basso_ombra = Color(0.47065485, 0.00018795059, 0.4830022, 1)
|
||||
shader_parameter/limite_inferiore = -0.5
|
||||
shader_parameter/limite_superiore = 0.5
|
||||
shader_parameter/intensita_gradiente = 0.6
|
||||
shader_parameter/frastagliatura_bordo = 0.0
|
||||
shader_parameter/frequenza_frastagliatura = 10.34900048831762
|
||||
shader_parameter/rotazione_gradiente_z = 0.0
|
||||
shader_parameter/volume_bulge = 1.5
|
||||
shader_parameter/micro_bumpiness = 0.25
|
||||
shader_parameter/light_steps = 10.0
|
||||
shader_parameter/shadow_wrap = 0.5990000284525
|
||||
shader_parameter/cast_shadow_strength = 0.5
|
||||
9
tgcc/chunk/prop/cloud/Cloud2.tres
Normal file
9
tgcc/chunk/prop/cloud/Cloud2.tres
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://b5e1058ewo0w3"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cr7y2o4khuoa8" path="res://tgcc/chunk/prop/cloud/23e821ba648f2657637dc7f2b61ffb24.png" id="1_mk0io"]
|
||||
|
||||
[resource]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.5
|
||||
alpha_antialiasing_mode = 0
|
||||
albedo_texture = ExtResource("1_mk0io")
|
||||
BIN
tgcc/chunk/prop/cloud/cloud1.fbx
Normal file
BIN
tgcc/chunk/prop/cloud/cloud1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/prop/cloud/cloud1.fbx.import
Normal file
44
tgcc/chunk/prop/cloud/cloud1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bio6eds43i7rt"
|
||||
path="res://.godot/imported/cloud1.fbx-17a222b854adef5625cf45abfe9e12f7.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/prop/cloud/cloud1.fbx"
|
||||
dest_files=["res://.godot/imported/cloud1.fbx-17a222b854adef5625cf45abfe9e12f7.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=false
|
||||
meshes/generate_lods=false
|
||||
meshes/create_shadow_meshes=false
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=false
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=false
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
41
tgcc/chunk/prop/cloud/cloud3d.gdshader
Normal file
41
tgcc/chunk/prop/cloud/cloud3d.gdshader
Normal file
@@ -0,0 +1,41 @@
|
||||
shader_type spatial;
|
||||
// Corretto: rimosso ambient_sink che mandava in errore il compilatore
|
||||
// Aggiunto shadows_disabled per impedire alla shadowmap del sole di creare artefatti geometrici
|
||||
render_mode diffuse_toon, specular_disabled, shadows_disabled;
|
||||
|
||||
|
||||
uniform vec3 cloud_color : source_color = vec3(0.95, 0.95, 0.98);
|
||||
uniform vec3 shadow_color : source_color = vec3(0.4, 0.45, 0.65);
|
||||
uniform vec3 rim_color : source_color = vec3(1.0, 0.6, 0.4);
|
||||
|
||||
group_uniforms Cel_Shading_Control;
|
||||
uniform float shadow_threshold : hint_range(-1.0, 1.0) = -0.1;
|
||||
uniform float shadow_softness : hint_range(0.001, 1.0) = 0.05;
|
||||
|
||||
group_uniforms Rim_Light_Control;
|
||||
uniform float rim_size : hint_range(0.0, 1.0) = 0.35;
|
||||
uniform float rim_softness : hint_range(0.001, 1.0) = 0.1;
|
||||
|
||||
void fragment() {
|
||||
ALBEDO = cloud_color;
|
||||
}
|
||||
|
||||
void light() {
|
||||
// 1. Calcolo del Cel Shading (Luce vs Ombra)
|
||||
float NdotL = dot(NORMAL, LIGHT);
|
||||
float shadow_mask = smoothstep(shadow_threshold, shadow_threshold + shadow_softness, NdotL);
|
||||
|
||||
vec3 base_lighting = mix(shadow_color, cloud_color, shadow_mask);
|
||||
|
||||
// 2. Calcolo del Rim Light (Il sole che illumina i bordi da dietro)
|
||||
float VdotL = dot(VIEW, LIGHT);
|
||||
float rim_dot = 1.0 - dot(NORMAL, VIEW);
|
||||
|
||||
float rim_mask = smoothstep(1.0 - rim_size, (1.0 - rim_size) + rim_softness, rim_dot);
|
||||
rim_mask *= smoothstep(-0.3, 0.3, -VdotL);
|
||||
|
||||
// 3. Composizione Finale
|
||||
vec3 final_color = mix(base_lighting, rim_color, rim_mask * shadow_mask) * LIGHT_COLOR;
|
||||
|
||||
DIFFUSE_LIGHT += final_color * ATTENUATION;
|
||||
}
|
||||
1
tgcc/chunk/prop/cloud/cloud3d.gdshader.uid
Normal file
1
tgcc/chunk/prop/cloud/cloud3d.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cpgtj8mhjklb8
|
||||
9
tgcc/chunk/prop/cloud/cloud_1.tscn
Normal file
9
tgcc/chunk/prop/cloud/cloud_1.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://hvr66x101a0v"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bio6eds43i7rt" path="res://tgcc/chunk/prop/cloud/cloud1.fbx" id="1_nnqat"]
|
||||
[ext_resource type="Material" uid="uid://wkegx4a21x7u" path="res://tgcc/chunk/prop/fence/fences.tres" id="2_nnqat"]
|
||||
|
||||
[node name="cloud1" unique_id=1837777311 instance=ExtResource("1_nnqat")]
|
||||
|
||||
[node name="defaultMaterial" parent="." index="0" unique_id=1823644408]
|
||||
surface_material_override/0 = ExtResource("2_nnqat")
|
||||
BIN
tgcc/chunk/prop/fuji/Fuji.fbx
Normal file
BIN
tgcc/chunk/prop/fuji/Fuji.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/prop/fuji/Fuji.fbx.import
Normal file
44
tgcc/chunk/prop/fuji/Fuji.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bb4gksxo0p71a"
|
||||
path="res://.godot/imported/Fuji.fbx-38fd0bfbb228aa6ff8bee934e8c949b5.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/prop/fuji/Fuji.fbx"
|
||||
dest_files=["res://.godot/imported/Fuji.fbx-38fd0bfbb228aa6ff8bee934e8c949b5.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
BIN
tgcc/chunk/prop/fuji/Fuji2.fbx
Normal file
BIN
tgcc/chunk/prop/fuji/Fuji2.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/prop/fuji/Fuji2.fbx.import
Normal file
44
tgcc/chunk/prop/fuji/Fuji2.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bnhq61wr4ei7v"
|
||||
path="res://.godot/imported/Fuji2.fbx-e74e9c86679c74329951b17b7c3b7eee.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/prop/fuji/Fuji2.fbx"
|
||||
dest_files=["res://.godot/imported/Fuji2.fbx-e74e9c86679c74329951b17b7c3b7eee.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
9
tgcc/chunk/prop/fuji/fuji.tscn
Normal file
9
tgcc/chunk/prop/fuji/fuji.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://c8fk1kxpkxpm2"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bb4gksxo0p71a" path="res://tgcc/chunk/prop/fuji/Fuji.fbx" id="1_6u4hh"]
|
||||
[ext_resource type="Material" uid="uid://d0pg1iw58amjm" path="res://tgcc/chunk/material/fuji.tres" id="2_pqsp3"]
|
||||
|
||||
[node name="Fuji" unique_id=150126281 instance=ExtResource("1_6u4hh")]
|
||||
|
||||
[node name="Mt Fuji_simplified_3d_mesh" parent="." index="0" unique_id=1389340781]
|
||||
surface_material_override/0 = ExtResource("2_pqsp3")
|
||||
39
tgcc/chunk/prop/fuji/fuji_2.tscn
Normal file
39
tgcc/chunk/prop/fuji/fuji_2.tscn
Normal file
@@ -0,0 +1,39 @@
|
||||
[gd_scene format=3 uid="uid://dre1jaoxug015"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bnhq61wr4ei7v" path="res://tgcc/chunk/prop/fuji/Fuji2.fbx" id="1_04arg"]
|
||||
[ext_resource type="Shader" uid="uid://c7f1m5qg0011a" path="res://tgcc/chunk/material/fuji.gdshader" id="2_04arg"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7tlke"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_04arg")
|
||||
shader_parameter/albedo_color = Color(0.20906344, 0.22397816, 0.17167854, 1)
|
||||
shader_parameter/use_texture = true
|
||||
shader_parameter/uv_scale = Vector2(1, 1)
|
||||
shader_parameter/palette_shift_y = 0.0
|
||||
shader_parameter/gradient_start_y = 0.0
|
||||
shader_parameter/gradient_end_y = 10.0
|
||||
shader_parameter/use_local_gradient = false
|
||||
shader_parameter/local_gradient_color_top = Color(0.83889705, 0.83889705, 0.838897, 1)
|
||||
shader_parameter/local_gradient_color_bot = Color(0.23813424, 0.23054239, 0.24542066, 1)
|
||||
shader_parameter/local_gradient_start = -5.035
|
||||
shader_parameter/local_gradient_end = 4.8100000000000005
|
||||
shader_parameter/local_gradient_intensity = 0.2770000131575
|
||||
shader_parameter/rotazione_gradiente_x = -86.785995572335
|
||||
shader_parameter/rotazione_gradiente_y = -4.820991678997501
|
||||
shader_parameter/rotazione_gradiente_z = 0.0
|
||||
shader_parameter/light_steps = 6.0
|
||||
shader_parameter/step_softness = 0.00999999977648
|
||||
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
|
||||
shader_parameter/shadow_offset = 0.0
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/use_ghibli_glint = true
|
||||
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
|
||||
shader_parameter/glint_intensity = 1.0
|
||||
shader_parameter/glint_sharpness = 32.0
|
||||
shader_parameter/emission_color = Color(0, 0, 0, 1)
|
||||
shader_parameter/emission_energy = 0.0
|
||||
|
||||
[node name="Fuji2" unique_id=842328745 instance=ExtResource("1_04arg")]
|
||||
|
||||
[node name="Landscape" parent="." index="0" unique_id=244602034]
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_7tlke")
|
||||
@@ -21,6 +21,7 @@ shader_parameter/variance_color = Color(0.09803922, 0.18039216, 0.05490196, 1)
|
||||
shader_parameter/variance_intensity = 0.90000004275
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 1.0
|
||||
shader_parameter/snow_coverage = 0.35
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.610000028975
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_xa3jw"]
|
||||
noise_type = 3
|
||||
seed = 1
|
||||
seed = 9
|
||||
frequency = 0.0366
|
||||
metadata/_preview_in_3d_space_ = true
|
||||
|
||||
[resource]
|
||||
|
||||
BIN
tgcc/chunk/prop/sign/fbx/Sign.fbx
Normal file
BIN
tgcc/chunk/prop/sign/fbx/Sign.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/prop/sign/fbx/Sign.fbx.import
Normal file
44
tgcc/chunk/prop/sign/fbx/Sign.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bnbe2tvtj74y3"
|
||||
path="res://.godot/imported/Sign.fbx-bb41d9f79b988fd5b6cd82e2b56b00d8.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/prop/sign/fbx/Sign.fbx"
|
||||
dest_files=["res://.godot/imported/Sign.fbx-bb41d9f79b988fd5b6cd82e2b56b00d8.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
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=true
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
fbx/importer=0
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
fbx/naming_version=2
|
||||
9
tgcc/chunk/prop/sign/scene/signMenu.tscn
Normal file
9
tgcc/chunk/prop/sign/scene/signMenu.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=3 uid="uid://cp2vmysawnuql"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bnbe2tvtj74y3" path="res://tgcc/chunk/prop/sign/fbx/Sign.fbx" id="1_xkqos"]
|
||||
[ext_resource type="Material" uid="uid://buxlrrpn7rdgs" path="res://tgcc/chunk/material/wood.tres" id="2_kety3"]
|
||||
|
||||
[node name="Sign" unique_id=1434874277 instance=ExtResource("1_xkqos")]
|
||||
|
||||
[node name="Cube_229" parent="." index="0" unique_id=1978095682]
|
||||
surface_material_override/0 = ExtResource("2_kety3")
|
||||
@@ -9,24 +9,24 @@ render_priority = 0
|
||||
shader = ExtResource("1_0pm1o")
|
||||
shader_parameter/billboard_enabled = true
|
||||
shader_parameter/wind_enabled = true
|
||||
shader_parameter/base_color = Color(0.35581627, 0.61734307, 0.29309765, 1)
|
||||
shader_parameter/base_color = Color(0.19728073, 0.35741174, 0.15841651, 1)
|
||||
shader_parameter/alpha_texture = ExtResource("2_l4poo")
|
||||
shader_parameter/leaves_scale = 0.6
|
||||
shader_parameter/leaves_scale = 0.31
|
||||
shader_parameter/rotation_degrees = 180.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 1.0
|
||||
shader_parameter/color_variance_noise = ExtResource("3_q8m6e")
|
||||
shader_parameter/variance_scale = 0.3
|
||||
shader_parameter/variance_color = Color(0.3019608, 0.5019608, 0.2, 1)
|
||||
shader_parameter/variance_intensity = 0.400000019
|
||||
shader_parameter/variance_scale = 0.175
|
||||
shader_parameter/variance_color = Color(0.2025331, 0.34341744, 0.12965545, 1)
|
||||
shader_parameter/variance_intensity = 0.782000037145
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 2.1670001029325
|
||||
shader_parameter/snow_coverage = 0.5660000252550601
|
||||
shader_parameter/snow_visibility = 2.0
|
||||
shader_parameter/snow_coverage = 0.85
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.6000000285
|
||||
shader_parameter/height_max = 2.9
|
||||
shader_parameter/shadow_intensity = 0.8450000401375
|
||||
shader_parameter/highlight_intensity = 0.0
|
||||
shader_parameter/light_steps = 8.50000035625
|
||||
shader_parameter/light_steps = 10.0
|
||||
shader_parameter/random_mix = 0.0150000007125
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/wetness_darkening = 0.25
|
||||
|
||||
@@ -2,40 +2,11 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cgjk8xcm7ipep" path="res://tgcc/chunk/prop/tea/mesh/tea_big.fbx" id="1_oixyf"]
|
||||
[ext_resource type="Material" uid="uid://c2x7xxweexmj" path="res://tgcc/chunk/material/field.tres" id="2_li7yp"]
|
||||
[ext_resource type="Shader" uid="uid://8l8glwvvs7fb" path="res://core/daynight/grass_leaves.gdshader" id="3_refyi"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm0roy74xo3ce" path="res://tgcc/chunk/prop/flower/bush_alpha.png" id="4_d4aoy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkuv31yvqmqr2" path="res://tgcc/chunk/prop/flower/bush_colornoise.tres" id="5_gkubn"]
|
||||
[ext_resource type="Material" uid="uid://d3pui0oy51fcg" path="res://tgcc/chunk/prop/tea/Tea.tres" id="3_oixyf"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_d4aoy"]
|
||||
size = Vector2(0.5, 0.5)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_t6ypx"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("3_refyi")
|
||||
shader_parameter/billboard_enabled = true
|
||||
shader_parameter/wind_enabled = true
|
||||
shader_parameter/base_color = Color(0.35581627, 0.61734307, 0.29309765, 1)
|
||||
shader_parameter/alpha_texture = ExtResource("4_d4aoy")
|
||||
shader_parameter/leaves_scale = 0.31
|
||||
shader_parameter/rotation_degrees = 180.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 1.0
|
||||
shader_parameter/color_variance_noise = ExtResource("5_gkubn")
|
||||
shader_parameter/variance_scale = 0.3
|
||||
shader_parameter/variance_color = Color(0.3019608, 0.5019608, 0.2, 1)
|
||||
shader_parameter/variance_intensity = 0.400000019
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 2.0
|
||||
shader_parameter/snow_coverage = 0.85
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.6000000285
|
||||
shader_parameter/highlight_intensity = 0.0
|
||||
shader_parameter/light_steps = 8.50000035625
|
||||
shader_parameter/random_mix = 0.0150000007125
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/wetness_darkening = 0.25
|
||||
|
||||
[sub_resource type="MultiMesh" id="MultiMesh_8g4q5"]
|
||||
transform_format = 1
|
||||
instance_count = 20000
|
||||
@@ -59,6 +30,6 @@ mesh = SubResource("PlaneMesh_d4aoy")
|
||||
|
||||
[node name="bush" type="MultiMeshInstance3D" parent="Tea2" index="1" unique_id=1746270240]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36843967, 0)
|
||||
material_override = SubResource("ShaderMaterial_t6ypx")
|
||||
material_override = ExtResource("3_oixyf")
|
||||
cast_shadow = 0
|
||||
multimesh = SubResource("MultiMesh_8g4q5")
|
||||
|
||||
@@ -2,40 +2,11 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dji5sf4f0tbq5" path="res://tgcc/chunk/prop/tea/mesh/tea_medium.fbx" id="1_vsb51"]
|
||||
[ext_resource type="Material" uid="uid://c2x7xxweexmj" path="res://tgcc/chunk/material/field.tres" id="2_kepo4"]
|
||||
[ext_resource type="Shader" uid="uid://8l8glwvvs7fb" path="res://core/daynight/grass_leaves.gdshader" id="3_e6luv"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm0roy74xo3ce" path="res://tgcc/chunk/prop/flower/bush_alpha.png" id="4_5yjhr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkuv31yvqmqr2" path="res://tgcc/chunk/prop/flower/bush_colornoise.tres" id="5_f4tkv"]
|
||||
[ext_resource type="Material" uid="uid://d3pui0oy51fcg" path="res://tgcc/chunk/prop/tea/Tea.tres" id="3_pij5j"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_xkk6y"]
|
||||
size = Vector2(0.5, 0.5)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r4ipd"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("3_e6luv")
|
||||
shader_parameter/billboard_enabled = true
|
||||
shader_parameter/wind_enabled = true
|
||||
shader_parameter/base_color = Color(0.35581627, 0.61734307, 0.29309765, 1)
|
||||
shader_parameter/alpha_texture = ExtResource("4_5yjhr")
|
||||
shader_parameter/leaves_scale = 0.31
|
||||
shader_parameter/rotation_degrees = 180.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 1.0
|
||||
shader_parameter/color_variance_noise = ExtResource("5_f4tkv")
|
||||
shader_parameter/variance_scale = 0.3
|
||||
shader_parameter/variance_color = Color(0.3019608, 0.5019608, 0.2, 1)
|
||||
shader_parameter/variance_intensity = 0.400000019
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 2.0
|
||||
shader_parameter/snow_coverage = 0.85
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.6000000285
|
||||
shader_parameter/highlight_intensity = 0.0
|
||||
shader_parameter/light_steps = 8.50000035625
|
||||
shader_parameter/random_mix = 0.0150000007125
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/wetness_darkening = 0.25
|
||||
|
||||
[sub_resource type="MultiMesh" id="MultiMesh_kepo4"]
|
||||
transform_format = 1
|
||||
instance_count = 10000
|
||||
@@ -59,6 +30,6 @@ mesh = SubResource("PlaneMesh_xkk6y")
|
||||
|
||||
[node name="bush" type="MultiMeshInstance3D" parent="Tea2" index="1" unique_id=592156216]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36843967, 0)
|
||||
material_override = SubResource("ShaderMaterial_r4ipd")
|
||||
material_override = ExtResource("3_pij5j")
|
||||
cast_shadow = 0
|
||||
multimesh = SubResource("MultiMesh_kepo4")
|
||||
|
||||
@@ -2,40 +2,11 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bkti46qgh8bkj" path="res://tgcc/chunk/prop/tea/mesh/tea_medium2.fbx" id="1_2ag8b"]
|
||||
[ext_resource type="Material" uid="uid://c2x7xxweexmj" path="res://tgcc/chunk/material/field.tres" id="2_urjpo"]
|
||||
[ext_resource type="Shader" uid="uid://8l8glwvvs7fb" path="res://core/daynight/grass_leaves.gdshader" id="3_cuhrr"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm0roy74xo3ce" path="res://tgcc/chunk/prop/flower/bush_alpha.png" id="4_7yyw3"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkuv31yvqmqr2" path="res://tgcc/chunk/prop/flower/bush_colornoise.tres" id="5_50k0i"]
|
||||
[ext_resource type="Material" uid="uid://d3pui0oy51fcg" path="res://tgcc/chunk/prop/tea/Tea.tres" id="3_te0rv"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_cxmfu"]
|
||||
size = Vector2(0.5, 0.5)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5wl8p"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("3_cuhrr")
|
||||
shader_parameter/billboard_enabled = true
|
||||
shader_parameter/wind_enabled = true
|
||||
shader_parameter/base_color = Color(0.35581627, 0.61734307, 0.29309765, 1)
|
||||
shader_parameter/alpha_texture = ExtResource("4_7yyw3")
|
||||
shader_parameter/leaves_scale = 0.31
|
||||
shader_parameter/rotation_degrees = 180.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 1.0
|
||||
shader_parameter/color_variance_noise = ExtResource("5_50k0i")
|
||||
shader_parameter/variance_scale = 0.3
|
||||
shader_parameter/variance_color = Color(0.3019608, 0.5019608, 0.2, 1)
|
||||
shader_parameter/variance_intensity = 0.400000019
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 2.0
|
||||
shader_parameter/snow_coverage = 0.85
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.6000000285
|
||||
shader_parameter/highlight_intensity = 0.0
|
||||
shader_parameter/light_steps = 8.50000035625
|
||||
shader_parameter/random_mix = 0.0150000007125
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/wetness_darkening = 0.25
|
||||
|
||||
[sub_resource type="MultiMesh" id="MultiMesh_2ag8b"]
|
||||
transform_format = 1
|
||||
instance_count = 15000
|
||||
@@ -60,6 +31,6 @@ mesh = SubResource("PlaneMesh_cxmfu")
|
||||
|
||||
[node name="bush" type="MultiMeshInstance3D" parent="Tea2" index="1" unique_id=963190893]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36843967, 0)
|
||||
material_override = SubResource("ShaderMaterial_5wl8p")
|
||||
material_override = ExtResource("3_te0rv")
|
||||
cast_shadow = 0
|
||||
multimesh = SubResource("MultiMesh_2ag8b")
|
||||
|
||||
@@ -2,40 +2,11 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ccwjhnoteeijl" path="res://tgcc/chunk/prop/tea/mesh/tea_small.fbx" id="1_kibkm"]
|
||||
[ext_resource type="Material" uid="uid://c2x7xxweexmj" path="res://tgcc/chunk/material/field.tres" id="2_7wl1i"]
|
||||
[ext_resource type="Shader" uid="uid://8l8glwvvs7fb" path="res://core/daynight/grass_leaves.gdshader" id="3_x7n4r"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm0roy74xo3ce" path="res://tgcc/chunk/prop/flower/bush_alpha.png" id="4_cl0s2"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkuv31yvqmqr2" path="res://tgcc/chunk/prop/flower/bush_colornoise.tres" id="5_e4778"]
|
||||
[ext_resource type="Material" uid="uid://d3pui0oy51fcg" path="res://tgcc/chunk/prop/tea/Tea.tres" id="3_443o7"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_qdlnt"]
|
||||
size = Vector2(0.5, 0.5)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_gsyfq"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("3_x7n4r")
|
||||
shader_parameter/billboard_enabled = true
|
||||
shader_parameter/wind_enabled = true
|
||||
shader_parameter/base_color = Color(0.35581627, 0.61734307, 0.29309765, 1)
|
||||
shader_parameter/alpha_texture = ExtResource("4_cl0s2")
|
||||
shader_parameter/leaves_scale = 0.31
|
||||
shader_parameter/rotation_degrees = 180.0
|
||||
shader_parameter/texture_offset = Vector2(0, 0)
|
||||
shader_parameter/opacity = 1.0
|
||||
shader_parameter/color_variance_noise = ExtResource("5_e4778")
|
||||
shader_parameter/variance_scale = 0.3
|
||||
shader_parameter/variance_color = Color(0.3019608, 0.5019608, 0.2, 1)
|
||||
shader_parameter/variance_intensity = 0.400000019
|
||||
shader_parameter/snow_color = Color(0.85, 0.9, 0.95, 1)
|
||||
shader_parameter/snow_visibility = 2.0
|
||||
shader_parameter/snow_coverage = 0.85
|
||||
shader_parameter/height_min = 0.0
|
||||
shader_parameter/height_max = 5.0
|
||||
shader_parameter/shadow_intensity = 0.6000000285
|
||||
shader_parameter/highlight_intensity = 0.0
|
||||
shader_parameter/light_steps = 8.50000035625
|
||||
shader_parameter/random_mix = 0.0150000007125
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/wetness_darkening = 0.25
|
||||
|
||||
[sub_resource type="MultiMesh" id="MultiMesh_7wl1i"]
|
||||
transform_format = 1
|
||||
instance_count = 5000
|
||||
@@ -59,6 +30,6 @@ mesh = SubResource("PlaneMesh_qdlnt")
|
||||
|
||||
[node name="bush" type="MultiMeshInstance3D" parent="Tea2" index="1" unique_id=1649695737]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36843967, 0)
|
||||
material_override = SubResource("ShaderMaterial_gsyfq")
|
||||
material_override = ExtResource("3_443o7")
|
||||
cast_shadow = 0
|
||||
multimesh = SubResource("MultiMesh_7wl1i")
|
||||
|
||||
Binary file not shown.
@@ -12,7 +12,6 @@
|
||||
[ext_resource type="Material" uid="uid://b4luvp3fi0p43" path="res://tgcc/chunk/material/railway_chunk.tres" id="6_glrsv"]
|
||||
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="6_huunn"]
|
||||
[ext_resource type="Material" uid="uid://dbmyfi5t0yfy" path="res://tgcc/chunk/prop/house/house_emissiv.tres" id="7_xaeon"]
|
||||
[ext_resource type="Material" uid="uid://d4vsl672lwv7" path="res://tgcc/chunk/material/rocks2.tres" id="8_nij0i"]
|
||||
[ext_resource type="Material" uid="uid://biaudrjlfoflm" path="res://tgcc/chunk/prop/house/house.tres" id="9_4kxnx"]
|
||||
[ext_resource type="Material" uid="uid://chppialx3cyph" path="res://tgcc/chunk/material/trainalert.tres" id="10_fhyam"]
|
||||
[ext_resource type="Material" uid="uid://lt21ti7jo8yj" path="res://tgcc/chunk/material/glass.tres" id="13_dh1ar"]
|
||||
@@ -125,70 +124,70 @@ chunk_type = 1
|
||||
est = true
|
||||
west = true
|
||||
|
||||
[node name="Cartell_Back_001" parent="." index="0" unique_id=541801108]
|
||||
[node name="Cartell_Back_001" parent="." index="0" unique_id=1811817606]
|
||||
surface_material_override/0 = ExtResource("2_mb3o7")
|
||||
surface_material_override/1 = ExtResource("3_jribt")
|
||||
|
||||
[node name="Cartelli_001" parent="." index="1" unique_id=823699927]
|
||||
[node name="Cartelli_001" parent="." index="1" unique_id=308370070]
|
||||
transform = Transform3D(100, 0, 0, 0, -1.1920929e-05, 99.99999, 0, -99.99999, -1.1920929e-05, -3.4989634, 6.5806003, 0.019974763)
|
||||
surface_material_override/0 = ExtResource("3_jribt")
|
||||
surface_material_override/1 = ExtResource("2_mb3o7")
|
||||
surface_material_override/2 = ExtResource("4_jribt")
|
||||
|
||||
[node name="Cartelli_002" parent="." index="2" unique_id=1261439614]
|
||||
[node name="Cartelli_002" parent="." index="2" unique_id=1373265613]
|
||||
transform = Transform3D(-100, 3.8941438e-05, -2.842171e-12, 0, 5.9604645e-06, 100, 3.8941438e-05, 100, -1.1920929e-05, 3.499, 6.581, 0.02)
|
||||
surface_material_override/0 = ExtResource("3_jribt")
|
||||
surface_material_override/1 = ExtResource("2_mb3o7")
|
||||
surface_material_override/2 = ExtResource("4_jribt")
|
||||
|
||||
[node name="Chunk_029" parent="." index="3" unique_id=560479852 groups=["weather_node"]]
|
||||
[node name="Chunk_029" parent="." index="3" unique_id=963373606 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("6_glrsv")
|
||||
|
||||
[node name="Chunk_030" parent="." index="4" unique_id=1216483599]
|
||||
[node name="Chunk_030" parent="." index="4" unique_id=837387616]
|
||||
surface_material_override/0 = ExtResource("6_huunn")
|
||||
|
||||
[node name="Cube_033" parent="." index="5" unique_id=763353274 groups=["weather_node"]]
|
||||
[node name="Cube_033" parent="." index="5" unique_id=1252654438 groups=["weather_node"]]
|
||||
visible = false
|
||||
|
||||
[node name="Cube_203" parent="." index="6" unique_id=1352126133 groups=["weather_node"]]
|
||||
[node name="Cube_203" parent="." index="6" unique_id=149395760 groups=["weather_node"]]
|
||||
visible = false
|
||||
|
||||
[node name="Cube_204" parent="." index="7" unique_id=1719310369 groups=["weather_node"]]
|
||||
[node name="Cube_204" parent="." index="7" unique_id=251005786 groups=["weather_node"]]
|
||||
visible = false
|
||||
|
||||
[node name="Cube_206" parent="." index="8" unique_id=1317601627 groups=["weather_node"]]
|
||||
[node name="Cube_206" parent="." index="8" unique_id=2049436332 groups=["weather_node"]]
|
||||
visible = false
|
||||
|
||||
[node name="Insegna_002" parent="." index="9" unique_id=1058774931]
|
||||
[node name="Insegna_002" parent="." index="9" unique_id=842160719]
|
||||
surface_material_override/0 = ExtResource("4_jribt")
|
||||
surface_material_override/1 = ExtResource("2_mb3o7")
|
||||
surface_material_override/2 = ExtResource("3_jribt")
|
||||
|
||||
[node name="Luci_001" parent="." index="10" unique_id=1752424347]
|
||||
[node name="Luci_001" parent="." index="10" unique_id=1712426068]
|
||||
surface_material_override/0 = ExtResource("4_jribt")
|
||||
surface_material_override/1 = ExtResource("7_xaeon")
|
||||
|
||||
[node name="PANCHINA GRANDE_004" parent="." index="11" unique_id=1645807317]
|
||||
[node name="PANCHINA GRANDE_004" parent="." index="11" unique_id=780127715]
|
||||
surface_material_override/0 = ExtResource("4_jribt")
|
||||
surface_material_override/1 = ExtResource("3_jribt")
|
||||
|
||||
[node name="Scale_001" parent="." index="12" unique_id=1210386425 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("8_nij0i")
|
||||
[node name="Scale_001" parent="." index="12" unique_id=1288912675 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("2_mb3o7")
|
||||
|
||||
[node name="Sottotetto_001" parent="." index="13" unique_id=223866835]
|
||||
[node name="Sottotetto_001" parent="." index="13" unique_id=257226208]
|
||||
surface_material_override/0 = ExtResource("9_4kxnx")
|
||||
|
||||
[node name="Strada_001" parent="." index="14" unique_id=1154389948 groups=["weather_node"]]
|
||||
[node name="Strada_001" parent="." index="14" unique_id=1827601239 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("5_xvqqo")
|
||||
|
||||
[node name="Strutturra_001" parent="." index="15" unique_id=657468645]
|
||||
[node name="Strutturra_001" parent="." index="15" unique_id=1701979354]
|
||||
surface_material_override/0 = ExtResource("4_jribt")
|
||||
surface_material_override/1 = ExtResource("10_fhyam")
|
||||
|
||||
[node name="Tetto_001" parent="." index="16" unique_id=780443417 groups=["weather_node"]]
|
||||
[node name="Tetto_001" parent="." index="16" unique_id=1872962965 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("9_4kxnx")
|
||||
|
||||
[node name="Travi_001" parent="." index="17" unique_id=1645852758]
|
||||
[node name="Travi_001" parent="." index="17" unique_id=203733156]
|
||||
surface_material_override/0 = ExtResource("3_jribt")
|
||||
|
||||
[node name="Vetri_001" parent="." index="18" unique_id=1672397081]
|
||||
@@ -303,13 +302,13 @@ omni_attenuation = 2.0
|
||||
[node name="VendingMachine_1" parent="." index="22" unique_id=1157270784 instance=ExtResource("16_o6urq")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.1296816, 1.7792094, 2.4132667)
|
||||
|
||||
[node name="Cartello" parent="VendingMachine_1" index="0" unique_id=1481210104]
|
||||
[node name="Cartello" parent="VendingMachine_1" index="0" unique_id=83833849]
|
||||
visible = false
|
||||
|
||||
[node name="CartelloUp" parent="VendingMachine_1" index="1" unique_id=52746731]
|
||||
[node name="CartelloUp" parent="VendingMachine_1" index="1" unique_id=237539239]
|
||||
visible = true
|
||||
|
||||
[node name="Vending machine" parent="VendingMachine_1" index="2" unique_id=992531346]
|
||||
[node name="Vending machine" parent="VendingMachine_1" index="2" unique_id=989971963]
|
||||
surface_material_override/1 = SubResource("ShaderMaterial_eny38")
|
||||
|
||||
[node name="VendingMachine_2" parent="." index="23" unique_id=1407664468 instance=ExtResource("16_o6urq")]
|
||||
@@ -318,10 +317,10 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.1296816, 1.7792094, -2.284
|
||||
[node name="VendingMachine_3" parent="." index="24" unique_id=1583313500 instance=ExtResource("16_o6urq")]
|
||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 7.059428, 1.7792094, -2.4094167)
|
||||
|
||||
[node name="Cartello" parent="VendingMachine_3" index="0" unique_id=1481210104]
|
||||
[node name="Cartello" parent="VendingMachine_3" index="0" unique_id=83833849]
|
||||
surface_material_override/2 = SubResource("ShaderMaterial_o6urq")
|
||||
|
||||
[node name="Vending machine" parent="VendingMachine_3" index="2" unique_id=992531346]
|
||||
[node name="Vending machine" parent="VendingMachine_3" index="2" unique_id=989971963]
|
||||
surface_material_override/1 = SubResource("ShaderMaterial_dh1ar")
|
||||
|
||||
[node name="VendingMachine_4" parent="." index="25" unique_id=200396606 instance=ExtResource("16_o6urq")]
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="6_60nuv"]
|
||||
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="6_sj02q"]
|
||||
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="7_xcjcb"]
|
||||
[ext_resource type="Material" uid="uid://d4vsl672lwv7" path="res://tgcc/chunk/material/rocks2.tres" id="8_lbotq"]
|
||||
[ext_resource type="Material" uid="uid://dbmyfi5t0yfy" path="res://tgcc/chunk/prop/house/house_emissiv.tres" id="9_2nl7j"]
|
||||
[ext_resource type="Material" uid="uid://biaudrjlfoflm" path="res://tgcc/chunk/prop/house/house.tres" id="10_2nl7j"]
|
||||
[ext_resource type="Material" uid="uid://chppialx3cyph" path="res://tgcc/chunk/material/trainalert.tres" id="11_4r4wi"]
|
||||
@@ -86,64 +85,64 @@ have_lamppost = true
|
||||
connection_left = [NodePath("PaloLuce/sx")]
|
||||
connection_right = [NodePath("PaloLuce/dx")]
|
||||
|
||||
[node name="Cartell_Back" parent="." index="0" unique_id=2065630383]
|
||||
[node name="Cartell_Back" parent="." index="0" unique_id=258514689]
|
||||
surface_material_override/0 = ExtResource("2_o7yq3")
|
||||
surface_material_override/1 = ExtResource("3_j8621")
|
||||
|
||||
[node name="Cartelli" parent="." index="1" unique_id=568760154]
|
||||
[node name="Cartelli" parent="." index="1" unique_id=649114900]
|
||||
transform = Transform3D(100, 0, 0, 0, -1.1920929e-05, 99.99999, 0, -99.99999, -1.1920929e-05, 3.8412752, 1.3598853, 0)
|
||||
surface_material_override/0 = ExtResource("3_j8621")
|
||||
surface_material_override/1 = ExtResource("2_o7yq3")
|
||||
surface_material_override/2 = ExtResource("4_s80ad")
|
||||
|
||||
[node name="Chunk_025" parent="." index="2" unique_id=619822949 groups=["weather_node"]]
|
||||
[node name="Chunk_025" parent="." index="2" unique_id=672031874 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("5_8ksjv")
|
||||
|
||||
[node name="Chunk_028" parent="." index="3" unique_id=1980277354]
|
||||
[node name="Chunk_028" parent="." index="3" unique_id=1995925847]
|
||||
surface_material_override/0 = ExtResource("6_sj02q")
|
||||
|
||||
[node name="Cube_032" parent="." index="4" unique_id=1176995204]
|
||||
[node name="Cube_032" parent="." index="4" unique_id=1626136650]
|
||||
surface_material_override/0 = ExtResource("4_s80ad")
|
||||
surface_material_override/1 = ExtResource("7_xcjcb")
|
||||
|
||||
[node name="Insegna" parent="." index="5" unique_id=2101282605]
|
||||
[node name="Insegna" parent="." index="5" unique_id=60951100]
|
||||
surface_material_override/0 = ExtResource("4_s80ad")
|
||||
surface_material_override/1 = ExtResource("2_o7yq3")
|
||||
surface_material_override/2 = ExtResource("3_j8621")
|
||||
|
||||
[node name="Luci" parent="." index="6" unique_id=1248026608]
|
||||
[node name="Luci" parent="." index="6" unique_id=1706458073]
|
||||
surface_material_override/0 = ExtResource("4_s80ad")
|
||||
surface_material_override/1 = ExtResource("9_2nl7j")
|
||||
|
||||
[node name="PANCHINA GRANDE_001" parent="." index="7" unique_id=905715733]
|
||||
[node name="PANCHINA GRANDE_001" parent="." index="7" unique_id=862024171]
|
||||
surface_material_override/0 = ExtResource("7_xcjcb")
|
||||
surface_material_override/1 = ExtResource("3_j8621")
|
||||
|
||||
[node name="PANCHINA GRANDE_002" parent="." index="8" unique_id=1507895137]
|
||||
[node name="PANCHINA GRANDE_002" parent="." index="8" unique_id=1119753654]
|
||||
surface_material_override/0 = ExtResource("7_xcjcb")
|
||||
surface_material_override/1 = ExtResource("3_j8621")
|
||||
|
||||
[node name="PANCHINA GRANDE_003" parent="." index="9" unique_id=711367607]
|
||||
[node name="PANCHINA GRANDE_003" parent="." index="9" unique_id=1845915203]
|
||||
surface_material_override/0 = ExtResource("7_xcjcb")
|
||||
surface_material_override/1 = ExtResource("3_j8621")
|
||||
|
||||
[node name="Scale" parent="." index="10" unique_id=1255865076 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("8_lbotq")
|
||||
[node name="Scale" parent="." index="10" unique_id=493829276 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("2_o7yq3")
|
||||
|
||||
[node name="Sottotetto" parent="." index="11" unique_id=1011272417]
|
||||
[node name="Sottotetto" parent="." index="11" unique_id=593832418]
|
||||
surface_material_override/0 = ExtResource("10_2nl7j")
|
||||
|
||||
[node name="Strada" parent="." index="12" unique_id=2085504879 groups=["weather_node"]]
|
||||
[node name="Strada" parent="." index="12" unique_id=509824382 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("5_j8621")
|
||||
|
||||
[node name="Strutturra" parent="." index="13" unique_id=1888621582]
|
||||
[node name="Strutturra" parent="." index="13" unique_id=1770432635]
|
||||
surface_material_override/0 = ExtResource("4_s80ad")
|
||||
surface_material_override/1 = ExtResource("11_4r4wi")
|
||||
|
||||
[node name="Tetto" parent="." index="14" unique_id=601556799 groups=["weather_node"]]
|
||||
[node name="Tetto" parent="." index="14" unique_id=575340605 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("10_2nl7j")
|
||||
|
||||
[node name="Travi" parent="." index="15" unique_id=1349672961]
|
||||
[node name="Travi" parent="." index="15" unique_id=823706135]
|
||||
surface_material_override/0 = ExtResource("3_j8621")
|
||||
|
||||
[node name="Vetri" parent="." index="16" unique_id=1398241856]
|
||||
@@ -152,7 +151,7 @@ surface_material_override/0 = ExtResource("14_ewksa")
|
||||
[node name="node_MeshObject-908864512-PolyGem25" parent="." index="17" unique_id=1074671447]
|
||||
visible = false
|
||||
|
||||
[node name="node_MeshObject-908864512-PolyGem25_001" parent="." index="18" unique_id=81120858]
|
||||
[node name="node_MeshObject-908864512-PolyGem25_001" parent="." index="18" unique_id=1684169103]
|
||||
visible = false
|
||||
|
||||
[node name="grass" type="Node3D" parent="." index="19" unique_id=1451695346 groups=["weather_vegetables_node", "wind_node"]]
|
||||
@@ -232,19 +231,19 @@ visible = false
|
||||
[node name="VendingMachine_1" parent="." index="23" unique_id=1157270784 instance=ExtResource("18_3fwhb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5618305, 1.9972904, 2.4145894)
|
||||
|
||||
[node name="Cartello" parent="VendingMachine_1" index="0" unique_id=1481210104]
|
||||
[node name="Cartello" parent="VendingMachine_1" index="0" unique_id=83833849]
|
||||
visible = false
|
||||
|
||||
[node name="Vending machine" parent="VendingMachine_1" index="2" unique_id=992531346]
|
||||
[node name="Vending machine" parent="VendingMachine_1" index="2" unique_id=989971963]
|
||||
transform = Transform3D(100, 0, 0, 0, -1.1920929e-05, 99.99999, 0, -99.99999, -1.1920929e-05, 0, -0.013702393, 0)
|
||||
|
||||
[node name="VendingMachine_2" parent="." index="24" unique_id=699992653 instance=ExtResource("18_3fwhb")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.5618305, 1.9972904, -2.3360145)
|
||||
|
||||
[node name="Cartello" parent="VendingMachine_2" index="0" unique_id=1481210104]
|
||||
[node name="Cartello" parent="VendingMachine_2" index="0" unique_id=83833849]
|
||||
visible = false
|
||||
|
||||
[node name="Vending machine" parent="VendingMachine_2" index="2" unique_id=992531346]
|
||||
[node name="Vending machine" parent="VendingMachine_2" index="2" unique_id=989971963]
|
||||
transform = Transform3D(100, 0, 0, 0, -1.1920929e-05, 99.99999, 0, -99.99999, -1.1920929e-05, 0, -0.019242525, 0)
|
||||
surface_material_override/1 = SubResource("ShaderMaterial_ewksa")
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
[ext_resource type="Material" uid="uid://fnjxocmx16b7" path="res://tgcc/chunk/prop/grass/grass_chunk.tres" id="3_8q4n0"]
|
||||
[ext_resource type="Material" uid="uid://bjrb33qwp1p43" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds.tres" id="4_1cotv"]
|
||||
[ext_resource type="Material" uid="uid://b4luvp3fi0p43" path="res://tgcc/chunk/material/railway_chunk.tres" id="4_3rloo"]
|
||||
[ext_resource type="Material" uid="uid://d4vsl672lwv7" path="res://tgcc/chunk/material/rocks2.tres" id="4_8e6cq"]
|
||||
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="5_1vb6v"]
|
||||
[ext_resource type="Material" uid="uid://xrxl0d5h6f6s" path="res://tgcc/chunk/material/sign.tres" id="5_3rloo"]
|
||||
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="5_8e6cq"]
|
||||
[ext_resource type="Material" uid="uid://o31kp0jm07q3" path="res://tgcc/chunk/material/rocks.tres" id="6_1vb6v"]
|
||||
[ext_resource type="Material" uid="uid://d37iugof887py" path="res://tgcc/chunk/material/water_river.tres" id="8_3rloo"]
|
||||
@@ -49,23 +49,23 @@ chunk_type = 1
|
||||
river_est = true
|
||||
river_west = true
|
||||
|
||||
[node name="Argini_F_008" parent="." index="0" unique_id=1267213154]
|
||||
[node name="Argini_F_008" parent="." index="0" unique_id=883848814]
|
||||
surface_material_override/0 = ExtResource("2_0isiu")
|
||||
|
||||
[node name="Chunk_018" parent="." index="1" unique_id=1864721504 groups=["weather_node"]]
|
||||
[node name="Chunk_018" parent="." index="1" unique_id=1662160741 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("4_3rloo")
|
||||
|
||||
[node name="Chunk_040" parent="." index="2" unique_id=341963199]
|
||||
[node name="Chunk_040" parent="." index="2" unique_id=314099706]
|
||||
surface_material_override/0 = ExtResource("2_0isiu")
|
||||
|
||||
[node name="Cube_039" parent="." index="3" unique_id=1204046641]
|
||||
surface_material_override/0 = ExtResource("4_8e6cq")
|
||||
[node name="Cube_039" parent="." index="3" unique_id=375449614]
|
||||
surface_material_override/0 = ExtResource("5_3rloo")
|
||||
surface_material_override/1 = ExtResource("5_1vb6v")
|
||||
|
||||
[node name="Cube_040" parent="." index="4" unique_id=2142683318 groups=["weather_node"]]
|
||||
[node name="Cube_040" parent="." index="4" unique_id=2092463397 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("6_1vb6v")
|
||||
|
||||
[node name="Water_F_008" parent="." index="5" unique_id=1777640055]
|
||||
[node name="Water_F_008" parent="." index="5" unique_id=1612455466]
|
||||
surface_material_override/0 = ExtResource("8_3rloo")
|
||||
|
||||
[node name="grass" type="Node3D" parent="." index="6" unique_id=50370298 groups=["weather_vegetables_node", "wind_node"]]
|
||||
|
||||
50
tgcc/main menu/godraysmenu.gdshader
Normal file
50
tgcc/main menu/godraysmenu.gdshader
Normal file
@@ -0,0 +1,50 @@
|
||||
shader_type spatial;
|
||||
render_mode unshaded, blend_mix, depth_draw_opaque, cull_disabled;
|
||||
|
||||
group_uniforms Aspetto_Raggi;
|
||||
uniform vec3 colore_raggi : source_color = vec3(1.0, 0.85, 0.6);
|
||||
uniform float opacita_generale : hint_range(0.0, 1.0) = 0.3;
|
||||
|
||||
group_uniforms Controlli_Inspector;
|
||||
// 1. ALZARE IL CENTRO: Alza il valore Y (es. 0.2 o 0.3) per spostare il punto d'origine verso l'alto
|
||||
uniform vec2 centro_raggi = vec2(0.5, 0.0);
|
||||
|
||||
// 2. ALLARGARE LE STRISCE: Valori più alti creano fasci ciccioni, valori bassi creano lame di luce sottili
|
||||
uniform float larghezza_raggi : hint_range(0.1, 0.9) = 0.5;
|
||||
|
||||
// Quanti raggi totali orbitano intorno alla montagna
|
||||
uniform float densita_raggi : hint_range(2.0, 50.0) = 15.0;
|
||||
|
||||
group_uniforms Animazione;
|
||||
// 3. MOVIMENTO: Alza questo valore per aumentare la velocità dello sfarfallio dei raggi
|
||||
uniform float velocita_movimento : hint_range(0.0, 3.0) = 0.5;
|
||||
uniform float attenuazione_altezza : hint_range(0.1, 3.0) = 1.0;
|
||||
|
||||
void fragment() {
|
||||
// Coordinate polari basate sul centro dinamico impostato dall'utente
|
||||
vec2 uv_centrate = UV - centro_raggi;
|
||||
|
||||
float angolo = atan(uv_centrate.y, uv_centrate.x);
|
||||
float distanza = length(uv_centrate);
|
||||
|
||||
// Sistema di animazione a due onde incrociate per un movimento vivo e fluttuante
|
||||
float onda1 = sin(angolo * densita_raggi + TIME * velocita_movimento);
|
||||
float onda2 = cos(angolo * (densita_raggi * 0.65) - TIME * (velocita_movimento * 1.2));
|
||||
|
||||
// Uniamo le onde e rimappiamo il totale tra 0.0 e 1.0
|
||||
float pattern_raggi = (onda1 + onda2) * 0.5;
|
||||
pattern_raggi = pattern_raggi * 0.5 + 0.5;
|
||||
|
||||
// Applichiamo il controllo sulla larghezza delle strisce tramite lo smoothstep
|
||||
float fasci_luce = smoothstep(1.0 - larghezza_raggi, (1.0 - larghezza_raggi) + 0.15, pattern_raggi);
|
||||
|
||||
// Dissolvenza verso l'alto (più vanno alti, più sfumano nel cielo)
|
||||
float sfumatura_distanza = smoothstep(1.0, 0.0, distanza * attenuazione_altezza);
|
||||
|
||||
// Taglio netto inferiore: impedisce ai raggi di andare verso il basso se alzi il centro
|
||||
float sfumatura_base = smoothstep(0.0, 0.15, uv_centrate.y);
|
||||
|
||||
// Output Finale
|
||||
ALBEDO = colore_raggi;
|
||||
ALPHA = fasci_luce * sfumatura_distanza * sfumatura_base * opacita_generale;
|
||||
}
|
||||
1
tgcc/main menu/godraysmenu.gdshader.uid
Normal file
1
tgcc/main menu/godraysmenu.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bhqtjjs3emv7f
|
||||
33
tgcc/main menu/main_menu_glow.gdshader
Normal file
33
tgcc/main menu/main_menu_glow.gdshader
Normal file
@@ -0,0 +1,33 @@
|
||||
shader_type spatial;
|
||||
// unshaded = ignora le luci del mondo (è un glow autonomo)
|
||||
// blend_mix = trasparenza classica (usa blend_add se vuoi un effetto neon che si somma allo sfondo)
|
||||
render_mode unshaded, blend_mix, depth_draw_never, cull_disabled;
|
||||
|
||||
uniform vec4 glow_color : source_color = vec4(1.0, 0.5, 0.1, 0.5);
|
||||
uniform float glow_intensity : hint_range(0.0, 5.0) = 1.0;
|
||||
uniform float falloff_power : hint_range(0.1, 10.0) = 2.0; // Più è alto, più il centro è denso e i bordi sfumati
|
||||
|
||||
group_uniforms Modalita_Forma;
|
||||
uniform bool modalita_rettangolo = true; // Attiva per i titoli, disattiva per sfere/luci tonde
|
||||
uniform vec2 rettangolo_morbidezza = vec2(0.2, 0.4); // Quanto sfumano i bordi su X e su Y
|
||||
|
||||
void fragment() {
|
||||
float mask = 0.0;
|
||||
|
||||
if (modalita_rettangolo) {
|
||||
// Crea una sfumatura che parte da 0 sui quattro bordi del rettangolo e va a 1 al centro
|
||||
vec2 edge_fade = smoothstep(vec2(0.0), rettangolo_morbidezza, UV) * smoothstep(vec2(0.0), rettangolo_morbidezza, vec2(1.0) - UV);
|
||||
mask = edge_fade.x * edge_fade.y;
|
||||
} else {
|
||||
// Sfumatura circolare perfetta basata sulla distanza dal centro del piano
|
||||
float dist = length(UV - vec2(0.5));
|
||||
mask = smoothstep(0.5, 0.0, dist);
|
||||
}
|
||||
|
||||
// Applica la curva di decadimento per rendere la transizione ultra-morbida
|
||||
mask = pow(mask, falloff_power);
|
||||
|
||||
// Output finale
|
||||
ALBEDO = glow_color.rgb;
|
||||
ALPHA = glow_color.a * mask * glow_intensity;
|
||||
}
|
||||
1
tgcc/main menu/main_menu_glow.gdshader.uid
Normal file
1
tgcc/main menu/main_menu_glow.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cv4fkugqv82sb
|
||||
691
tgcc/main menu/main_menu_test.tscn
Normal file
691
tgcc/main menu/main_menu_test.tscn
Normal file
@@ -0,0 +1,691 @@
|
||||
[gd_scene format=3 uid="uid://cgkqj51u6p8dn"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cmuvmmp7xam4o" path="res://core/daynight/environment_management.tscn" id="1_2o8pc"]
|
||||
[ext_resource type="Resource" uid="uid://dufa43jysup7" path="res://tgcc/main menu/menu.tres" id="2_vvb5q"]
|
||||
[ext_resource type="PackedScene" uid="uid://bmwmdsdyfxfc1" path="res://tgcc/map/map_1/map_menu.tscn" id="2_wbrya"]
|
||||
[ext_resource type="Shader" uid="uid://cpgtj8mhjklb8" path="res://tgcc/chunk/prop/cloud/cloud3d.gdshader" id="2_wcae3"]
|
||||
[ext_resource type="Script" uid="uid://cx2tlvxhvatj5" path="res://docs/museums/daynight/control.gd" id="3_wbrya"]
|
||||
[ext_resource type="Texture2D" uid="uid://ibasu8f2j88u" path="res://tgcc/chunk/material/decal/store_capsule_logo_def.png" id="4_s4fdn"]
|
||||
[ext_resource type="Texture2D" uid="uid://dest0qa7vaid0" path="res://core/daynight/stars_albedo.png" id="5_25h5j"]
|
||||
[ext_resource type="Shader" uid="uid://bneue3fq71vp8" path="res://tgcc/main menu/sky_test.gdshader" id="5_87uwe"]
|
||||
[ext_resource type="Script" uid="uid://brcimd12tx3dm" path="res://core/daynight/edge_detection_compositor.gd" id="6_4flsv"]
|
||||
[ext_resource type="Script" uid="uid://dboerd4a6dwj7" path="res://core/biome_generator/rails.gd" id="7_5p27e"]
|
||||
[ext_resource type="PackedScene" uid="uid://otptvwer4par" path="res://tgcc/train/train.tscn" id="8_ljvyb"]
|
||||
[ext_resource type="Resource" uid="uid://bjnytgwt8tmf4" path="res://core/biome_generator/wagon_pool.tres" id="9_wcae3"]
|
||||
[ext_resource type="PackedScene" uid="uid://0kgjaqijaqku" path="res://docs/museums/biome_generator/rails.tscn" id="10_00nq7"]
|
||||
[ext_resource type="PackedScene" uid="uid://dn1btv0e0ses7" path="res://core/fireworks.tscn" id="11_aylkj"]
|
||||
[ext_resource type="PackedScene" uid="uid://ujv2f1l4d2ps" path="res://core/biome_generator/biome_generator.tscn" id="14_jgypt"]
|
||||
[ext_resource type="Script" uid="uid://wv6kcqkibium" path="res://core/biome_generator/biome.gd" id="15_3blen"]
|
||||
[ext_resource type="PackedScene" uid="uid://637i87ycw0q2" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_empty_04.tscn" id="16_w3xtw"]
|
||||
[ext_resource type="Material" uid="uid://bp2yikej20rke" path="res://tgcc/chunk/prop/cloud/Cloud.tres" id="17_0aqpp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cl2ast2tk7ifw" path="res://tgcc/chunk/railway/scene/chunk_railway_curve.tscn" id="20_87uwe"]
|
||||
[ext_resource type="Script" uid="uid://c374rv220mvh1" path="res://core/biome_generator/railway_pool.gd" id="20_oy1bb"]
|
||||
[ext_resource type="PackedScene" uid="uid://cewdxvcpqb53f" path="res://tgcc/chunk/railway/scene/chunk_railway_station_doubleside.tscn" id="21_kgq5s"]
|
||||
[ext_resource type="PackedScene" uid="uid://dgobym7krbqdr" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_corner_01.tscn" id="21_q33df"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3pcshw2bioic" path="res://tgcc/chunk/railway/scene/chunk_railway_station_oneside.tscn" id="22_61psf"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgbjvjvtlulyu" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_cross_3_02.tscn" id="22_oy1bb"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqxpqhla2kogq" path="res://tgcc/chunk/railway/scene/chunk_railway_straight.tscn" id="23_0aqpp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cs5tpcays3slb" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_empty.tscn" id="23_jrt8d"]
|
||||
[ext_resource type="PackedScene" uid="uid://chs64ggbvy28i" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_end_01.tscn" id="24_da76s"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3ub6rj0tlt6q" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_2.tscn" id="24_vvb5q"]
|
||||
[ext_resource type="PackedScene" uid="uid://buiqa2mofucer" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_straight_02.tscn" id="25_bl6g7"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqevecsd1cm1v" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_3.tscn" id="25_g1vc5"]
|
||||
[ext_resource type="PackedScene" uid="uid://btwjdnho1cyav" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_straight_03.tscn" id="26_apxmr"]
|
||||
[ext_resource type="PackedScene" uid="uid://f53hfrjaxkwa" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_bridge.tscn" id="26_mrhmq"]
|
||||
[ext_resource type="PackedScene" uid="uid://fi6faw7ag1i0" path="res://tgcc/chunk/railway/scene/chunk_railway_curve_3.tscn" id="27_4j5xl"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmxsc74ebqnju" path="res://tgcc/chunk/countryside/scene/fields/chunk_country_fields_straight_04.tscn" id="27_c1qt3"]
|
||||
[ext_resource type="PackedScene" uid="uid://dglpoh63x2lpy" path="res://tgcc/chunk/railway/scene/chunk_railway_curve_4.tscn" id="28_5hxod"]
|
||||
[ext_resource type="PackedScene" uid="uid://by3c73s5g5n53" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_curve_3.tscn" id="28_cx0op"]
|
||||
[ext_resource type="PackedScene" uid="uid://djbish323kvt" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_end_1.tscn" id="29_7egjd"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4r0j5os1tka4" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_mix1_1.tscn" id="30_wrw4f"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpfsxacr75b5u" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_mix3_1.tscn" id="31_87uwe"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwrp04hg0h0wo" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_mix4_1.tscn" id="32_kgq5s"]
|
||||
[ext_resource type="PackedScene" uid="uid://mlmtsppo4esq" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_mix6_1.tscn" id="33_61psf"]
|
||||
[ext_resource type="PackedScene" uid="uid://ck0y8s6aj7t0n" path="res://tgcc/chunk/countryside/scene/fields/river/chunk_river_fields_straight_1.tscn" id="34_0aqpp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cjv1e8pc6gde1" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_corner_01.tscn" id="35_vvb5q"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqoai3665vb0a" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_corner_02.tscn" id="36_g1vc5"]
|
||||
[ext_resource type="PackedScene" uid="uid://crlk31ecl480n" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_corner_03.tscn" id="37_mrhmq"]
|
||||
[ext_resource type="PackedScene" uid="uid://brpp7fe5noq8v" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_cross_3_01.tscn" id="38_4j5xl"]
|
||||
[ext_resource type="PackedScene" uid="uid://qmt8bkiksgj3" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_cross_3_02.tscn" id="39_5hxod"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1tfkhuktwthn" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_cross_3_03.tscn" id="40_cg70g"]
|
||||
[ext_resource type="PackedScene" uid="uid://c73yk6858dmwn" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_cross_4_01.tscn" id="41_0hcuf"]
|
||||
[ext_resource type="PackedScene" uid="uid://b8blm6bwintf7" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_empty_01.tscn" id="42_pnf06"]
|
||||
[ext_resource type="PackedScene" uid="uid://s0lvtmct5aj2" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_empty_02.tscn" id="43_dk53a"]
|
||||
[ext_resource type="PackedScene" uid="uid://dquhpx4si481r" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_empty_03.tscn" id="44_3e8o7"]
|
||||
[ext_resource type="PackedScene" uid="uid://b002wu5ltuqi4" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_end_01.tscn" id="46_x3dq8"]
|
||||
[ext_resource type="PackedScene" uid="uid://dtfmvcbninrcu" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_end_02.tscn" id="47_qtye1"]
|
||||
[ext_resource type="PackedScene" uid="uid://h6xj43vo84uf" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_straight_01.tscn" id="48_lb04u"]
|
||||
[ext_resource type="PackedScene" uid="uid://cu2chsjh8wuvp" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_straight_02.tscn" id="49_8yrkd"]
|
||||
[ext_resource type="PackedScene" uid="uid://pxmcy0lhne5d" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_straight_03.tscn" id="50_degqg"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5rcq82mn1vv7" path="res://tgcc/chunk/countryside/scene/rice/chunk_country_straight_04.tscn" id="51_m2g0k"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqe4t842io22i" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_cross_1.tscn" id="52_t0vjt"]
|
||||
[ext_resource type="PackedScene" uid="uid://q26mkh3cupic" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_cross_2.tscn" id="53_onf87"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs3dkwcc8w2uk" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_curve_1.tscn" id="54_uikmt"]
|
||||
[ext_resource type="PackedScene" uid="uid://ce6qvpb27fdpo" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_curve_2.tscn" id="55_wqk7x"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccgd3uy68r88h" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_curve_3.tscn" id="56_mct5v"]
|
||||
[ext_resource type="PackedScene" uid="uid://deaxxlxdipqvx" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_end_1.tscn" id="57_vopi0"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct3084nflycla" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_mix1_1.tscn" id="58_gyi63"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhvmmw8d8vns5" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_mix2_1.tscn" id="59_tmr0c"]
|
||||
[ext_resource type="PackedScene" uid="uid://rjvefmcd4bpo" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_mix3_1.tscn" id="60_fabvq"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6vpwol3k384y" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_mix4_1.tscn" id="61_eqvpo"]
|
||||
[ext_resource type="PackedScene" uid="uid://cd3iyj71hkgcr" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_mix5_1.tscn" id="62_o2rfi"]
|
||||
[ext_resource type="PackedScene" uid="uid://bh8kbw07bsu6n" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_mix6_1.tscn" id="63_rdfho"]
|
||||
[ext_resource type="PackedScene" uid="uid://btipd6wev016d" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_straight_1.tscn" id="64_0qygb"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2mnl5l0c3o8t" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_straight_2.tscn" id="65_nsaed"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccg8aaxoghjpq" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_straight_3.tscn" id="66_gjvwf"]
|
||||
[ext_resource type="PackedScene" uid="uid://7063xk3bwboc" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_straight_4.tscn" id="67_phi8g"]
|
||||
[ext_resource type="PackedScene" uid="uid://mpgyaho52lii" path="res://tgcc/chunk/countryside/scene/rice/river/scene/chunk_river_straight_5.tscn" id="68_3tf04"]
|
||||
[ext_resource type="PackedScene" uid="uid://bujym3ai10i7q" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_corner_01.tscn" id="69_2ahsh"]
|
||||
[ext_resource type="PackedScene" uid="uid://bdfosig4g14vt" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_corner_02.tscn" id="70_j0my1"]
|
||||
[ext_resource type="PackedScene" uid="uid://ffblnqib7fry" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_cross_3_01.tscn" id="71_6v8j8"]
|
||||
[ext_resource type="PackedScene" uid="uid://b785qpoxbrovj" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_cross_3_02.tscn" id="72_ti8tr"]
|
||||
[ext_resource type="PackedScene" uid="uid://dghfkqs1bhp56" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_empty.tscn" id="73_oyi2q"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0bgxecgl4qav" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_end_01.tscn" id="74_atmjp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cn1fr8wkb4k2w" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_end_02.tscn" id="75_46tek"]
|
||||
[ext_resource type="PackedScene" uid="uid://bfbd7kvcd6uf6" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_end_03.tscn" id="76_xg6nk"]
|
||||
[ext_resource type="PackedScene" uid="uid://che0eemntxhwf" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_straight_02.tscn" id="77_tjl0j"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvl8dae0u2abx" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_straight_03.tscn" id="78_grfqq"]
|
||||
[ext_resource type="Resource" uid="uid://cmd6s6thq4f7r" path="res://core/biome_generator/entities_pool.tres" id="78_xg6nk"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7f64uvjdoq65" path="res://tgcc/chunk/countryside/scene/tea/chunk_country_tea_straight_04.tscn" id="79_ifm82"]
|
||||
[ext_resource type="PackedScene" uid="uid://bw8dg3705vl07" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_curve_3.tscn" id="80_12q61"]
|
||||
[ext_resource type="PackedScene" uid="uid://blco6nv1806fh" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_end_1.tscn" id="81_8s2c6"]
|
||||
[ext_resource type="PackedScene" uid="uid://51pjkj11tyg0" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_mix1_1.tscn" id="82_sbpv7"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvqsjv10xymt0" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_mix3_1.tscn" id="83_ogh8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://c1x1ymwqgv6kn" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_mix4_1.tscn" id="84_pok0w"]
|
||||
[ext_resource type="PackedScene" uid="uid://bngs7h05fppfy" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_mix6_1.tscn" id="85_78qtq"]
|
||||
[ext_resource type="PackedScene" uid="uid://dn4jmmit4td1d" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_straight_1.tscn" id="86_8hw7h"]
|
||||
[ext_resource type="PackedScene" uid="uid://cykkwpsq7d3ex" path="res://tgcc/chunk/countryside/scene/tea/river/chunk_river_tea_straight_5.tscn" id="87_sionv"]
|
||||
[ext_resource type="PackedScene" uid="uid://dre1jaoxug015" path="res://tgcc/chunk/prop/fuji/fuji_2.tscn" id="99_61psf"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8fk1kxpkxpm2" path="res://tgcc/chunk/prop/fuji/fuji.tscn" id="100_0aqpp"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3alhtb3083qs" path="res://core/game_menu/option_menu_button.tscn" id="100_g1vc5"]
|
||||
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="100_vvb5q"]
|
||||
[ext_resource type="Texture2D" uid="uid://cu8e7pl0y4owq" path="res://core/game_menu/assets/page_3/settings_button.png" id="101_mrhmq"]
|
||||
[ext_resource type="Texture2D" uid="uid://v7e7467fkdec" path="res://core/game_menu/assets/page_3/quit_button.png" id="102_4j5xl"]
|
||||
[ext_resource type="Shader" uid="uid://bhqtjjs3emv7f" path="res://tgcc/main menu/godraysmenu.gdshader" id="103_g1vc5"]
|
||||
[ext_resource type="PackedScene" uid="uid://cp2vmysawnuql" path="res://tgcc/chunk/prop/sign/scene/signMenu.tscn" id="103_mrhmq"]
|
||||
[ext_resource type="Material" uid="uid://dljvvppsdbjd1" path="res://tgcc/chunk/material/glowplane.tres" id="104_mrhmq"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_00nq7"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_wcae3")
|
||||
shader_parameter/cloud_color = Color(0.95, 0.95, 0.98, 1)
|
||||
shader_parameter/shadow_color = Color(0.4, 0.45, 0.65, 1)
|
||||
shader_parameter/rim_color = Color(1, 0.6, 0.4, 1)
|
||||
shader_parameter/shadow_threshold = -0.1
|
||||
shader_parameter/shadow_softness = 0.05
|
||||
shader_parameter/rim_size = 0.35
|
||||
shader_parameter/rim_softness = 0.1
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_nbjr8"]
|
||||
shader = ExtResource("5_87uwe")
|
||||
shader_parameter/sky_top_color = Color(0.36438444, 0.6417803, 0.8712311, 1)
|
||||
shader_parameter/sky_horizon_color = Color(0.75821966, 0.8417803, 0.92534095, 1)
|
||||
shader_parameter/night_intensity = 0.0
|
||||
shader_parameter/horizon_height = 0.1
|
||||
shader_parameter/horizon_blur = 0.4
|
||||
shader_parameter/star_density = 1500.0
|
||||
shader_parameter/star_rarity = 2500.0
|
||||
shader_parameter/star_scale_variation = 0.5
|
||||
shader_parameter/shooting_star_texture = ExtResource("5_25h5j")
|
||||
shader_parameter/shooting_star_color = Color(0.38431373, 0.61960787, 0.23137255, 1)
|
||||
shader_parameter/shooting_star_density = 1.0
|
||||
shader_parameter/shooting_star_speed = 1.0
|
||||
shader_parameter/shooting_star_scale = 5.0
|
||||
shader_parameter/shooting_star_lifetime = 0.5
|
||||
shader_parameter/shooting_star_travel_dist = 15.0
|
||||
|
||||
[sub_resource type="Sky" id="Sky_50i22"]
|
||||
sky_material = SubResource("ShaderMaterial_nbjr8")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_5p27e"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_50i22")
|
||||
ambient_light_color = Color(1, 0.88767046, 0.775341, 1)
|
||||
tonemap_mode = 2
|
||||
tonemap_exposure = 0.9979451
|
||||
ssao_enabled = true
|
||||
ssao_radius = 0.5
|
||||
ssao_intensity = 14.0
|
||||
ssao_detail = 0.0
|
||||
ssil_enabled = true
|
||||
glow_enabled = true
|
||||
glow_levels/4 = 1.0
|
||||
glow_strength = 0.65
|
||||
glow_bloom = 1.0
|
||||
fog_enabled = true
|
||||
fog_mode = 1
|
||||
fog_light_color = Color(0.75821966, 0.8417803, 0.92534095, 1)
|
||||
fog_density = 0.004876705
|
||||
fog_sky_affect = 0.0
|
||||
|
||||
[sub_resource type="CompositorEffect" id="CompositorEffect_q52t1"]
|
||||
resource_local_to_scene = false
|
||||
resource_name = ""
|
||||
enabled = true
|
||||
effect_callback_type = 1
|
||||
access_resolved_color = false
|
||||
access_resolved_depth = false
|
||||
needs_motion_vectors = false
|
||||
needs_normal_roughness = false
|
||||
script = ExtResource("6_4flsv")
|
||||
line_thickness = 2.0
|
||||
metadata/_custom_type_script = "uid://brcimd12tx3dm"
|
||||
|
||||
[sub_resource type="Compositor" id="Compositor_ljvyb"]
|
||||
compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_q52t1")])
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_263ax"]
|
||||
closed = true
|
||||
bake_interval = 50.0
|
||||
_data = {
|
||||
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 3.5, 0, 0, 0, 0, 0, 0, 0, 0, 3.5, 0, 100),
|
||||
"tilts": PackedFloat32Array(0, 0)
|
||||
}
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_00nq7"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_tf5c3"]
|
||||
flip_faces = true
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_ss5dh"]
|
||||
flip_faces = true
|
||||
|
||||
[sub_resource type="Resource" id="Resource_jrt8d"]
|
||||
script = ExtResource("20_oy1bb")
|
||||
name = "Railway Pool"
|
||||
available_railways = Array[PackedScene]([ExtResource("20_87uwe"), ExtResource("21_kgq5s"), ExtResource("22_61psf"), ExtResource("23_0aqpp"), ExtResource("24_vvb5q"), ExtResource("25_g1vc5"), ExtResource("26_mrhmq"), ExtResource("27_4j5xl"), ExtResource("28_5hxod")])
|
||||
|
||||
[sub_resource type="Resource" id="Resource_n3osn"]
|
||||
script = ExtResource("15_3blen")
|
||||
name = "countryside"
|
||||
available_chunks = Array[PackedScene]([ExtResource("21_q33df"), ExtResource("22_oy1bb"), ExtResource("23_jrt8d"), ExtResource("24_da76s"), ExtResource("25_bl6g7"), ExtResource("26_apxmr"), ExtResource("27_c1qt3"), ExtResource("28_cx0op"), ExtResource("29_7egjd"), ExtResource("30_wrw4f"), ExtResource("31_87uwe"), ExtResource("32_kgq5s"), ExtResource("33_61psf"), ExtResource("34_0aqpp"), ExtResource("35_vvb5q"), ExtResource("36_g1vc5"), ExtResource("37_mrhmq"), ExtResource("38_4j5xl"), ExtResource("39_5hxod"), ExtResource("40_cg70g"), ExtResource("41_0hcuf"), ExtResource("42_pnf06"), ExtResource("43_dk53a"), ExtResource("44_3e8o7"), ExtResource("16_w3xtw"), ExtResource("46_x3dq8"), ExtResource("47_qtye1"), ExtResource("48_lb04u"), ExtResource("49_8yrkd"), ExtResource("50_degqg"), ExtResource("51_m2g0k"), ExtResource("52_t0vjt"), ExtResource("53_onf87"), ExtResource("54_uikmt"), ExtResource("55_wqk7x"), ExtResource("56_mct5v"), ExtResource("57_vopi0"), ExtResource("58_gyi63"), ExtResource("59_tmr0c"), ExtResource("60_fabvq"), ExtResource("61_eqvpo"), ExtResource("62_o2rfi"), ExtResource("63_rdfho"), ExtResource("64_0qygb"), ExtResource("65_nsaed"), ExtResource("66_gjvwf"), ExtResource("67_phi8g"), ExtResource("68_3tf04"), ExtResource("69_2ahsh"), ExtResource("70_j0my1"), ExtResource("71_6v8j8"), ExtResource("72_ti8tr"), ExtResource("73_oyi2q"), ExtResource("74_atmjp"), ExtResource("75_46tek"), ExtResource("76_xg6nk"), ExtResource("77_tjl0j"), ExtResource("78_grfqq"), ExtResource("79_ifm82"), ExtResource("80_12q61"), ExtResource("81_8s2c6"), ExtResource("82_sbpv7"), ExtResource("83_ogh8f"), ExtResource("84_pok0w"), ExtResource("85_78qtq"), ExtResource("86_8hw7h"), ExtResource("87_sionv")])
|
||||
metadata/_custom_type_script = "uid://wv6kcqkibium"
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_g1vc5"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("100_vvb5q")
|
||||
shader_parameter/albedo_color = Color(0.20906344, 0.22397816, 0.17167854, 1)
|
||||
shader_parameter/use_texture = true
|
||||
shader_parameter/uv_scale = Vector2(3, 3)
|
||||
shader_parameter/palette_shift_y = 0.0
|
||||
shader_parameter/gradient_start_y = 0.0
|
||||
shader_parameter/gradient_end_y = 1.5
|
||||
shader_parameter/light_steps = 6.0
|
||||
shader_parameter/step_softness = 0.06800000253148
|
||||
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
|
||||
shader_parameter/shadow_offset = 0.0
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/use_ghibli_glint = true
|
||||
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
|
||||
shader_parameter/glint_intensity = 1.0
|
||||
shader_parameter/glint_sharpness = 32.0
|
||||
shader_parameter/emission_color = Color(0.7852906, 0.29383978, 0.017263923, 1)
|
||||
shader_parameter/emission_energy = 4.9350002344125
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_vvb5q"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("100_vvb5q")
|
||||
shader_parameter/albedo_color = Color(0.20906344, 0.22397816, 0.17167854, 1)
|
||||
shader_parameter/use_texture = true
|
||||
shader_parameter/uv_scale = Vector2(3, 3)
|
||||
shader_parameter/palette_shift_y = 0.0
|
||||
shader_parameter/gradient_start_y = 0.0
|
||||
shader_parameter/gradient_end_y = 10.0
|
||||
shader_parameter/light_steps = 6.0
|
||||
shader_parameter/step_softness = 0.06800000253148
|
||||
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
|
||||
shader_parameter/shadow_offset = 0.0
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/use_ghibli_glint = true
|
||||
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
|
||||
shader_parameter/glint_intensity = 1.0
|
||||
shader_parameter/glint_sharpness = 32.0
|
||||
shader_parameter/emission_color = Color(0.78431374, 0.29411766, 0.015686275, 1)
|
||||
shader_parameter/emission_energy = 5.0000002375
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_mrhmq"]
|
||||
size = Vector2(400, 200)
|
||||
orientation = 2
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4j5xl"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("103_g1vc5")
|
||||
shader_parameter/colore_raggi = Color(1, 0.85, 0.6, 1)
|
||||
shader_parameter/opacita_generale = 0.050000002375
|
||||
shader_parameter/centro_raggi = Vector2(0.5, 0)
|
||||
shader_parameter/larghezza_raggi = 0.59000002476512
|
||||
shader_parameter/densita_raggi = 50.0
|
||||
shader_parameter/velocita_movimento = 0.50000002375
|
||||
shader_parameter/attenuazione_altezza = 1.3550000611026198
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_g1vc5"]
|
||||
size = Vector2(300, 50)
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_4j5xl"]
|
||||
uv2_padding = 1.7
|
||||
size = Vector2(600, 300)
|
||||
|
||||
[node name="MainMenu" type="Node3D" unique_id=448381304]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
|
||||
|
||||
[node name="EnvironmentManager" parent="." unique_id=1611939731 instance=ExtResource("1_2o8pc")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.822516, 0, 1.9254212)
|
||||
environment_config = ExtResource("2_vvb5q")
|
||||
cloud_material = SubResource("ShaderMaterial_00nq7")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="." unique_id=759297292]
|
||||
transform = Transform3D(-1, -7.619397e-09, 8.709011e-08, 0, 0.9961947, 0.08715574, -8.742278e-08, 0.08715574, -0.9961947, 3.098, 7.415, -10.92)
|
||||
fov = 80.0
|
||||
size = 11.429
|
||||
|
||||
[node name="Control" type="Control" parent="." unique_id=199803985]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("3_wbrya")
|
||||
|
||||
[node name="Snow" type="CheckButton" parent="Control" unique_id=769304933]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 173.0
|
||||
offset_right = 98.0
|
||||
offset_bottom = 204.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Snow"
|
||||
|
||||
[node name="Rain" type="CheckButton" parent="Control" unique_id=1548774966]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 201.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 232.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Rain"
|
||||
|
||||
[node name="Wind" type="CheckButton" parent="Control" unique_id=943873853]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 256.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 287.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Wind"
|
||||
|
||||
[node name="WindSlider" type="HSlider" parent="Control" unique_id=1544638111]
|
||||
layout_mode = 0
|
||||
offset_left = 103.0
|
||||
offset_top = 263.0
|
||||
offset_right = 187.0
|
||||
offset_bottom = 279.0
|
||||
max_value = 1.0
|
||||
step = 0.01
|
||||
|
||||
[node name="Fireflies" type="CheckButton" parent="Control" unique_id=488349591]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 284.0
|
||||
offset_right = 117.0
|
||||
offset_bottom = 315.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Fireflies"
|
||||
|
||||
[node name="Storm" type="CheckButton" parent="Control" unique_id=1859052596]
|
||||
layout_mode = 0
|
||||
offset_left = 98.0
|
||||
offset_top = 201.0
|
||||
offset_right = 194.0
|
||||
offset_bottom = 232.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Storm"
|
||||
|
||||
[node name="DayTimeLabel" type="Label" parent="Control" unique_id=1460156174]
|
||||
layout_mode = 0
|
||||
offset_left = 13.0
|
||||
offset_top = 15.0
|
||||
offset_right = 347.0
|
||||
offset_bottom = 38.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Time 00:00"
|
||||
|
||||
[node name="DayTimeSlider" type="HSlider" parent="Control" unique_id=723784379]
|
||||
layout_mode = 0
|
||||
offset_left = 13.0
|
||||
offset_top = 40.0
|
||||
offset_right = 138.0
|
||||
offset_bottom = 56.0
|
||||
max_value = 1.0
|
||||
step = 0.01
|
||||
|
||||
[node name="DayTimeOptions" type="OptionButton" parent="Control" unique_id=218627420]
|
||||
layout_mode = 0
|
||||
offset_left = 13.0
|
||||
offset_top = 59.0
|
||||
offset_right = 124.0
|
||||
offset_bottom = 90.0
|
||||
selected = 1
|
||||
item_count = 4
|
||||
popup/item_0/text = "Sunrise"
|
||||
popup/item_0/id = 1
|
||||
popup/item_1/text = "Day"
|
||||
popup/item_1/id = 2
|
||||
popup/item_2/text = "Sunset"
|
||||
popup/item_2/id = 3
|
||||
popup/item_3/text = "Night"
|
||||
popup/item_3/id = 4
|
||||
|
||||
[node name="Dust" type="CheckButton" parent="Control" unique_id=804944216]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 91.0
|
||||
offset_right = 137.0
|
||||
offset_bottom = 122.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Dust"
|
||||
|
||||
[node name="Blur" type="CheckButton" parent="Control" unique_id=2063736566]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 118.0
|
||||
offset_right = 137.0
|
||||
offset_bottom = 149.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Blur"
|
||||
|
||||
[node name="Pause" type="CheckButton" parent="Control" unique_id=1765896343]
|
||||
layout_mode = 0
|
||||
offset_left = 143.0
|
||||
offset_top = 31.0
|
||||
offset_right = 238.0
|
||||
offset_bottom = 62.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Pause"
|
||||
|
||||
[node name="Shadows" type="CheckButton" parent="Control" unique_id=956633222]
|
||||
layout_mode = 0
|
||||
offset_left = 8.0
|
||||
offset_top = 145.0
|
||||
offset_right = 137.0
|
||||
offset_bottom = 176.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
button_pressed = true
|
||||
text = "Shadows"
|
||||
|
||||
[node name="RandomWeather" type="Button" parent="Control" unique_id=1536509006]
|
||||
layout_mode = 0
|
||||
offset_left = 12.0
|
||||
offset_top = 314.0
|
||||
offset_right = 195.0
|
||||
offset_bottom = 345.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Random Weather"
|
||||
|
||||
[node name="WeatherEventLabel" type="Label" parent="Control" unique_id=322337968]
|
||||
layout_mode = 0
|
||||
offset_left = 1656.0
|
||||
offset_top = 11.0
|
||||
offset_right = 1908.0
|
||||
offset_bottom = 34.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Weather: Clear"
|
||||
|
||||
[node name="Fog" type="CheckButton" parent="Control" unique_id=526128915]
|
||||
layout_mode = 0
|
||||
offset_left = 7.0
|
||||
offset_top = 228.0
|
||||
offset_right = 97.0
|
||||
offset_bottom = 259.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Fog"
|
||||
|
||||
[node name="UpdateRails" type="Button" parent="Control" unique_id=745513027]
|
||||
layout_mode = 0
|
||||
offset_left = 12.0
|
||||
offset_top = 351.0
|
||||
offset_right = 195.0
|
||||
offset_bottom = 382.0
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_focus_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_hover_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(1, 1, 1, 1)
|
||||
text = "Update Rails"
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1016294400]
|
||||
environment = SubResource("Environment_5p27e")
|
||||
compositor = SubResource("Compositor_ljvyb")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=688658402]
|
||||
transform = Transform3D(0.7246343, -0.20683524, 0.65736127, 0, 0.95389545, 0.30013812, -0.6891333, -0.21749045, 0.6912255, 0, 0, 0)
|
||||
light_indirect_energy = 0.0
|
||||
shadow_enabled = true
|
||||
shadow_normal_bias = 4.0
|
||||
shadow_opacity = 0.97
|
||||
shadow_blur = 0.5
|
||||
directional_shadow_mode = 0
|
||||
directional_shadow_max_distance = 200.0
|
||||
|
||||
[node name="rail" type="Path3D" parent="." unique_id=28337754]
|
||||
transform = Transform3D(1.3113416e-07, 0, 1, 0, 1, 0, -1, 0, 1.3113416e-07, -47.25185, 1.7218199, 3.4257338)
|
||||
curve = SubResource("Curve3D_263ax")
|
||||
script = ExtResource("7_5p27e")
|
||||
train_model = ExtResource("8_ljvyb")
|
||||
wagon_pool = ExtResource("9_wcae3")
|
||||
wagon_count = 5
|
||||
wagon_gap = 0.8
|
||||
wagon_spacing_scale = 0.9
|
||||
sleepers_model = ExtResource("10_00nq7")
|
||||
fireworks_scene = ExtResource("11_aylkj")
|
||||
|
||||
[node name="MainMap" parent="." unique_id=1895741703 instance=ExtResource("2_wbrya")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 63.069893, 0, -4.743943e-06)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1523044435]
|
||||
transform = Transform3D(-80.07708, -1.0239479e-05, 4.277144e-13, 0, -2.9642006e-06, -64.80289, 1.2091303e-05, -67.813, 2.832624e-06, 308.45245, 59.279312, 332.5165)
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("PlaneMesh_00nq7")
|
||||
surface_material_override/0 = ExtResource("17_0aqpp")
|
||||
|
||||
[node name="MeshInstance3D8" type="MeshInstance3D" parent="." unique_id=700685887]
|
||||
transform = Transform3D(-102.76, -1.5355214e-05, 6.6584504e-13, 0, -4.445142e-06, -100.882, 1.5516329e-05, -101.693, 4.4096923e-06, 308.88962, 87.955734, 253.48846)
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("PlaneMesh_00nq7")
|
||||
surface_material_override/0 = ExtResource("17_0aqpp")
|
||||
|
||||
[node name="MeshInstance3D2" type="MeshInstance3D" parent="." unique_id=979528118]
|
||||
transform = Transform3D(92.25, 5.803644e-06, -2.5166788e-13, 0, -3.990456e-06, -90.565, -5.864611e-06, 91.291, -3.958722e-06, -286.00787, 10.153786, 357.9332)
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("PlaneMesh_tf5c3")
|
||||
surface_material_override/0 = ExtResource("17_0aqpp")
|
||||
|
||||
[node name="MeshInstance3D5" type="MeshInstance3D" parent="." unique_id=326273857]
|
||||
transform = Transform3D(165.29848, 7.2594685e-06, -3.5258244e-13, 0, -4.991448e-06, -126.88, -1.0508524e-05, 114.19102, -5.546101e-06, -286.30368, 61.161095, 256.40826)
|
||||
cast_shadow = 0
|
||||
mesh = SubResource("PlaneMesh_ss5dh")
|
||||
surface_material_override/0 = ExtResource("17_0aqpp")
|
||||
|
||||
[node name="biome_generator" parent="." unique_id=1861369341 node_paths=PackedStringArray("rail_path") instance=ExtResource("14_jgypt")]
|
||||
rail_path = NodePath("../rail")
|
||||
railway_pool = SubResource("Resource_jrt8d")
|
||||
biome_list = Array[ExtResource("15_3blen")]([SubResource("Resource_n3osn")])
|
||||
entity_pool = ExtResource("78_xg6nk")
|
||||
entity_spawn_probability = 1.0
|
||||
max_entities_per_chunk = 5
|
||||
eye_line = 8
|
||||
lamppost_max_wire_distance = 0.0
|
||||
|
||||
[node name="Fuji2" parent="." unique_id=842328745 instance=ExtResource("99_61psf")]
|
||||
transform = Transform3D(0.09337742, 0, 0.9715159, 0, 0.5685182, 0, -0.3828171, 0, 0.23697394, -236.37123, -4.8100815, 216.00096)
|
||||
|
||||
[node name="Fuji3" parent="." unique_id=2039882802 instance=ExtResource("99_61psf")]
|
||||
transform = Transform3D(-0.09359112, 0, 0.9713834, 0, 0.56225973, 0, -0.38276488, 0, -0.23751618, 239.46135, 0, 210.85814)
|
||||
|
||||
[node name="Fuji4" parent="." unique_id=930179001 instance=ExtResource("99_61psf")]
|
||||
transform = Transform3D(-0.09359112, 0, 0.9713834, 0, 0.56225973, 0, -0.38276488, 0, -0.23751618, 239.46135, 1.7057877, 224.6928)
|
||||
|
||||
[node name="Landscape" parent="Fuji4" index="0" unique_id=244602034]
|
||||
transform = Transform3D(28.638817, 1.7053026e-13, -7.6293945e-06, 0, 13.6219845, 2.1621709e-06, 0, -1.0284306e-06, 28.638834, -10.786804, 5.0069, 17.382736)
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_g1vc5")
|
||||
|
||||
[node name="Fuji5" parent="." unique_id=1070037082 instance=ExtResource("99_61psf")]
|
||||
transform = Transform3D(0.0935979, 0, 0.9713791, 0, 0.56225973, 0, -0.38276324, 0, 0.23753339, -275.95566, -3.4616928, 232.02234)
|
||||
|
||||
[node name="Landscape" parent="Fuji5" index="0" unique_id=244602034]
|
||||
transform = Transform3D(28.638819, 1.7053026e-13, -7.6293945e-06, 0, 13.6219845, 2.1621709e-06, 0, -1.0284306e-06, 28.638836, -10.786743, 6.703195, 17.382767)
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_g1vc5")
|
||||
|
||||
[node name="Fuji" parent="." unique_id=265091139 instance=ExtResource("100_0aqpp")]
|
||||
transform = Transform3D(-4.88843, -0.020050459, 0.86837775, -0.010355438, 4.9646697, 0.0563373, -0.86854756, 0.053657297, -4.8881464, 23.802309, -0.98594666, 495.7)
|
||||
|
||||
[node name="Fuji6" parent="." unique_id=150126281 instance=ExtResource("100_0aqpp")]
|
||||
transform = Transform3D(-5.287449, -0.020231497, 0.22351237, -0.011200703, 5.009496, 0.014500697, -0.9394429, 0.05414178, -1.2581636, 32.446022, 15.848213, 525.54346)
|
||||
|
||||
[node name="Mt Fuji_simplified_3d_mesh" parent="Fuji6" index="0" unique_id=1389340781]
|
||||
transform = Transform3D(0.5151193, -0.011206273, -0.07264297, 0.077138014, 0.07483422, 0.48510167, 3.5762787e-07, -0.4938935, 0.07515043, 6.299696, 12.244916, 3.004303)
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_vvb5q")
|
||||
|
||||
[node name="godrays" type="MeshInstance3D" parent="." unique_id=1749824118]
|
||||
transform = Transform3D(2.815, -4.250532e-07, 4.250532e-07, -4.250532e-07, -2.815, 0, 4.250532e-07, -6.418125e-14, -2.815, 6.0080514, 313.92493, 537.49884)
|
||||
mesh = SubResource("PlaneMesh_mrhmq")
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_4j5xl")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="." unique_id=42270833]
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -363.0
|
||||
offset_top = 53.0
|
||||
offset_right = 363.0
|
||||
offset_bottom = 320.0
|
||||
grow_horizontal = 2
|
||||
scale = Vector2(1.115, 1.115)
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("4_s4fdn")
|
||||
|
||||
[node name="PlayButton" parent="." unique_id=600844315 instance=ExtResource("100_g1vc5")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(310, 100)
|
||||
offset_left = 1382.0
|
||||
offset_top = 565.00006
|
||||
offset_right = 1390.0
|
||||
offset_bottom = 575.00006
|
||||
rotation = -0.009196131
|
||||
|
||||
[node name="SettingsButton" parent="." unique_id=1859615781 instance=ExtResource("100_g1vc5")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(310, 100)
|
||||
offset_left = 1373.0
|
||||
offset_top = 710.0
|
||||
offset_right = 1381.0
|
||||
offset_bottom = 720.0
|
||||
rotation = 0.06252365
|
||||
image = ExtResource("101_mrhmq")
|
||||
|
||||
[node name="QuitButton" parent="." unique_id=651503398 instance=ExtResource("100_g1vc5")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(303.115, 100)
|
||||
offset_left = 1398.0
|
||||
offset_top = 865.0
|
||||
offset_right = 1406.0
|
||||
offset_bottom = 875.0
|
||||
rotation = 0.022713656
|
||||
image = ExtResource("102_4j5xl")
|
||||
|
||||
[node name="Sign" parent="." unique_id=1434874277 instance=ExtResource("103_mrhmq")]
|
||||
transform = Transform3D(-0.018105423, -0.08729696, 1.6876467, 0.3427237, 1.6524807, 0.08915475, -1.6547844, 0.3432014, -7.853079e-08, 0.94805247, 4.0550222, -8.807153)
|
||||
|
||||
[node name="MeshInstance3D3" type="MeshInstance3D" parent="." unique_id=1950247032]
|
||||
transform = Transform3D(1.5203506, -0.44894534, 0.030680113, -0.021315442, 0.030708417, 1.7382143, -0.4068166, -1.6794026, 0.023582276, 276.50534, 23.57726, 236.73982)
|
||||
mesh = SubResource("PlaneMesh_g1vc5")
|
||||
surface_material_override/0 = ExtResource("104_mrhmq")
|
||||
|
||||
[node name="MeshInstance3D4" type="MeshInstance3D" parent="." unique_id=629597316]
|
||||
transform = Transform3D(1.4397906, 0.70180196, 0.030680114, -0.03402824, 0.009193684, 1.7382141, 0.6350316, -1.5906845, 0.023582274, -288.67242, 33.770287, 220.70956)
|
||||
mesh = SubResource("PlaneMesh_g1vc5")
|
||||
surface_material_override/0 = ExtResource("104_mrhmq")
|
||||
|
||||
[node name="MeshInstance3D6" type="MeshInstance3D" parent="." unique_id=2144255861]
|
||||
transform = Transform3D(1.6832176, -0.017943796, 0.008806392, -0.013573697, 0.01762575, 1.0548786, -0.02886198, -1.0547605, 0.017477933, -8.321105, 61.167877, 523.8041)
|
||||
mesh = SubResource("PlaneMesh_4j5xl")
|
||||
surface_material_override/0 = ExtResource("104_mrhmq")
|
||||
|
||||
[connection signal="toggled" from="Control/Snow" to="Control" method="_on_snow_toggled"]
|
||||
[connection signal="toggled" from="Control/Rain" to="Control" method="_on_rain_toggled"]
|
||||
[connection signal="toggled" from="Control/Wind" to="Control" method="_on_wind_toggled"]
|
||||
[connection signal="value_changed" from="Control/WindSlider" to="Control" method="_on_wind_slider_value_changed"]
|
||||
[connection signal="toggled" from="Control/Fireflies" to="Control" method="_on_fireflies_toggled"]
|
||||
[connection signal="toggled" from="Control/Storm" to="Control" method="_on_storm_toggled"]
|
||||
[connection signal="value_changed" from="Control/DayTimeSlider" to="Control" method="_on_day_time_slider_value_changed"]
|
||||
[connection signal="item_selected" from="Control/DayTimeOptions" to="Control" method="_on_option_button_item_selected"]
|
||||
[connection signal="toggled" from="Control/Dust" to="Control" method="_on_dust_toggled"]
|
||||
[connection signal="toggled" from="Control/Blur" to="Control" method="_on_blur_toggled"]
|
||||
[connection signal="toggled" from="Control/Pause" to="Control" method="_on_pause_toggled"]
|
||||
[connection signal="toggled" from="Control/Shadows" to="Control" method="_on_shadows_toggled"]
|
||||
[connection signal="pressed" from="Control/RandomWeather" to="Control" method="_on_random_weather_pressed"]
|
||||
[connection signal="toggled" from="Control/Fog" to="Control" method="_on_fog_toggled"]
|
||||
[connection signal="pressed" from="Control/UpdateRails" to="Control" method="_on_update_rails_pressed"]
|
||||
|
||||
[editable path="Fuji4"]
|
||||
[editable path="Fuji5"]
|
||||
[editable path="Fuji6"]
|
||||
94
tgcc/main menu/menu.tres
Normal file
94
tgcc/main menu/menu.tres
Normal file
@@ -0,0 +1,94 @@
|
||||
[gd_resource type="Resource" script_class="EnvironmentConfig" format=3 uid="uid://dufa43jysup7"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://7vwkfffa5vao" path="res://core/daynight/clouds_shadow.gdshader" id="1_glk67"]
|
||||
[ext_resource type="Shader" uid="uid://cq4vlcj8cuvge" path="res://core/daynight/fog.gdshader" id="2_jx3gj"]
|
||||
[ext_resource type="Script" uid="uid://butda6k2tli3o" path="res://core/environment_config.gd" id="3_vg0pk"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ruhh7"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_glk67")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r4tfj"]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.0
|
||||
alpha_antialiasing_mode = 0
|
||||
disable_ambient_light = true
|
||||
albedo_color = Color(0.44410604, 0.32877246, 0.26597014, 0.7541567)
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b5atu"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_jx3gj")
|
||||
shader_parameter/use_red_as_alpha = true
|
||||
shader_parameter/fog_color = Color(0.8, 0.85, 0.9, 0.5)
|
||||
shader_parameter/fog_density = 0.25
|
||||
shader_parameter/scroll_speed = Vector2(0.05, 0.01)
|
||||
shader_parameter/texture_scale = Vector2(1, 1)
|
||||
shader_parameter/edge_softness_y = 0.2
|
||||
shader_parameter/edge_softness_x = 0.1
|
||||
shader_parameter/night_intensity = 0.7953524793650795
|
||||
shader_parameter/sun_color = Color(0.2841828, 0.2023238, 0.27953526, 1)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_vg0pk")
|
||||
morning_color = Color(0.93333334, 0.78039217, 0.6039216, 1)
|
||||
afternoon_color = Color(0.9490196, 0.62352943, 0.38039216, 1)
|
||||
night_color = Color(0.18431373, 0.18431373, 0.4862745, 1)
|
||||
sun_rotation_morning = Vector3(-50, -90, 0)
|
||||
sun_rotation_afternoon = Vector3(-120, -90, 0)
|
||||
sun_rotation_night = Vector3(-130, -90, 0)
|
||||
night_light_energy = 1.0
|
||||
exposure_morning = 0.8
|
||||
exposure_afternoon = 0.7
|
||||
exposure_night = 0.7
|
||||
rain_exposure_morning = 0.3
|
||||
rain_exposure_afternoon = 0.4
|
||||
rain_exposure_night = 1.8
|
||||
storm_exposure_night = 1.8
|
||||
sky_top_morning = Color(0.3176695, 0.43165123, 0.8895605, 1)
|
||||
sky_top_afternoon = Color(0.42314696, 0.32907307, 0.74664044, 1)
|
||||
sky_top_night = Color(0.20675227, 0.20655477, 0.4437065, 1)
|
||||
sky_horizon_afternoon = Color(0.96335155, 0.3563425, 0.1952039, 1)
|
||||
sky_horizon_night = Color(0.13534775, 0.09013713, 0.2303626, 1)
|
||||
grad_top_morning = Color(0.7921569, 0.8784314, 0.95686275, 1)
|
||||
grad_top_afternoon = Color(0.8627451, 0.24313726, 0.5411765, 1)
|
||||
grad_top_night = Color(0.16470589, 0.16470589, 0.26666668, 1)
|
||||
grad_bot_morning = Color(0.64469576, 0.7045768, 0.9350398, 1)
|
||||
grad_bot_afternoon = Color(0.2509804, 0.019607844, 0.043137256, 1)
|
||||
grad_intensity_morning = 0.05
|
||||
grad_intensity_afternoon = 0.1
|
||||
grad_intensity_night = 0.5
|
||||
fog_color_morning = Color(0.7490196, 0.8509804, 0.9490196, 1)
|
||||
fog_color_afternoon = Color(0.9823975, 0.8034449, 0.8778439, 1)
|
||||
fog_color_night = Color(0.18375358, 0.16627002, 0.3588226, 1)
|
||||
fog_density_morning = 0.01
|
||||
fog_density_afternoon = 0.01
|
||||
fog_density_night = 0.03
|
||||
glow_morning = 0.5
|
||||
glow_afternoon = 0.5
|
||||
glow_night = 0.8
|
||||
material_fog = SubResource("ShaderMaterial_b5atu")
|
||||
material_drops = SubResource("StandardMaterial3D_r4tfj")
|
||||
material_clouds = SubResource("ShaderMaterial_ruhh7")
|
||||
lightning_color = Color(1, 0.9843137, 0.4627451, 1)
|
||||
lightning_min = 2
|
||||
lightning_max = 4
|
||||
lightning_scale_min = 2.0
|
||||
lightning_scale_max = 5.0
|
||||
godray_max_rain = 30
|
||||
godray_spawn_radius = 100.0
|
||||
godray_spawn_offset = Vector3(20, 80, 20)
|
||||
godray_rotation_degrees = Vector3(50, 30, 0)
|
||||
godray_scale = Vector3(2, 25, 50)
|
||||
snow_amount = 2000.0
|
||||
wind_amount = 50
|
||||
cloud_speed = 0.01
|
||||
fireflies_amount = 550
|
||||
fireflies_spawn_ray = 60.0
|
||||
water_color_morning = Color(0.33333334, 0.654902, 0.5294118, 1)
|
||||
water_color_afternoon = Color(0.5803922, 0.5137255, 0.2901961, 1)
|
||||
water_color_night = Color(0.48235294, 0.45490196, 0.69411767, 1)
|
||||
metadata/_custom_type_script = "uid://butda6k2tli3o"
|
||||
143
tgcc/main menu/nuvole.gdshader
Normal file
143
tgcc/main menu/nuvole.gdshader
Normal file
@@ -0,0 +1,143 @@
|
||||
shader_type spatial;
|
||||
render_mode specular_disabled, cull_disabled, blend_mix;
|
||||
|
||||
// --- GLOBAL UNIFORMS ---
|
||||
global uniform float global_wind_scale;
|
||||
global uniform float global_wind_speed;
|
||||
global uniform float global_wind_strength;
|
||||
global uniform vec2 global_wind_direction;
|
||||
|
||||
// --- PARAMETRI DELLA NUVOLA ---
|
||||
uniform bool billboard_enabled = true;
|
||||
uniform bool wind_enabled = true;
|
||||
uniform sampler2D texture_nuvola : source_color, filter_linear_mipmap, repeat_disable;
|
||||
uniform float nuvola_scale = 1.0;
|
||||
uniform float rotation_degrees = 0.0;
|
||||
uniform vec2 texture_offset = vec2(0.0, 0.0);
|
||||
uniform float opacity : hint_range(0.0, 1.0) = 1.0;
|
||||
|
||||
// --- CONTROLLI PER MORDERE E SFOCARE I BORDI ---
|
||||
group_uniforms Effetti_Bordo_Nuvola;
|
||||
uniform float edge_erosion : hint_range(0.0, 1.0) = 0.25;
|
||||
uniform float blur_intensity : hint_range(0.0, 1.0) = 0.2;
|
||||
uniform float edge_softness : hint_range(0.01, 1.0) = 0.15;
|
||||
|
||||
// --- GRADIENTE LOCALE FRASTAGLIATO ---
|
||||
group_uniforms Gradiente_Ghibli;
|
||||
uniform vec4 colore_alto_luce : source_color = vec4(1.0, 0.9, 0.75, 1.0);
|
||||
uniform vec4 colore_basso_ombra : source_color = vec4(0.4, 0.35, 0.5, 1.0);
|
||||
uniform float limite_inferiore = -0.5;
|
||||
uniform float limite_superiore = 0.5;
|
||||
uniform float intensita_gradiente : hint_range(0.0, 1.0) = 0.6;
|
||||
uniform float frastagliatura_bordo : hint_range(0.0, 2.0) = 0.4;
|
||||
uniform float frequenza_frastagliatura : hint_range(0.1, 30.0) = 8.0;
|
||||
uniform float rotazione_gradiente_z : hint_range(-180.0, 180.0) = 0.0;
|
||||
|
||||
// --- INTERAZIONE LUCE ENV ---
|
||||
group_uniforms Interazione_Luce_Ambiente;
|
||||
uniform float volume_bulge : hint_range(0.1, 4.0) = 1.5;
|
||||
uniform float micro_bumpiness : hint_range(0.0, 1.0) = 0.25;
|
||||
uniform float light_steps : hint_range(1.0, 10.0) = 3.0;
|
||||
uniform float shadow_wrap : hint_range(0.0, 1.0) = 0.5;
|
||||
uniform float cast_shadow_strength : hint_range(0.0, 1.0) = 0.5;
|
||||
|
||||
varying vec3 v_world_pos;
|
||||
varying vec3 v_local_pos_ruotata;
|
||||
|
||||
void vertex() {
|
||||
vec3 instance_pos = MODEL_MATRIX[3].xyz;
|
||||
v_world_pos = instance_pos;
|
||||
|
||||
float total_angle = radians(rotation_degrees);
|
||||
if (wind_enabled) {
|
||||
float time = TIME * global_wind_speed;
|
||||
float sway = sin(time + (instance_pos.x * 0.1) + (instance_pos.z * 0.1));
|
||||
total_angle += (sway * global_wind_strength * 0.5);
|
||||
}
|
||||
|
||||
vec3 v_local = VERTEX;
|
||||
float rad_z = radians(rotazione_gradiente_z);
|
||||
float cz = cos(rad_z), sz = sin(rad_z);
|
||||
v_local_pos_ruotata = vec3(v_local.x * cz - v_local.y * sz, v_local.x * sz + v_local.y * cz, v_local.z);
|
||||
|
||||
if (billboard_enabled) {
|
||||
vec3 view_pos_origin = (VIEW_MATRIX * vec4(instance_pos, 1.0)).xyz;
|
||||
vec2 offset = (UV - 0.5) * nuvola_scale;
|
||||
|
||||
float c = cos(total_angle);
|
||||
float s = sin(total_angle);
|
||||
vec2 rotated_offset = vec2(offset.x * c - offset.y * s, offset.x * s + offset.y * c);
|
||||
|
||||
MODELVIEW_MATRIX = mat4(1.0);
|
||||
MODELVIEW_MATRIX[3].xyz = view_pos_origin + vec3(rotated_offset.x, rotated_offset.y, 0.0);
|
||||
VERTEX = vec3(0.0);
|
||||
} else {
|
||||
float c = cos(total_angle);
|
||||
float s = sin(total_angle);
|
||||
vec2 local_v = (VERTEX.xy) * nuvola_scale;
|
||||
VERTEX.x = local_v.x * c - local_v.y * s;
|
||||
VERTEX.y = local_v.x * s + local_v.y * c;
|
||||
}
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
// FIX: Corretta la dichiarazione pulita delle UV modificate dall'offset
|
||||
vec2 uv = UV + texture_offset;
|
||||
|
||||
// 1. APPLICAZIONE DEL BLUR MULTI-CAMPIONAMENTO
|
||||
float b_offset = blur_intensity * 0.02;
|
||||
|
||||
vec4 tex = texture(texture_nuvola, uv) * 0.4; // Campione centrale
|
||||
tex += texture(texture_nuvola, uv + vec2(b_offset, b_offset)) * 0.15;
|
||||
tex += texture(texture_nuvola, uv + vec2(-b_offset, -b_offset)) * 0.15;
|
||||
tex += texture(texture_nuvola, uv + vec2(-b_offset, b_offset)) * 0.15;
|
||||
tex += texture(texture_nuvola, uv + vec2(b_offset, -b_offset)) * 0.15;
|
||||
|
||||
// Generazione del rumore procedurale
|
||||
float freq = frequenza_frastagliatura;
|
||||
float noise = sin(v_local_pos_ruotata.x * freq) * cos(uv.y * freq);
|
||||
noise += sin(uv.x * freq * 2.15) * 0.5;
|
||||
float noise_norm = (noise + 1.5) / 3.0;
|
||||
|
||||
// 2. LOGICA DI EROSIONE DEL BORDO
|
||||
float alpha_erosa = tex.a - (noise_norm * edge_erosion);
|
||||
float alpha_finale = smoothstep(0.2 - edge_softness, 0.2 + edge_softness, alpha_erosa);
|
||||
|
||||
if (alpha_finale < 0.001) {
|
||||
discard;
|
||||
}
|
||||
|
||||
// 3. APPLICAZIONE GRADIENTE LOCALE
|
||||
float y_frastagliata = v_local_pos_ruotata.y + (noise * frastagliatura_bordo);
|
||||
float grad_factor = smoothstep(limite_inferiore, limite_superiore, y_frastagliata);
|
||||
vec3 colore_gradiente = mix(colore_basso_ombra.rgb, colore_alto_luce.rgb, grad_factor);
|
||||
|
||||
ALBEDO = mix(tex.rgb, colore_gradiente, intensita_gradiente);
|
||||
ALPHA = alpha_finale * opacity;
|
||||
|
||||
// GENERAZIONE NORMALE SFERICA VIRTUALE
|
||||
vec2 normal_uv = uv - vec2(0.5);
|
||||
vec3 fake_normal = vec3(
|
||||
normal_uv.x * volume_bulge + (noise * micro_bumpiness),
|
||||
normal_uv.y * volume_bulge + (noise * micro_bumpiness),
|
||||
sqrt(max(0.0, 1.0 - dot(normal_uv, normal_uv)))
|
||||
);
|
||||
NORMAL = normalize(fake_normal);
|
||||
}
|
||||
|
||||
void light() {
|
||||
float n_dot_l = dot(NORMAL, LIGHT);
|
||||
float light_wrap = smoothstep(0.0, 1.0, (n_dot_l + shadow_wrap) / (1.0 + shadow_wrap));
|
||||
|
||||
float raw_step = light_wrap * light_steps;
|
||||
float lower_step = floor(raw_step);
|
||||
float fract_step = fract(raw_step);
|
||||
float soft_lerp = smoothstep(0.35, 0.65, fract_step);
|
||||
float stepped_intensity = (lower_step + soft_lerp) / light_steps;
|
||||
|
||||
float shadow_factor = mix(1.0 - cast_shadow_strength, 1.0, ATTENUATION);
|
||||
float cutoff_mask = smoothstep(0.0, 0.05, ATTENUATION);
|
||||
|
||||
vec3 env_sun_light = LIGHT_COLOR * stepped_intensity * shadow_factor * cutoff_mask;
|
||||
DIFFUSE_LIGHT += ALBEDO * env_sun_light;
|
||||
}
|
||||
1
tgcc/main menu/nuvole.gdshader.uid
Normal file
1
tgcc/main menu/nuvole.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://drrww3ypdw1hi
|
||||
125
tgcc/main menu/sky_test.gdshader
Normal file
125
tgcc/main menu/sky_test.gdshader
Normal file
@@ -0,0 +1,125 @@
|
||||
shader_type sky;
|
||||
|
||||
uniform vec3 sky_top_color : source_color;
|
||||
uniform vec3 sky_horizon_color : source_color;
|
||||
uniform float night_intensity : hint_range(0.0, 1.0) = 0.0;
|
||||
|
||||
group_uniforms Sky_Gradient_Control;
|
||||
// Controlla l'altezza massima a cui arriva il colore del tramonto (0.0 = solo orizzonte, 1.0 = tutto il cielo)
|
||||
uniform float horizon_height : hint_range(0.0, 1.0) = 0.1;
|
||||
// Controlla la morbidezza della sfumatura tra tramonto e cielo scuro
|
||||
uniform float horizon_blur : hint_range(0.0, 1.0) = 0.4;
|
||||
|
||||
group_uniforms Fixed_Stars;
|
||||
uniform float star_density : hint_range(0.0, 2000.0) = 1500.0;
|
||||
uniform float star_rarity : hint_range(100.0, 5000.0) = 2500.0;
|
||||
uniform float star_scale_variation : hint_range(0.0, 1.0) = 0.5;
|
||||
|
||||
group_uniforms Shooting_Stars;
|
||||
uniform sampler2D shooting_star_texture : hint_default_black, filter_linear_mipmap;
|
||||
uniform vec4 shooting_star_color : source_color = vec4(1.0, 0.9, 0.7, 1.0);
|
||||
uniform float shooting_star_density : hint_range(0.0, 1.0) = 0.3;
|
||||
uniform float shooting_star_speed : hint_range(0.1, 3.0) = 1.0;
|
||||
uniform float shooting_star_scale : hint_range(0.1, 20.0) = 5.0;
|
||||
uniform float shooting_star_lifetime : hint_range(0.1, 1.0) = 0.5;
|
||||
uniform float shooting_star_travel_dist : hint_range(1.0, 30.0) = 15.0;
|
||||
|
||||
|
||||
// Utility di hashing per la generazione procedurale delle stelle
|
||||
float hash(vec3 p) {
|
||||
p = fract(p * 0.1031);
|
||||
p += dot(p, p.yzx + 33.33);
|
||||
return fract((p.x + p.y) * p.z);
|
||||
}
|
||||
|
||||
vec2 hash2(vec3 p) {
|
||||
float h1 = hash(p);
|
||||
float h2 = hash(p + vec3(57.1, 13.7, 9.3));
|
||||
return vec2(h1, h2);
|
||||
}
|
||||
|
||||
vec3 hash3(float seed) {
|
||||
vec3 p = fract(vec3(seed) * vec3(0.1031, 0.1030, 0.0973));
|
||||
p += dot(p, p.yzx + 33.33);
|
||||
return fract((p.xxy + p.yzz) * p.zyx);
|
||||
}
|
||||
|
||||
void sky() {
|
||||
float sky_v = clamp(EYEDIR.y, 0.0, 1.0);
|
||||
|
||||
// Applichiamo la compressione non lineare al gradiente dell'orizzonte
|
||||
float gradient_high = clamp(horizon_height + horizon_blur, 0.001, 1.0);
|
||||
float adjusted_sky_v = smoothstep(horizon_height, gradient_high, sky_v);
|
||||
|
||||
// Mix dei colori del cielo basato sul nuovo gradiente compresso
|
||||
vec3 final_sky = mix(sky_horizon_color, sky_top_color, adjusted_sky_v);
|
||||
|
||||
// --- STELLE FISSE E CADENTI (Comparsa graduale con la notte) ---
|
||||
float star_fade = smoothstep(0.3, 0.8, night_intensity);
|
||||
|
||||
if (star_fade > 0.0) {
|
||||
|
||||
// Fixed Stars
|
||||
vec3 star_pos = EYEDIR * star_density;
|
||||
vec2 rnd = hash2(star_pos);
|
||||
float star_shape = pow(rnd.x, star_rarity);
|
||||
float scale_factor = mix(1.0, (rnd.y * 0.8 + 0.2), star_scale_variation);
|
||||
star_shape *= scale_factor;
|
||||
star_shape *= pow(sky_v, 2.0); // Le stelle si concentrano in alto lontano dall'orizzonte
|
||||
|
||||
float twinkle_speed = TIME * (1.0 + rnd.y * 5.0);
|
||||
float twinkle_phase = rnd.x * 100.0;
|
||||
float twinkle = sin(twinkle_speed + twinkle_phase) * 0.25 + 0.75;
|
||||
star_shape *= twinkle;
|
||||
|
||||
final_sky += star_shape * star_fade;
|
||||
|
||||
// Shooting Stars
|
||||
if (shooting_star_density > 0.001) {
|
||||
float time_scaled = TIME * shooting_star_speed;
|
||||
float time_seed = floor(time_scaled);
|
||||
float time_progress = fract(time_scaled);
|
||||
vec3 shoot_rnd = hash3(time_seed);
|
||||
|
||||
if (shoot_rnd.z < shooting_star_density * star_fade) {
|
||||
vec3 center = normalize(vec3(shoot_rnd.x * 2.0 - 1.0, shoot_rnd.y * 0.6 + 0.4, shoot_rnd.z * 2.0 - 1.0));
|
||||
vec3 up = vec3(0.0, 1.0, 0.0);
|
||||
vec3 tangent = normalize(cross(up, center));
|
||||
vec3 bitangent = cross(center, tangent);
|
||||
|
||||
float random_angle = hash(vec3(time_seed)) * 6.28318;
|
||||
float s = sin(random_angle);
|
||||
float c = cos(random_angle);
|
||||
|
||||
vec3 flight_axis = tangent * c - bitangent * s;
|
||||
vec3 side_axis = tangent * s + bitangent * c;
|
||||
|
||||
flight_axis.y *= 0.15;
|
||||
flight_axis = normalize(flight_axis);
|
||||
side_axis = normalize(cross(flight_axis, center));
|
||||
|
||||
float proj_x = dot(EYEDIR, side_axis);
|
||||
float proj_y = dot(EYEDIR, flight_axis);
|
||||
float proj_z = dot(EYEDIR, center);
|
||||
|
||||
if (proj_z > 0.0) {
|
||||
vec2 uv = vec2(proj_x, -proj_y) * shooting_star_scale;
|
||||
uv.y += (time_progress - (shooting_star_lifetime * 0.5)) * shooting_star_travel_dist;
|
||||
uv.x += 0.5;
|
||||
|
||||
float bounds = step(0.0, uv.x) * step(uv.x, 1.0) * step(0.0, uv.y) * step(uv.y, 1.0);
|
||||
|
||||
if (bounds > 0.5) {
|
||||
float star_tex = texture(shooting_star_texture, uv).r;
|
||||
float f_in = smoothstep(0.0, shooting_star_lifetime * 0.2, time_progress);
|
||||
float f_out = 1.0 - smoothstep(shooting_star_lifetime * 0.7, shooting_star_lifetime, time_progress);
|
||||
float fade = f_in * f_out;
|
||||
final_sky += star_tex * shooting_star_color.rgb * star_fade * fade;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
COLOR = final_sky;
|
||||
}
|
||||
1
tgcc/main menu/sky_test.gdshader.uid
Normal file
1
tgcc/main menu/sky_test.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bneue3fq71vp8
|
||||
94
tgcc/map/main.tres
Normal file
94
tgcc/map/main.tres
Normal file
@@ -0,0 +1,94 @@
|
||||
[gd_resource type="Resource" script_class="EnvironmentConfig" format=3 uid="uid://cq627dtyhaew6"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://7vwkfffa5vao" path="res://core/daynight/clouds_shadow.gdshader" id="1_snwbd"]
|
||||
[ext_resource type="Shader" uid="uid://cq4vlcj8cuvge" path="res://core/daynight/fog.gdshader" id="2_mriqi"]
|
||||
[ext_resource type="Script" uid="uid://butda6k2tli3o" path="res://core/environment_config.gd" id="3_5pgsq"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ruhh7"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_snwbd")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r4tfj"]
|
||||
transparency = 2
|
||||
alpha_scissor_threshold = 0.0
|
||||
alpha_antialiasing_mode = 0
|
||||
disable_ambient_light = true
|
||||
albedo_color = Color(0.44410604, 0.32877246, 0.26597014, 0.7541567)
|
||||
billboard_mode = 3
|
||||
particles_anim_h_frames = 1
|
||||
particles_anim_v_frames = 1
|
||||
particles_anim_loop = false
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b5atu"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_mriqi")
|
||||
shader_parameter/use_red_as_alpha = true
|
||||
shader_parameter/fog_color = Color(0.8, 0.85, 0.9, 0.5)
|
||||
shader_parameter/fog_density = 0.25
|
||||
shader_parameter/scroll_speed = Vector2(0.05, 0.01)
|
||||
shader_parameter/texture_scale = Vector2(1, 1)
|
||||
shader_parameter/edge_softness_y = 0.2
|
||||
shader_parameter/edge_softness_x = 0.1
|
||||
shader_parameter/night_intensity = 0.7953524793650795
|
||||
shader_parameter/sun_color = Color(0.2841828, 0.2023238, 0.27953526, 1)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_5pgsq")
|
||||
morning_color = Color(0.93333334, 0.78039217, 0.6039216, 1)
|
||||
afternoon_color = Color(0.9490196, 0.62352943, 0.38039216, 1)
|
||||
night_color = Color(0.18431373, 0.18431373, 0.4862745, 1)
|
||||
sun_rotation_morning = Vector3(-50, -90, 0)
|
||||
sun_rotation_afternoon = Vector3(-120, -90, 0)
|
||||
sun_rotation_night = Vector3(-130, -90, 0)
|
||||
night_light_energy = 1.0
|
||||
exposure_morning = 0.8
|
||||
exposure_afternoon = 0.7
|
||||
exposure_night = 0.7
|
||||
rain_exposure_morning = 0.3
|
||||
rain_exposure_afternoon = 0.4
|
||||
rain_exposure_night = 1.8
|
||||
storm_exposure_night = 1.8
|
||||
sky_top_morning = Color(0.3176695, 0.43165123, 0.8895605, 1)
|
||||
sky_top_afternoon = Color(0.42314696, 0.32907307, 0.74664044, 1)
|
||||
sky_top_night = Color(0.20675227, 0.20655477, 0.4437065, 1)
|
||||
sky_horizon_afternoon = Color(0.96335155, 0.3563425, 0.1952039, 1)
|
||||
sky_horizon_night = Color(0.13534775, 0.09013713, 0.2303626, 1)
|
||||
grad_top_morning = Color(0.7921569, 0.8784314, 0.95686275, 1)
|
||||
grad_top_afternoon = Color(0.8627451, 0.24313726, 0.5411765, 1)
|
||||
grad_top_night = Color(0.16470589, 0.16470589, 0.26666668, 1)
|
||||
grad_bot_morning = Color(0.64469576, 0.7045768, 0.9350398, 1)
|
||||
grad_bot_afternoon = Color(0.2509804, 0.019607844, 0.043137256, 1)
|
||||
grad_intensity_morning = 0.05
|
||||
grad_intensity_afternoon = 0.1
|
||||
grad_intensity_night = 0.5
|
||||
fog_color_morning = Color(0.7490196, 0.8509804, 0.9490196, 1)
|
||||
fog_color_afternoon = Color(0.9823975, 0.8034449, 0.8778439, 1)
|
||||
fog_color_night = Color(0.18375358, 0.16627002, 0.3588226, 1)
|
||||
fog_density_morning = 0.01
|
||||
fog_density_afternoon = 0.01
|
||||
fog_density_night = 0.03
|
||||
glow_morning = 0.4
|
||||
glow_night = 0.8
|
||||
enable_fog = true
|
||||
material_fog = SubResource("ShaderMaterial_b5atu")
|
||||
material_drops = SubResource("StandardMaterial3D_r4tfj")
|
||||
material_clouds = SubResource("ShaderMaterial_ruhh7")
|
||||
lightning_color = Color(1, 0.9843137, 0.4627451, 1)
|
||||
lightning_min = 2
|
||||
lightning_max = 4
|
||||
lightning_scale_min = 2.0
|
||||
lightning_scale_max = 5.0
|
||||
godray_max_rain = 30
|
||||
godray_spawn_radius = 100.0
|
||||
godray_spawn_offset = Vector3(20, 80, 20)
|
||||
godray_rotation_degrees = Vector3(50, 30, 0)
|
||||
godray_scale = Vector3(2, 25, 50)
|
||||
snow_amount = 2000.0
|
||||
wind_amount = 50
|
||||
cloud_speed = 0.01
|
||||
fireflies_amount = 550
|
||||
fireflies_spawn_ray = 60.0
|
||||
water_color_morning = Color(0.33333334, 0.654902, 0.5294118, 1)
|
||||
water_color_afternoon = Color(0.5803922, 0.5137255, 0.2901961, 1)
|
||||
water_color_night = Color(0.48235294, 0.45490196, 0.69411767, 1)
|
||||
metadata/_custom_type_script = "uid://butda6k2tli3o"
|
||||
24
tgcc/map/map_1/map_menu.tscn
Normal file
24
tgcc/map/map_1/map_menu.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene format=3 uid="uid://bmwmdsdyfxfc1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bqxpqhla2kogq" path="res://tgcc/chunk/railway/scene/chunk_railway_straight.tscn" id="1_y7bw6"]
|
||||
[ext_resource type="PackedScene" uid="uid://f53hfrjaxkwa" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_bridge.tscn" id="4_00x5k"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3pcshw2bioic" path="res://tgcc/chunk/railway/scene/chunk_railway_station_oneside.tscn" id="5_p7hrm"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqevecsd1cm1v" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_3.tscn" id="8_1hpm5"]
|
||||
|
||||
[node name="map_menu" type="Node3D" unique_id=1895741703]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60.363808, 0, 0)
|
||||
|
||||
[node name="Chunk_Rettilineo_1" parent="." unique_id=1071973766 instance=ExtResource("1_y7bw6")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -20, 0, 0)
|
||||
|
||||
[node name="Chunk_Rettilineo_2" parent="." unique_id=1793918166 instance=ExtResource("1_y7bw6")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -40, 0, 0)
|
||||
|
||||
[node name="Chunk_Rettilineo_Ponte4" parent="." unique_id=503627087 instance=ExtResource("4_00x5k")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -100, 0, 0)
|
||||
|
||||
[node name="Blockout_Stazione2" parent="." unique_id=987402604 instance=ExtResource("5_p7hrm")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -60, 0, 0)
|
||||
|
||||
[node name="chunk_railway_straight_3" parent="." unique_id=1086786013 instance=ExtResource("8_1hpm5")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -80, 0, 0)
|
||||
@@ -5,21 +5,73 @@
|
||||
[ext_resource type="Material" uid="uid://7eq06nknuhuu" path="res://tgcc/chunk/material/glass_train.tres" id="3_sgpgi"]
|
||||
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="4_gua5y"]
|
||||
[ext_resource type="Material" uid="uid://o31kp0jm07q3" path="res://tgcc/chunk/material/rocks.tres" id="5_pj7tp"]
|
||||
[ext_resource type="Material" uid="uid://bsote67noubj2" path="res://tgcc/train/Color1_train.tres" id="7_sgpgi"]
|
||||
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="8_eke0t"]
|
||||
[ext_resource type="Script" uid="uid://5frq4qrokiy2" path="res://tgcc/train/train_glass_emission.gd" id="9_4qk3b"]
|
||||
[ext_resource type="Texture2D" uid="uid://j4m5wsf4magb" path="res://tgcc/chunk/material/decal/vending_decal.png" id="9_eke0t"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_p4ai0"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("8_eke0t")
|
||||
shader_parameter/albedo_color = Color(0.79855084, 0.6236654, 0.12806374, 1)
|
||||
shader_parameter/use_texture = true
|
||||
shader_parameter/uv_scale = Vector2(1, 1)
|
||||
shader_parameter/palette_shift_y = 0.0
|
||||
shader_parameter/gradient_start_y = 0.0
|
||||
shader_parameter/gradient_end_y = 10.0
|
||||
shader_parameter/light_steps = 3.0
|
||||
shader_parameter/step_softness = 0.1
|
||||
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
|
||||
shader_parameter/shadow_offset = 0.0
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/use_ghibli_glint = true
|
||||
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
|
||||
shader_parameter/glint_intensity = 1.0
|
||||
shader_parameter/glint_sharpness = 32.0
|
||||
shader_parameter/emission_color = Color(0.8, 0.62352943, 0.12941177, 1)
|
||||
shader_parameter/emission_energy = 6.000000285
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_eke0t"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("8_eke0t")
|
||||
shader_parameter/albedo_color = Color(0.5128612, 0.093720816, 0.060247816, 1)
|
||||
shader_parameter/use_texture = true
|
||||
shader_parameter/uv_scale = Vector2(3, 3)
|
||||
shader_parameter/palette_shift_y = 0.0
|
||||
shader_parameter/gradient_start_y = 0.0
|
||||
shader_parameter/gradient_end_y = 1.5
|
||||
shader_parameter/light_steps = 3.0
|
||||
shader_parameter/step_softness = 0.1
|
||||
shader_parameter/shadow_color = Color(0.4, 0.4, 0.6, 1)
|
||||
shader_parameter/shadow_offset = 0.0
|
||||
shader_parameter/cast_shadow_strength = 0.6
|
||||
shader_parameter/use_ghibli_glint = true
|
||||
shader_parameter/glint_color = Color(1, 0.95, 0.85, 1)
|
||||
shader_parameter/glint_intensity = 1.0
|
||||
shader_parameter/glint_sharpness = 32.0
|
||||
shader_parameter/emission_color = Color(0.26628578, 0.030174213, 0.015801903, 1)
|
||||
shader_parameter/emission_energy = 10.000000475
|
||||
|
||||
[node name="Treno" unique_id=1182090923 groups=["weather_node"] instance=ExtResource("1_33mei")]
|
||||
script = ExtResource("9_4qk3b")
|
||||
|
||||
[node name="Finestrini" parent="." index="0" unique_id=435624928]
|
||||
[node name="Finestrini" parent="." index="0" unique_id=755457549]
|
||||
surface_material_override/0 = ExtResource("2_bks4l")
|
||||
surface_material_override/1 = ExtResource("3_sgpgi")
|
||||
surface_material_override/2 = ExtResource("4_gua5y")
|
||||
|
||||
[node name="Ruote" parent="." index="1" unique_id=1465803702]
|
||||
[node name="Ruote" parent="." index="1" unique_id=2102344646]
|
||||
surface_material_override/0 = ExtResource("5_pj7tp")
|
||||
surface_material_override/1 = ExtResource("4_gua5y")
|
||||
|
||||
[node name="Train_003" parent="." index="2" unique_id=1756410889]
|
||||
surface_material_override/0 = ExtResource("7_sgpgi")
|
||||
surface_material_override/1 = SubResource("ShaderMaterial_p4ai0")
|
||||
surface_material_override/2 = ExtResource("4_gua5y")
|
||||
surface_material_override/3 = ExtResource("2_bks4l")
|
||||
surface_material_override/4 = ExtResource("5_pj7tp")
|
||||
surface_material_override/5 = SubResource("ShaderMaterial_eke0t")
|
||||
|
||||
[node name="SpotLight3D2" type="SpotLight3D" parent="." index="3" unique_id=806665693]
|
||||
transform = Transform3D(-0.9991066, -0.0071845297, -0.041647736, -0.024456872, 0.9019672, 0.4311113, 0.034467563, 0.4317447, -0.9013371, -0.9830586, 3.6702201, 4.8446546)
|
||||
light_color = Color(0.8039216, 0.6784314, 0.3254902, 1)
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
[ext_resource type="Material" uid="uid://7eq06nknuhuu" path="res://tgcc/chunk/material/glass_train.tres" id="3_wwpam"]
|
||||
[ext_resource type="Material" uid="uid://cn20mp8ep3yxu" path="res://tgcc/chunk/material/wires.tres" id="4_wwpam"]
|
||||
[ext_resource type="Material" uid="uid://o31kp0jm07q3" path="res://tgcc/chunk/material/rocks.tres" id="5_yjhvb"]
|
||||
[ext_resource type="Material" uid="uid://d4vsl672lwv7" path="res://tgcc/chunk/material/rocks2.tres" id="6_6ck1e"]
|
||||
[ext_resource type="Material" uid="uid://bsote67noubj2" path="res://tgcc/train/Color1_train.tres" id="7_wglgp"]
|
||||
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="8_1l8o6"]
|
||||
[ext_resource type="Texture2D" uid="uid://j4m5wsf4magb" path="res://tgcc/chunk/material/decal/vending_decal.png" id="9_t2dm3"]
|
||||
@@ -33,24 +32,24 @@ shader_parameter/emission_energy = 6.50000030875
|
||||
|
||||
[node name="wagon" unique_id=14655460 groups=["weather_node"] instance=ExtResource("1_ud2nc")]
|
||||
|
||||
[node name="Finestrini_001" parent="." index="0" unique_id=596055029]
|
||||
[node name="Finestrini_001" parent="." index="0" unique_id=1279718063]
|
||||
surface_material_override/0 = ExtResource("2_upuw2")
|
||||
surface_material_override/1 = ExtResource("3_wwpam")
|
||||
surface_material_override/2 = ExtResource("4_wwpam")
|
||||
|
||||
[node name="Ruote_001" parent="." index="1" unique_id=1586259797]
|
||||
[node name="Ruote_001" parent="." index="1" unique_id=1956251925]
|
||||
surface_material_override/0 = ExtResource("5_yjhvb")
|
||||
surface_material_override/1 = ExtResource("4_wwpam")
|
||||
|
||||
[node name="Train_001" parent="." index="2" unique_id=2037201435]
|
||||
surface_material_override/0 = ExtResource("6_6ck1e")
|
||||
[node name="Train_001" parent="." index="2" unique_id=1459741257]
|
||||
surface_material_override/0 = ExtResource("4_wwpam")
|
||||
surface_material_override/1 = ExtResource("7_wglgp")
|
||||
surface_material_override/2 = ExtResource("2_upuw2")
|
||||
surface_material_override/3 = ExtResource("4_wwpam")
|
||||
surface_material_override/4 = SubResource("ShaderMaterial_t2dm3")
|
||||
|
||||
[node name="Train_002" parent="." index="3" unique_id=57076645]
|
||||
surface_material_override/0 = ExtResource("6_6ck1e")
|
||||
[node name="Train_002" parent="." index="3" unique_id=1114714449]
|
||||
surface_material_override/0 = ExtResource("4_wwpam")
|
||||
|
||||
[node name="Decal6" type="Decal" parent="." index="4" unique_id=207551392]
|
||||
transform = Transform3D(-3.3876326e-08, 0.775, -3.3876326e-08, 0, -3.3876326e-08, -0.775, -0.775, -3.3876326e-08, 1.4807812e-15, 1.5078804, 1.2809073, 1.508283)
|
||||
|
||||
Reference in New Issue
Block a user