Merge pull request 'polish2' (#12) from polish2 into main
Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
@@ -80,7 +80,7 @@ lightning_min = 2
|
||||
lightning_max = 4
|
||||
lightning_scale_min = 2.0
|
||||
lightning_scale_max = 5.0
|
||||
godray_max_rain = 60
|
||||
godray_max_rain = 30
|
||||
godray_spawn_radius = 100.0
|
||||
godray_spawn_offset = Vector3(20, 80, 20)
|
||||
godray_rotation_degrees = Vector3(50, 30, 0)
|
||||
|
||||
212
core/daynight/water_river.gdshader
Normal file
212
core/daynight/water_river.gdshader
Normal file
@@ -0,0 +1,212 @@
|
||||
#define USE_CAUSTICS 1
|
||||
#define USE_REFRACTION 1
|
||||
#define USE_DISPLACEMENT 1
|
||||
#define USE_STYLIZED_LIGHTING 0
|
||||
#define USE_UNSHADED 0
|
||||
|
||||
shader_type spatial;
|
||||
#if USE_UNSHADED
|
||||
render_mode unshaded, depth_draw_never;
|
||||
#else
|
||||
render_mode depth_draw_never;
|
||||
#endif
|
||||
|
||||
uniform sampler2D DEPTH_TEXTURE: hint_depth_texture;
|
||||
|
||||
group_uniforms Color;
|
||||
uniform vec4 surface_color : source_color = vec4(0.2,1.0,0.8,1.0);
|
||||
uniform vec4 depth_color : source_color = vec4(0.08,0.2,0.4,1.0);
|
||||
uniform vec4 foam_color : source_color = vec4(1.0);
|
||||
uniform float depth_size = 12.0;
|
||||
|
||||
group_uniforms Roughness;
|
||||
uniform float surface_roughness : hint_range(0.0, 1.0, 0.01) = 0.05;
|
||||
uniform float foam_roughness : hint_range(0.0, 1.0, 0.01) = 0.05;
|
||||
|
||||
#if USE_CAUSTICS
|
||||
group_uniforms Caustics;
|
||||
uniform sampler2D caustics_texture;
|
||||
uniform float caustics_strength = 2.0;
|
||||
uniform vec2 caustics_scale = vec2(0.5);
|
||||
#endif
|
||||
|
||||
group_uniforms Wave;
|
||||
uniform sampler2D wave_texture;
|
||||
#if !USE_UNSHADED
|
||||
uniform sampler2D wave_normal_texture;
|
||||
#endif
|
||||
uniform float wave_softness : hint_range(0.0, 10.0, 0.1) = 3.0;
|
||||
uniform vec2 wave_scale = vec2(0.2);
|
||||
uniform vec2 wave_layer_scale = vec2(1.5);
|
||||
uniform float wave_highlight : hint_range(0.0, 1.0, 0.05) = 0.5;
|
||||
|
||||
group_uniforms Wave.Motion;
|
||||
uniform vec2 wave_velocity = vec2(0.02);
|
||||
|
||||
group_uniforms Foam;
|
||||
uniform sampler2D foam_texture;
|
||||
uniform float edge_foam_depth_size = 1.0;
|
||||
uniform float wave_foam_amount : hint_range(0.0, 1.0, 0.01) = 0.8;
|
||||
uniform float foam_start : hint_range(0.0, 1.0, 0.05) = 0.15;
|
||||
uniform float foam_end : hint_range(0.0, 1.0, 0.05) = 0.3;
|
||||
uniform float foam_exponent = 2.0;
|
||||
|
||||
#if USE_REFRACTION
|
||||
group_uniforms Refraction;
|
||||
uniform float refraction_amount = 0.5;
|
||||
uniform float refraction_exponent = 0.5;
|
||||
#endif
|
||||
|
||||
#if USE_DISPLACEMENT
|
||||
group_uniforms Displacement;
|
||||
uniform float displacement_amount = 0.3;
|
||||
#endif
|
||||
|
||||
#if USE_STYLIZED_LIGHTING && !USE_UNSHADED
|
||||
group_uniforms Lighting;
|
||||
uniform float diffuse_steps = 12.0;
|
||||
uniform float diffuse_smoothness : hint_range(0.0, 1.0, 0.01) = 0.2;
|
||||
uniform float specular_steps = 12.0;
|
||||
uniform float specular_smoothness : hint_range(0.0, 1.0, 0.01) = 0.2;
|
||||
#endif
|
||||
|
||||
uniform sampler2D screen_texture : hint_screen_texture;
|
||||
varying vec3 world_pos;
|
||||
|
||||
#if USE_CAUSTICS
|
||||
vec3 sample_caustics(vec2 uv){
|
||||
vec2 caustics_uv = uv * caustics_scale;
|
||||
return vec3(
|
||||
texture(caustics_texture, caustics_uv).r,
|
||||
texture(caustics_texture, caustics_uv+vec2(0.02,0.02)).r,
|
||||
texture(caustics_texture, caustics_uv+vec2(0.03,0.01)).r
|
||||
);
|
||||
}
|
||||
#endif
|
||||
|
||||
vec4 sample_world_dpos(vec2 screen_uv, mat4 inv_proj_mat, mat4 inv_view_mat){
|
||||
vec4 clip_pos = vec4(screen_uv * 2.0 - 1.0, texture(DEPTH_TEXTURE, screen_uv).r, 1.0);
|
||||
vec4 view_pos = inv_proj_mat * clip_pos;
|
||||
view_pos /= view_pos.w;
|
||||
vec4 world_dpos = inv_view_mat * view_pos;
|
||||
return world_dpos;
|
||||
}
|
||||
|
||||
vec4 sample_wave(sampler2D tex, vec2 uv, vec2 velocity, float lod){
|
||||
vec2 base_uv = uv * wave_scale;
|
||||
vec2 wave_uv1 = (base_uv * wave_layer_scale) + (TIME * -velocity);
|
||||
float wave1 = textureLod(tex, wave_uv1, lod).r;
|
||||
|
||||
vec2 wave_uv2 = base_uv + (TIME * velocity);
|
||||
vec4 wave2 = textureLod(tex, wave_uv2 - (wave1 * 0.1), lod);
|
||||
|
||||
return wave2;
|
||||
}
|
||||
|
||||
void vertex(){
|
||||
world_pos = (MODEL_MATRIX * vec4(VERTEX, 1.0)).xyz;
|
||||
|
||||
#if USE_DISPLACEMENT
|
||||
float wave = sample_wave(wave_texture, world_pos.xz, wave_velocity, wave_softness).r;
|
||||
VERTEX.y += wave*displacement_amount;
|
||||
#endif
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
float wave = sample_wave(wave_texture, world_pos.xz, wave_velocity, wave_softness).r;
|
||||
wave = smoothstep(0.0,1.0,wave);
|
||||
|
||||
vec2 screen_uv = SCREEN_UV;
|
||||
|
||||
// Refraction
|
||||
#if USE_REFRACTION
|
||||
screen_uv += ((pow(wave, refraction_exponent)*2.0 - 0.5) * 0.01 * refraction_amount);
|
||||
|
||||
vec4 world_dpos = sample_world_dpos(screen_uv, INV_PROJECTION_MATRIX, INV_VIEW_MATRIX);
|
||||
|
||||
float pre_depth = pow(clamp((world_dpos.y - world_pos.y + depth_size)/depth_size, 0.0, 1.0), 4.0);
|
||||
screen_uv = mix(screen_uv, SCREEN_UV, pre_depth);
|
||||
if(world_dpos.y - world_pos.y > 0.0){
|
||||
screen_uv = SCREEN_UV;
|
||||
}
|
||||
#else
|
||||
vec4 world_dpos = sample_world_dpos(screen_uv, INV_PROJECTION_MATRIX, INV_VIEW_MATRIX);
|
||||
#endif
|
||||
|
||||
world_dpos = sample_world_dpos(screen_uv, INV_PROJECTION_MATRIX, INV_VIEW_MATRIX);
|
||||
|
||||
vec2 surface_uv = world_dpos.xz * 0.2;
|
||||
|
||||
float depth = pow(clamp((world_dpos.y - world_pos.y + depth_size)/depth_size, 0.0, 1.0), 4.0);
|
||||
|
||||
// Caustics
|
||||
#if USE_CAUSTICS
|
||||
vec3 caustics1 = sample_caustics(surface_uv + (TIME * -wave_velocity));
|
||||
vec3 caustics2 = sample_caustics((surface_uv + (caustics1.r*0.05)) + (TIME * (wave_velocity*0.5)));
|
||||
vec3 caustics = caustics2 * (1.0 - depth);
|
||||
#endif
|
||||
|
||||
// Edge Foam
|
||||
float edge_foam_depth = clamp((world_dpos.y - world_pos.y + edge_foam_depth_size)/edge_foam_depth_size, 0.0, 1.0);
|
||||
|
||||
// Wave Foam
|
||||
float wave_foam = wave;
|
||||
float foam = max(edge_foam_depth, wave_foam * wave_foam_amount);
|
||||
|
||||
float foam_shape = 1.0 - texture(foam_texture, world_pos.xz* 0.5).r;
|
||||
foam = clamp((foam - foam_start) / (foam_end - foam_start), 0.0, 1.0);
|
||||
foam = clamp((foam - foam_shape) / (1.0 - foam_shape), 0.0, 1.0);
|
||||
foam = pow(foam, foam_exponent);
|
||||
|
||||
vec3 flat_color = mix(depth_color, surface_color, depth).rgb;
|
||||
|
||||
vec4 screen = texture(screen_texture, screen_uv);
|
||||
vec3 color = screen.rgb;
|
||||
#if USE_CAUSTICS
|
||||
color += vec3(pow(caustics * caustics_strength, vec3(2.0)));
|
||||
#endif
|
||||
color = mix(flat_color, color, 0.4 * depth);
|
||||
color = mix(color, surface_color.rgb, wave * wave_highlight);
|
||||
color = mix(color, foam_color.rgb, foam);
|
||||
|
||||
#if !USE_UNSHADED
|
||||
vec3 wave_normal_map = sample_wave(wave_normal_texture, world_pos.xz, wave_velocity, wave_softness).rgb;
|
||||
NORMAL_MAP = wave_normal_map;
|
||||
#endif
|
||||
|
||||
ROUGHNESS = mix(surface_roughness, foam_roughness, foam);
|
||||
|
||||
ALBEDO = color;
|
||||
}
|
||||
|
||||
#if USE_STYLIZED_LIGHTING && !USE_UNSHADED
|
||||
void light(){
|
||||
float ndotl = dot(NORMAL, LIGHT) * ATTENUATION;
|
||||
//ndotl = smoothstep(0.0,1.0-ROUGHNESS,ndotl);
|
||||
float light = ndotl;
|
||||
|
||||
float light_mult = light * diffuse_steps;
|
||||
float light_step_base = floor(light_mult);
|
||||
float light_factor = light_mult - light_step_base;
|
||||
|
||||
light_factor = smoothstep(0.5 - diffuse_smoothness * 0.5, 0.5 + diffuse_smoothness * 0.5, light_factor);
|
||||
light = (light_step_base + light_factor) / diffuse_steps;
|
||||
|
||||
DIFFUSE_LIGHT += (LIGHT_COLOR+ALBEDO) * light / PI;
|
||||
|
||||
float roughness = mix(0.01, 0.99, ROUGHNESS);
|
||||
vec3 h = normalize(VIEW + LIGHT);
|
||||
float ndoth = clamp(dot(NORMAL, h), 0.0, 1.0) * ATTENUATION;
|
||||
float specular = clamp(pow(ndoth, 16.0/(roughness)), 0.1, 0.99);
|
||||
specular = mix(pow(specular, 2.0-roughness),0.00,pow(roughness, 0.1));
|
||||
|
||||
float specular_mult = specular * specular_steps;
|
||||
float specular_step_base = floor(specular_mult);
|
||||
float specular_factor = specular_mult - specular_step_base;
|
||||
|
||||
specular_factor = smoothstep(0.5 - specular_smoothness * 0.5, 0.5 + specular_smoothness * 0.5, specular_factor);
|
||||
specular = (specular_step_base + specular_factor) / specular_steps;
|
||||
|
||||
SPECULAR_LIGHT += (LIGHT_COLOR + ALBEDO) * specular;
|
||||
}
|
||||
#endif
|
||||
1
core/daynight/water_river.gdshader.uid
Normal file
1
core/daynight/water_river.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cb12c2j8rfu6a
|
||||
@@ -9,7 +9,6 @@
|
||||
[ext_resource type="PackedScene" uid="uid://crlk31ecl480n" path="res://tgcc/chunk/countryside/scene/chunk_country_corner_03.tscn" id="7_4elh6"]
|
||||
[ext_resource type="PackedScene" uid="uid://b8blm6bwintf7" path="res://tgcc/chunk/countryside/scene/chunk_country_empty_01.tscn" id="7_xgfli"]
|
||||
[ext_resource type="PackedScene" uid="uid://brpp7fe5noq8v" path="res://tgcc/chunk/countryside/scene/chunk_country_cross_3_01.tscn" id="8_hvd8d"]
|
||||
[ext_resource type="PackedScene" uid="uid://cjv1e8pc6gde1" path="res://tgcc/chunk/countryside/scene/chunk_country_corner_01.tscn" id="8_nurqm"]
|
||||
[ext_resource type="PackedScene" uid="uid://cu2chsjh8wuvp" path="res://tgcc/chunk/countryside/scene/chunk_country_straight_02.tscn" id="9_51cxd"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqoai3665vb0a" path="res://tgcc/chunk/countryside/scene/chunk_country_corner_02.tscn" id="9_q6kbb"]
|
||||
[ext_resource type="PackedScene" uid="uid://cjv1e8pc6gde1" path="res://tgcc/chunk/countryside/scene/chunk_country_corner_01.tscn" id="10_ufarv"]
|
||||
@@ -28,13 +27,21 @@
|
||||
[ext_resource type="AudioStream" uid="uid://creenugno7hm" path="res://core/daynight/sounds/thunder_4.mp3" id="18_lfsx4"]
|
||||
[ext_resource type="PackedScene" uid="uid://pxmcy0lhne5d" path="res://tgcc/chunk/countryside/scene/chunk_country_straight_03.tscn" id="19_ne4de"]
|
||||
[ext_resource type="AudioStream" uid="uid://bm6dq4jwsbxf6" path="res://core/daynight/sounds/thunder_5.mp3" id="19_niwdr"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs3dkwcc8w2uk" path="res://tgcc/chunk/river/scene/chunk_r_l_1.tscn" id="20_q6kbb"]
|
||||
[ext_resource type="PackedScene" uid="uid://bs3dkwcc8w2uk" path="res://tgcc/chunk/river/scene/chunk_river_curve_1.tscn" id="20_q6kbb"]
|
||||
[ext_resource type="AudioStream" uid="uid://byuxpukhy72n8" path="res://core/daynight/sounds/rain_1.mp3" id="20_quqod"]
|
||||
[ext_resource type="PackedScene" uid="uid://1c1ion0qnho4" path="res://tgcc/map/map_1/map_1.tscn" id="20_xkcqp"]
|
||||
[ext_resource type="PackedScene" uid="uid://btipd6wev016d" path="res://tgcc/chunk/river/scene/chunk_r_r_1.tscn" id="21_81wux"]
|
||||
[ext_resource type="PackedScene" uid="uid://btipd6wev016d" path="res://tgcc/chunk/river/scene/chunk_river_straight_1.tscn" id="21_81wux"]
|
||||
[ext_resource type="AudioStream" uid="uid://h5yhjn1x3f4j" path="res://core/daynight/sounds/rain_2.mp3" id="21_appab"]
|
||||
[ext_resource type="PackedScene" uid="uid://deaxxlxdipqvx" path="res://tgcc/chunk/river/scene/chunk_river_end_1.tscn" id="21_ky1rt"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct3084nflycla" path="res://tgcc/chunk/river/scene/chunk_river_mix1_1.tscn" id="22_5g563"]
|
||||
[ext_resource type="AudioStream" uid="uid://elrjw0smm0cj" path="res://core/daynight/sounds/rain_3.mp3" id="22_yime3"]
|
||||
[ext_resource type="Script" uid="uid://cx2tlvxhvatj5" path="res://docs/museums/daynight/control.gd" id="23_ou3jn"]
|
||||
[ext_resource type="PackedScene" uid="uid://bhvmmw8d8vns5" path="res://tgcc/chunk/river/scene/chunk_river_mix2_1.tscn" id="23_tbmwr"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqe4t842io22i" path="res://tgcc/chunk/river/scene/chunk_river_cross_1.tscn" id="24_ne4de"]
|
||||
[ext_resource type="PackedScene" uid="uid://rjvefmcd4bpo" path="res://tgcc/chunk/river/scene/chunk_river_mix3_1.tscn" id="25_5g563"]
|
||||
[ext_resource type="PackedScene" uid="uid://c6vpwol3k384y" path="res://tgcc/chunk/river/scene/chunk_river_mix4_1.tscn" id="26_7ykwn"]
|
||||
[ext_resource type="PackedScene" uid="uid://cd3iyj71hkgcr" path="res://tgcc/chunk/river/scene/chunk_river_mix5_1.tscn" id="27_d1gyr"]
|
||||
[ext_resource type="PackedScene" uid="uid://bh8kbw07bsu6n" path="res://tgcc/chunk/river/scene/chunk_river_mix6_1.tscn" id="28_3ldqx"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_wjpfq"]
|
||||
fractal_lacunarity = 1.915
|
||||
@@ -114,7 +121,7 @@ compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_q52t
|
||||
[sub_resource type="Resource" id="Resource_3qrd0"]
|
||||
script = ExtResource("6_s3jnv")
|
||||
name = "countryside"
|
||||
available_chunks = Array[PackedScene]([ExtResource("7_xgfli"), ExtResource("8_nurqm"), ExtResource("9_q6kbb"), ExtResource("7_4elh6"), ExtResource("8_hvd8d"), ExtResource("12_81wux"), ExtResource("13_1ugwu"), ExtResource("10_ufarv"), ExtResource("15_ky1rt"), ExtResource("16_5g563"), ExtResource("17_tbmwr"), ExtResource("9_51cxd"), ExtResource("19_ne4de"), ExtResource("20_q6kbb"), ExtResource("21_81wux")])
|
||||
available_chunks = Array[PackedScene]([ExtResource("7_xgfli"), ExtResource("10_ufarv"), ExtResource("9_q6kbb"), ExtResource("7_4elh6"), ExtResource("8_hvd8d"), ExtResource("12_81wux"), ExtResource("13_1ugwu"), ExtResource("10_ufarv"), ExtResource("15_ky1rt"), ExtResource("16_5g563"), ExtResource("17_tbmwr"), ExtResource("9_51cxd"), ExtResource("19_ne4de"), ExtResource("20_q6kbb"), ExtResource("21_81wux"), ExtResource("21_ky1rt"), ExtResource("22_5g563"), ExtResource("23_tbmwr"), ExtResource("24_ne4de"), ExtResource("25_5g563"), ExtResource("26_7ykwn"), ExtResource("27_d1gyr"), ExtResource("28_3ldqx")])
|
||||
metadata/_custom_type_script = "uid://wv6kcqkibium"
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pypsn"]
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cl2ast2tk7ifw" path="res://tgcc/chunk/railway/scene/chunk_railway_curve.tscn" id="14_ttcft"]
|
||||
[ext_resource type="PackedScene" uid="uid://cewdxvcpqb53f" path="res://tgcc/chunk/railway/scene/chunk_railway_station_doubleside.tscn" id="15_oi62p"]
|
||||
[ext_resource type="PackedScene" uid="uid://bup6gwlxos0w2" path="res://tgcc/chunk/railway/scene/chunk_railway_station_hero.tscn" id="16_birpm"]
|
||||
[ext_resource type="PackedScene" uid="uid://bup6gwlxos0w2" path="res://tgcc/chunk/railway/hero/chunk_railway_station_hero.tscn" id="16_birpm"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3pcshw2bioic" path="res://tgcc/chunk/railway/scene/chunk_railway_station_oneside.tscn" id="17_esgqd"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqxpqhla2kogq" path="res://tgcc/chunk/railway/scene/chunk_railway_straight.tscn" id="18_5ivsh"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3ub6rj0tlt6q" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_2.tscn" id="19_yd4l5"]
|
||||
|
||||
15
tgcc/chunk/material/noise/roadnoise.tres
Normal file
15
tgcc/chunk/material/noise/roadnoise.tres
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_resource type="NoiseTexture2D" format=3 uid="uid://3y34uyq47ldc"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_12d2r"]
|
||||
noise_type = 2
|
||||
frequency = 0.05
|
||||
fractal_type = 3
|
||||
fractal_octaves = 3
|
||||
cellular_distance_function = 1
|
||||
cellular_return_type = 0
|
||||
domain_warp_enabled = true
|
||||
domain_warp_fractal_octaves = 1
|
||||
|
||||
[resource]
|
||||
noise = SubResource("FastNoiseLite_12d2r")
|
||||
seamless = true
|
||||
@@ -1,24 +1,12 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://4xhpd6lust7w"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="1_vdxi4"]
|
||||
[ext_resource type="Shader" uid="uid://bteuuiddfgkpy" path="res://tgcc/chunk/material/script/path_chunk.gdshader" id="1_87s7i"]
|
||||
[ext_resource type="Texture2D" uid="uid://3y34uyq47ldc" path="res://tgcc/chunk/material/noise/roadnoise.tres" id="2_12d2r"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_vdxi4")
|
||||
shader_parameter/albedo_color = Color(0.42352942, 0.28235295, 0.14901961, 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, 0, 0, 1)
|
||||
shader_parameter/emission_energy = 0.0
|
||||
shader = ExtResource("1_87s7i")
|
||||
shader_parameter/colore_base = Color(0.6468814, 0.40295276, 0.23953745, 1)
|
||||
shader_parameter/colore_variazione = Color(0.764913, 0.46885282, 0.18989512, 1)
|
||||
shader_parameter/noise_tex = ExtResource("2_12d2r")
|
||||
shader_parameter/scala_noise = 0.1
|
||||
|
||||
@@ -1,24 +1,12 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://b4luvp3fi0p43"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://d0ch5ofrgf7y6" path="res://core/daynight/trunk_shader.gdshader" id="1_r420k"]
|
||||
[ext_resource type="Shader" uid="uid://bteuuiddfgkpy" path="res://tgcc/chunk/material/script/path_chunk.gdshader" id="1_dmrgn"]
|
||||
[ext_resource type="Texture2D" uid="uid://3y34uyq47ldc" path="res://tgcc/chunk/material/noise/roadnoise.tres" id="2_avr54"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_r420k")
|
||||
shader_parameter/albedo_color = Color(0.29857817, 0.19353586, 0.0940836, 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, 0, 0, 1)
|
||||
shader_parameter/emission_energy = 0.0
|
||||
shader = ExtResource("1_dmrgn")
|
||||
shader_parameter/colore_base = Color(0.39256963, 0.25898555, 0.13550848, 1)
|
||||
shader_parameter/colore_variazione = Color(0.47384387, 0.31593436, 0.17293933, 1)
|
||||
shader_parameter/noise_tex = ExtResource("2_avr54")
|
||||
shader_parameter/scala_noise = 0.1
|
||||
|
||||
29
tgcc/chunk/material/script/path_chunk.gdshader
Normal file
29
tgcc/chunk/material/script/path_chunk.gdshader
Normal file
@@ -0,0 +1,29 @@
|
||||
shader_type spatial;
|
||||
|
||||
uniform vec3 colore_base : source_color = vec3(0.2, 0.2, 0.2);
|
||||
uniform vec3 colore_variazione : source_color = vec3(0.3, 0.3, 0.3);
|
||||
uniform sampler2D noise_tex;
|
||||
uniform float scala_noise = 0.1; // Più è basso, più la variazione è ampia e morbida
|
||||
|
||||
varying vec3 world_pos;
|
||||
|
||||
void vertex() {
|
||||
// Calcoliamo la posizione del vertice nello spazio del mondo
|
||||
world_pos = (MODEL_MATRIX * vec4(VERTEX, 1.0)).xyz;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
// Usiamo le coordinate X e Z del mondo come UV per il noise
|
||||
// Questo rende il noise "immobile" rispetto al mondo, perfetto per i chunk
|
||||
vec2 uv_mondo = world_pos.xz * scala_noise;
|
||||
|
||||
// Campioniamo il noise
|
||||
float n = texture(noise_tex, uv_mondo).r;
|
||||
|
||||
// Mescoliamo i colori in base al valore del noise
|
||||
vec3 colore_finale = mix(colore_base, colore_variazione, n);
|
||||
|
||||
ALBEDO = colore_finale;
|
||||
METALLIC = 0.0;
|
||||
ROUGHNESS = 0.8;
|
||||
}
|
||||
1
tgcc/chunk/material/script/path_chunk.gdshader.uid
Normal file
1
tgcc/chunk/material/script/path_chunk.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bteuuiddfgkpy
|
||||
44
tgcc/chunk/material/water_river.tres
Normal file
44
tgcc/chunk/material/water_river.tres
Normal file
@@ -0,0 +1,44 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://d37iugof887py"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://cb12c2j8rfu6a" path="res://core/daynight/water_river.gdshader" id="1_qxgaw"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_qxgaw"]
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_ix712"]
|
||||
noise = SubResource("FastNoiseLite_qxgaw")
|
||||
seamless = true
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ssur3"]
|
||||
frequency = 0.0228
|
||||
fractal_type = 2
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_qgvya"]
|
||||
noise = SubResource("FastNoiseLite_ssur3")
|
||||
seamless = true
|
||||
|
||||
[resource]
|
||||
render_priority = 1
|
||||
shader = ExtResource("1_qxgaw")
|
||||
shader_parameter/surface_color = Color(0.2, 1, 0.8, 1)
|
||||
shader_parameter/depth_color = Color(0.18124294, 0.496769, 0.33694285, 1)
|
||||
shader_parameter/foam_color = Color(0.6663343, 0.7351854, 0.66567737, 1)
|
||||
shader_parameter/depth_size = 12.0
|
||||
shader_parameter/surface_roughness = 0.05
|
||||
shader_parameter/foam_roughness = 0.05
|
||||
shader_parameter/caustics_strength = 2.0
|
||||
shader_parameter/caustics_scale = Vector2(0.5, 0.5)
|
||||
shader_parameter/wave_texture = SubResource("NoiseTexture2D_qgvya")
|
||||
shader_parameter/wave_softness = 2.80000004172336
|
||||
shader_parameter/wave_scale = Vector2(0.2, 0.2)
|
||||
shader_parameter/wave_layer_scale = Vector2(1.5, 1.5)
|
||||
shader_parameter/wave_highlight = 1.0
|
||||
shader_parameter/wave_velocity = Vector2(0.01, 0.15)
|
||||
shader_parameter/foam_texture = SubResource("NoiseTexture2D_ix712")
|
||||
shader_parameter/edge_foam_depth_size = 1.0
|
||||
shader_parameter/wave_foam_amount = 0.3499999921768
|
||||
shader_parameter/foam_start = 0.15000000223518
|
||||
shader_parameter/foam_end = 0.35000000521542
|
||||
shader_parameter/foam_exponent = 2.0
|
||||
shader_parameter/refraction_amount = 0.5
|
||||
shader_parameter/refraction_exponent = 0.5
|
||||
shader_parameter/displacement_amount = 0.0
|
||||
BIN
tgcc/chunk/railway/mesh/chunk_railway_straight_3.fbx
Normal file
BIN
tgcc/chunk/railway/mesh/chunk_railway_straight_3.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/railway/mesh/chunk_railway_straight_3.fbx.import
Normal file
44
tgcc/chunk/railway/mesh/chunk_railway_straight_3.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bpbx1w1pkd1qp"
|
||||
path="res://.godot/imported/chunk_railway_straight_3.fbx-b6013ae047bbefb58b7ce57606d51ae6.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/railway/mesh/chunk_railway_straight_3.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_railway_straight_3.fbx-b6013ae047bbefb58b7ce57606d51ae6.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
|
||||
107
tgcc/chunk/railway/scene/chunk_railway_straight_3.tscn
Normal file
107
tgcc/chunk/railway/scene/chunk_railway_straight_3.tscn
Normal file
File diff suppressed because one or more lines are too long
BIN
tgcc/chunk/river/mesh/chunk_river_cross_1.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_cross_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_cross_1.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_cross_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bigi1oxfy8132"
|
||||
path="res://.godot/imported/chunk_river_cross_1.fbx-ec2e943a57ec4d1e6f15d0487df4a04e.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_cross_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_cross_1.fbx-ec2e943a57ec4d1e6f15d0487df4a04e.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
|
||||
@@ -4,12 +4,12 @@ importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d0rca3oo1k30n"
|
||||
path="res://.godot/imported/Chunk_R_L_1.fbx-f315be000da513deddf8c1537ffe1a0f.scn"
|
||||
path="res://.godot/imported/chunk_river_curve_1.fbx-e612a8ead5e6efeae425e953a4aa5c85.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/Chunk_R_L_1.fbx"
|
||||
dest_files=["res://.godot/imported/Chunk_R_L_1.fbx-f315be000da513deddf8c1537ffe1a0f.scn"]
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_curve_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_curve_1.fbx-e612a8ead5e6efeae425e953a4aa5c85.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
BIN
tgcc/chunk/river/mesh/chunk_river_curve_2.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_curve_2.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_curve_2.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_curve_2.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://ddemvbsemklv1"
|
||||
path="res://.godot/imported/chunk_river_curve_2.fbx-744cfe98361d149f959abc93b839273c.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_curve_2.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_curve_2.fbx-744cfe98361d149f959abc93b839273c.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/river/mesh/chunk_river_end_1.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_end_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_end_1.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_end_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://7stnucy3oxbu"
|
||||
path="res://.godot/imported/chunk_river_end_1.fbx-12db3c04aa532e39df46eec20bcf7e79.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_end_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_end_1.fbx-12db3c04aa532e39df46eec20bcf7e79.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/river/mesh/chunk_river_end_2.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_end_2.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_end_2.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_end_2.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://db5feaslrybfm"
|
||||
path="res://.godot/imported/chunk_river_end_2.fbx-23c22ae8fd37f6ad488368d5734f5341.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_end_2.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_end_2.fbx-23c22ae8fd37f6ad488368d5734f5341.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/river/mesh/chunk_river_end_3.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_end_3.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_end_3.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_end_3.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dm54riv6vdlru"
|
||||
path="res://.godot/imported/chunk_river_end_3.fbx-e55355900800566cfa5a271dcee7aa08.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_end_3.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_end_3.fbx-e55355900800566cfa5a271dcee7aa08.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/river/mesh/chunk_river_end_4.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_end_4.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_end_4.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_end_4.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://cvwwl1tj4vf57"
|
||||
path="res://.godot/imported/chunk_river_end_4.fbx-63bc61139c2fcadb178c6fdbc06226f7.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_end_4.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_end_4.fbx-63bc61139c2fcadb178c6fdbc06226f7.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/river/mesh/chunk_river_mix4_1.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_mix4_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_mix4_1.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_mix4_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://5g7rjcw5v4jq"
|
||||
path="res://.godot/imported/chunk_river_mix4_1.fbx-b255675860fb09c0f41baaa90f73bf3d.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_mix4_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_mix4_1.fbx-b255675860fb09c0f41baaa90f73bf3d.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/river/mesh/chunk_river_mix5_1.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_mix5_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_mix5_1.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_mix5_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://46smcgxcylp"
|
||||
path="res://.godot/imported/chunk_river_mix5_1.fbx-8c1cd47cee958891888155d684f11c3f.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_mix5_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_mix5_1.fbx-8c1cd47cee958891888155d684f11c3f.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/river/mesh/chunk_river_mix6_1.fbx
Normal file
BIN
tgcc/chunk/river/mesh/chunk_river_mix6_1.fbx
Normal file
Binary file not shown.
44
tgcc/chunk/river/mesh/chunk_river_mix6_1.fbx.import
Normal file
44
tgcc/chunk/river/mesh/chunk_river_mix6_1.fbx.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://mwy0sb5xmtax"
|
||||
path="res://.godot/imported/chunk_river_mix6_1.fbx-b3211aad9976bff7788366590900e5b2.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_mix6_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_mix6_1.fbx-b3211aad9976bff7788366590900e5b2.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
|
||||
@@ -4,12 +4,12 @@ importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bryeoru3tfbcq"
|
||||
path="res://.godot/imported/Chunk_R_R_1.fbx-3c3c617da890fc412ffcc0f1d56c3abe.scn"
|
||||
path="res://.godot/imported/chunk_river_straight_1.fbx-c098794643e86af14aeb0ebe45996f97.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tgcc/chunk/river/mesh/Chunk_R_R_1.fbx"
|
||||
dest_files=["res://.godot/imported/Chunk_R_R_1.fbx-3c3c617da890fc412ffcc0f1d56c3abe.scn"]
|
||||
source_file="res://tgcc/chunk/river/mesh/chunk_river_straight_1.fbx"
|
||||
dest_files=["res://.godot/imported/chunk_river_straight_1.fbx-c098794643e86af14aeb0ebe45996f97.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
391
tgcc/chunk/river/scene/chunk_river_cross_1.tscn
Normal file
391
tgcc/chunk/river/scene/chunk_river_cross_1.tscn
Normal file
File diff suppressed because one or more lines are too long
@@ -1,12 +1,13 @@
|
||||
[gd_scene format=3 uid="uid://bs3dkwcc8w2uk"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d0rca3oo1k30n" path="res://tgcc/chunk/river/mesh/Chunk_R_L_1.fbx" id="1_gcywg"]
|
||||
[ext_resource type="PackedScene" uid="uid://d0rca3oo1k30n" path="res://tgcc/chunk/river/mesh/chunk_river_curve_1.fbx" id="1_gcywg"]
|
||||
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_bmrw7"]
|
||||
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="2_x8fyt"]
|
||||
[ext_resource type="Material" uid="uid://fnjxocmx16b7" path="res://tgcc/chunk/prop/grass/grass_chunk.tres" id="2_y0us8"]
|
||||
[ext_resource type="Material" uid="uid://ce0bdk3mx2xao" path="res://tgcc/chunk/material/water_chunk.tres" id="3_bmrw7"]
|
||||
[ext_resource type="Material" uid="uid://jygb1hcokks5" path="res://tgcc/chunk/prop/grass/grass_bank.tres" id="3_x8fyt"]
|
||||
[ext_resource type="Material" uid="uid://bjrb33qwp1p43" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds.tres" id="4_bmrw7"]
|
||||
[ext_resource type="Material" uid="uid://d37iugof887py" path="res://tgcc/chunk/material/water_river.tres" id="5_wcs53"]
|
||||
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="5_y4odd"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_k0xin"]
|
||||
@@ -50,20 +51,20 @@ script = ExtResource("2_bmrw7")
|
||||
river_south = true
|
||||
river_west = true
|
||||
|
||||
[node name="Argini_009" parent="." index="0" unique_id=373965021]
|
||||
[node name="Argini_009" parent="." index="0" unique_id=650454440]
|
||||
surface_material_override/0 = ExtResource("2_x8fyt")
|
||||
|
||||
[node name="Argini_F_001" parent="." index="1" unique_id=1543471884]
|
||||
[node name="Argini_F_001" parent="." index="1" unique_id=1709224433]
|
||||
surface_material_override/0 = ExtResource("2_x8fyt")
|
||||
|
||||
[node name="Chunk_017" parent="." index="2" unique_id=1639631482]
|
||||
[node name="Chunk_017" parent="." index="2" unique_id=1001158626]
|
||||
surface_material_override/0 = ExtResource("2_x8fyt")
|
||||
|
||||
[node name="Water_010" parent="." index="3" unique_id=348287576]
|
||||
[node name="Water_010" parent="." index="3" unique_id=822678307]
|
||||
surface_material_override/0 = ExtResource("3_bmrw7")
|
||||
|
||||
[node name="Water_F_001" parent="." index="4" unique_id=24270399]
|
||||
surface_material_override/0 = ExtResource("3_bmrw7")
|
||||
[node name="Water_F_001" parent="." index="4" unique_id=1952113981]
|
||||
surface_material_override/0 = ExtResource("5_wcs53")
|
||||
|
||||
[node name="grass" type="Node3D" parent="." index="5" unique_id=91576374 groups=["weather_vegetables_node", "wind_node"]]
|
||||
|
||||
237
tgcc/chunk/river/scene/chunk_river_curve_2.tscn
Normal file
237
tgcc/chunk/river/scene/chunk_river_curve_2.tscn
Normal file
File diff suppressed because one or more lines are too long
966
tgcc/chunk/river/scene/chunk_river_end_1.tscn
Normal file
966
tgcc/chunk/river/scene/chunk_river_end_1.tscn
Normal file
File diff suppressed because one or more lines are too long
706
tgcc/chunk/river/scene/chunk_river_mix1_1.tscn
Normal file
706
tgcc/chunk/river/scene/chunk_river_mix1_1.tscn
Normal file
File diff suppressed because one or more lines are too long
688
tgcc/chunk/river/scene/chunk_river_mix2_1.tscn
Normal file
688
tgcc/chunk/river/scene/chunk_river_mix2_1.tscn
Normal file
File diff suppressed because one or more lines are too long
772
tgcc/chunk/river/scene/chunk_river_mix3_1.tscn
Normal file
772
tgcc/chunk/river/scene/chunk_river_mix3_1.tscn
Normal file
File diff suppressed because one or more lines are too long
680
tgcc/chunk/river/scene/chunk_river_mix4_1.tscn
Normal file
680
tgcc/chunk/river/scene/chunk_river_mix4_1.tscn
Normal file
File diff suppressed because one or more lines are too long
314
tgcc/chunk/river/scene/chunk_river_mix5_1.tscn
Normal file
314
tgcc/chunk/river/scene/chunk_river_mix5_1.tscn
Normal file
File diff suppressed because one or more lines are too long
636
tgcc/chunk/river/scene/chunk_river_mix6_1.tscn
Normal file
636
tgcc/chunk/river/scene/chunk_river_mix6_1.tscn
Normal file
File diff suppressed because one or more lines are too long
@@ -1,11 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://btipd6wev016d"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bryeoru3tfbcq" path="res://tgcc/chunk/river/mesh/Chunk_R_R_1.fbx" id="1_papxf"]
|
||||
[ext_resource type="PackedScene" uid="uid://bryeoru3tfbcq" path="res://tgcc/chunk/river/mesh/chunk_river_straight_1.fbx" id="1_papxf"]
|
||||
[ext_resource type="Script" uid="uid://dg2h4kbqe8j3m" path="res://core/biome_generator/chunk_info.gd" id="2_5ybl1"]
|
||||
[ext_resource type="Material" uid="uid://blqelpjvdv23j" path="res://tgcc/chunk/material/grassflat_chunk.tres" id="2_i686r"]
|
||||
[ext_resource type="Material" uid="uid://wkegx4a21x7u" path="res://tgcc/chunk/prop/fence/fences.tres" id="3_1ies1"]
|
||||
[ext_resource type="Material" uid="uid://ce0bdk3mx2xao" path="res://tgcc/chunk/material/water_chunk.tres" id="4_i686r"]
|
||||
[ext_resource type="Material" uid="uid://jygb1hcokks5" path="res://tgcc/chunk/prop/grass/grass_bank.tres" id="5_ktw8y"]
|
||||
[ext_resource type="Material" uid="uid://d37iugof887py" path="res://tgcc/chunk/material/water_river.tres" id="6_1x4pw"]
|
||||
[ext_resource type="Material" uid="uid://fnjxocmx16b7" path="res://tgcc/chunk/prop/grass/grass_chunk.tres" id="6_5ybl1"]
|
||||
[ext_resource type="Material" uid="uid://bjrb33qwp1p43" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds.tres" id="7_qdud6"]
|
||||
[ext_resource type="Material" uid="uid://0x17mj2v807r" path="res://tgcc/chunk/prop/grass/grass_chunk_weeds2.tres" id="8_kb5sp"]
|
||||
@@ -51,23 +52,23 @@ script = ExtResource("2_5ybl1")
|
||||
river_north = true
|
||||
river_south = true
|
||||
|
||||
[node name="Argini_012" parent="." index="0" unique_id=1084179435]
|
||||
[node name="Argini_012" parent="." index="0" unique_id=1496170995]
|
||||
surface_material_override/0 = ExtResource("2_i686r")
|
||||
|
||||
[node name="Argini_F" parent="." index="1" unique_id=642828061]
|
||||
[node name="Argini_F" parent="." index="1" unique_id=1620075990]
|
||||
surface_material_override/0 = ExtResource("2_i686r")
|
||||
|
||||
[node name="Grass_015" parent="." index="2" unique_id=2066454616]
|
||||
[node name="Grass_015" parent="." index="2" unique_id=992510499]
|
||||
surface_material_override/0 = ExtResource("2_i686r")
|
||||
|
||||
[node name="MSH_Staccioanta_1_012" parent="." index="3" unique_id=2079392766 groups=["weather_node"]]
|
||||
[node name="MSH_Staccioanta_1_012" parent="." index="3" unique_id=1633713740 groups=["weather_node"]]
|
||||
surface_material_override/0 = ExtResource("3_1ies1")
|
||||
|
||||
[node name="Water_013" parent="." index="4" unique_id=1140122560]
|
||||
[node name="Water_013" parent="." index="4" unique_id=1791049567]
|
||||
surface_material_override/0 = ExtResource("4_i686r")
|
||||
|
||||
[node name="Water_F" parent="." index="5" unique_id=650822427]
|
||||
surface_material_override/0 = ExtResource("4_i686r")
|
||||
[node name="Water_F" parent="." index="5" unique_id=1468867913]
|
||||
surface_material_override/0 = ExtResource("6_1x4pw")
|
||||
|
||||
[node name="grass" type="Node3D" parent="." index="6" unique_id=1828409688 groups=["weather_vegetables_node", "wind_node"]]
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
[ext_resource type="PackedScene" uid="uid://f53hfrjaxkwa" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_bridge.tscn" id="4_l8ggx"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3pcshw2bioic" path="res://tgcc/chunk/railway/scene/chunk_railway_station_oneside.tscn" id="5_bn4ba"]
|
||||
[ext_resource type="PackedScene" uid="uid://cewdxvcpqb53f" path="res://tgcc/chunk/railway/scene/chunk_railway_station_doubleside.tscn" id="6_t5p8i"]
|
||||
[ext_resource type="PackedScene" uid="uid://bup6gwlxos0w2" path="res://tgcc/chunk/railway/scene/chunk_railway_station_hero.tscn" id="7_8nm7p"]
|
||||
[ext_resource type="PackedScene" uid="uid://bup6gwlxos0w2" path="res://tgcc/chunk/railway/hero/chunk_railway_station_hero.tscn" id="7_8nm7p"]
|
||||
[ext_resource type="Script" uid="uid://dboerd4a6dwj7" path="res://core/biome_generator/rails.gd" id="8_w775f"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvk3bytqn3m5s" path="res://tgcc/train/main_train.tscn" id="9_haiv3"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqevecsd1cm1v" path="res://tgcc/chunk/railway/scene/chunk_railway_straight_3.tscn" id="10_l8ggx"]
|
||||
|
||||
[sub_resource type="Curve3D" id="Curve3D_rfork"]
|
||||
closed = true
|
||||
@@ -66,9 +67,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -560, 0, -120)
|
||||
[node name="Chunk_Rettilineo_19" parent="." unique_id=393889196 instance=ExtResource("2_e76ix")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -560, 0, -140)
|
||||
|
||||
[node name="Chunk_Rettilineo_20" parent="." unique_id=2020455059 instance=ExtResource("2_e76ix")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -380, 0, -320)
|
||||
|
||||
[node name="Chunk_Rettilineo_22" parent="." unique_id=1449864588 instance=ExtResource("2_e76ix")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -500, 0, -200)
|
||||
|
||||
@@ -178,13 +176,13 @@ transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -100
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -440, 0, -260)
|
||||
|
||||
[node name="Blockout_Stazione2" parent="." unique_id=987402604 instance=ExtResource("5_bn4ba")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -360, 0, -320)
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -60, 0, 0)
|
||||
|
||||
[node name="Blockout_Stazione4" parent="." unique_id=401626378 instance=ExtResource("6_t5p8i")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -180, 0, 140)
|
||||
|
||||
[node name="Blockout_Stazione3Hero" parent="." unique_id=149959015 instance=ExtResource("7_8nm7p")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -60, 0, 0)
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -360, 0, -320)
|
||||
|
||||
[node name="Blockout_Stazione3Hero2" parent="." unique_id=1050909298 instance=ExtResource("7_8nm7p")]
|
||||
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -560, 0, -80)
|
||||
@@ -203,3 +201,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.8526325, 0, 109.44846)
|
||||
|
||||
[node name="Marker3D3" type="Marker3D" parent="Path3D" unique_id=1964527552]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 154.80806, 0, 230.03177)
|
||||
|
||||
[node name="chunk_railway_straight_3" parent="." unique_id=1086786013 instance=ExtResource("10_l8ggx")]
|
||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -80, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user