parent
d8ef4f7ca7
commit
fb6ced9b69
@ -0,0 +1,170 @@ |
||||
[editor_states] |
||||
|
||||
Anim={ |
||||
"visible": false |
||||
} |
||||
2D={ |
||||
"grid_offset": Vector2(0, 0), |
||||
"grid_snap_active": false, |
||||
"grid_step": Vector2(8, 8), |
||||
"grid_visibility": 1, |
||||
"ofs": Vector2(-847.508, -325.329), |
||||
"primary_grid_steps": 8, |
||||
"show_edit_locks": true, |
||||
"show_guides": true, |
||||
"show_helpers": false, |
||||
"show_origin": true, |
||||
"show_rulers": true, |
||||
"show_transformation_gizmos": true, |
||||
"show_viewport": true, |
||||
"show_zoom_control": true, |
||||
"smart_snap_active": false, |
||||
"snap_guides": true, |
||||
"snap_node_anchors": true, |
||||
"snap_node_center": true, |
||||
"snap_node_parent": true, |
||||
"snap_node_sides": true, |
||||
"snap_other_nodes": true, |
||||
"snap_pixel": true, |
||||
"snap_relative": false, |
||||
"snap_rotation": false, |
||||
"snap_rotation_offset": 0.0, |
||||
"snap_rotation_step": 0.261799, |
||||
"snap_scale": false, |
||||
"snap_scale_step": 0.1, |
||||
"zoom": 0.561231 |
||||
} |
||||
3D={ |
||||
"fov": 70.01, |
||||
"gizmos_status": { |
||||
"AudioListener3D": 0, |
||||
"AudioStreamPlayer3D": 0, |
||||
"CPUParticles3D": 0, |
||||
"CSGShape3D": 0, |
||||
"Camera3D": 0, |
||||
"CollisionObject3D": 0, |
||||
"CollisionPolygon3D": 0, |
||||
"CollisionShape3D": 0, |
||||
"Decal": 0, |
||||
"FogVolume": 0, |
||||
"GPUParticles3D": 0, |
||||
"GPUParticlesCollision3D": 0, |
||||
"Joint3D": 0, |
||||
"Light3D": 0, |
||||
"LightmapGI": 0, |
||||
"LightmapProbe": 0, |
||||
"Marker3D": 0, |
||||
"NavigationLink3D": 0, |
||||
"NavigationRegion3D": 0, |
||||
"OccluderInstance3D": 0, |
||||
"Path3D": 0, |
||||
"PhysicalBone3D": 0, |
||||
"RayCast3D": 0, |
||||
"ReflectionProbe": 0, |
||||
"ShapeCast3D": 0, |
||||
"Skeleton3D": 0, |
||||
"SoftBody3D": 0, |
||||
"SpringArm3D": 0, |
||||
"VehicleWheel3D": 0, |
||||
"VisibleOnScreenNotifier3D": 0, |
||||
"VoxelGI": 0 |
||||
}, |
||||
"local_coords": false, |
||||
"preview_sun_env": { |
||||
"environ_ao_enabled": false, |
||||
"environ_enabled": true, |
||||
"environ_energy": 1.0, |
||||
"environ_gi_enabled": false, |
||||
"environ_glow_enabled": true, |
||||
"environ_ground_color": Color(0.2, 0.169, 0.133, 1), |
||||
"environ_sky_color": Color(0.385, 0.454, 0.55, 1), |
||||
"environ_tonemap_enabled": true, |
||||
"sun_color": Color(1, 1, 1, 1), |
||||
"sun_enabled": true, |
||||
"sun_energy": 1.0, |
||||
"sun_max_distance": 100.0, |
||||
"sun_rotation": Vector2(-1.0472, 2.61799) |
||||
}, |
||||
"rotate_snap": 5.0, |
||||
"scale_snap": 5.0, |
||||
"show_grid": true, |
||||
"show_origin": true, |
||||
"snap_enabled": false, |
||||
"translate_snap": 0.1, |
||||
"viewport_mode": 1, |
||||
"viewports": [{ |
||||
"auto_orthogonal": false, |
||||
"auto_orthogonal_enabled": true, |
||||
"cinematic_preview": false, |
||||
"display_mode": 20, |
||||
"distance": 183.941, |
||||
"doppler": false, |
||||
"frame_time": false, |
||||
"gizmos": true, |
||||
"half_res": false, |
||||
"information": false, |
||||
"listener": true, |
||||
"position": Vector3(-7.59921, 10.3519, 11.0517), |
||||
"use_environment": false, |
||||
"use_orthogonal": false, |
||||
"view_type": 0, |
||||
"x_rotation": 0.583889, |
||||
"y_rotation": -24.1668 |
||||
}, { |
||||
"auto_orthogonal": false, |
||||
"auto_orthogonal_enabled": true, |
||||
"cinematic_preview": false, |
||||
"display_mode": 20, |
||||
"distance": 4.0, |
||||
"doppler": false, |
||||
"frame_time": false, |
||||
"gizmos": true, |
||||
"half_res": false, |
||||
"information": false, |
||||
"listener": false, |
||||
"position": Vector3(0, 0, 0), |
||||
"use_environment": false, |
||||
"use_orthogonal": false, |
||||
"view_type": 0, |
||||
"x_rotation": 0.5, |
||||
"y_rotation": -0.5 |
||||
}, { |
||||
"auto_orthogonal": false, |
||||
"auto_orthogonal_enabled": true, |
||||
"cinematic_preview": false, |
||||
"display_mode": 20, |
||||
"distance": 4.0, |
||||
"doppler": false, |
||||
"frame_time": false, |
||||
"gizmos": true, |
||||
"half_res": false, |
||||
"information": false, |
||||
"listener": false, |
||||
"position": Vector3(0, 0, 0), |
||||
"use_environment": false, |
||||
"use_orthogonal": false, |
||||
"view_type": 0, |
||||
"x_rotation": 0.5, |
||||
"y_rotation": -0.5 |
||||
}, { |
||||
"auto_orthogonal": false, |
||||
"auto_orthogonal_enabled": true, |
||||
"cinematic_preview": false, |
||||
"display_mode": 20, |
||||
"distance": 4.0, |
||||
"doppler": false, |
||||
"frame_time": false, |
||||
"gizmos": true, |
||||
"half_res": false, |
||||
"information": false, |
||||
"listener": false, |
||||
"position": Vector3(0, 0, 0), |
||||
"use_environment": false, |
||||
"use_orthogonal": false, |
||||
"view_type": 0, |
||||
"x_rotation": 0.5, |
||||
"y_rotation": -0.5 |
||||
}], |
||||
"zfar": 4000.01, |
||||
"znear": 0.05 |
||||
} |
||||
@ -0,0 +1,5 @@ |
||||
[folding] |
||||
|
||||
node_unfolds=[NodePath("DirectionalLight3D"), PackedStringArray("Transform", "Light", "Shadow", "Directional Shadow"), NodePath("Highlighter"), PackedStringArray("Transform"), NodePath("WorldEnvironment"), PackedStringArray("camera_attributes", "environment"), NodePath("Ocean"), PackedStringArray("Collision"), NodePath("Ocean/CollisionShape3D"), PackedStringArray("shape")] |
||||
resource_unfolds=["res://scenes/Board.tscn::CameraAttributesPractical_fwdfs", PackedStringArray("DOF Blur", "Auto Exposure"), "res://scenes/Board.tscn::WorldBoundaryShape3D_iogdu", PackedStringArray("Resource")] |
||||
nodes_folded=[] |
||||
@ -1,3 +1,3 @@ |
||||
[folding] |
||||
|
||||
sections_unfolded=PackedStringArray("Glow", "Volumetric Fog", "SDFGI", "Reflected Light", "SSAO", "Sky", "SSIL", "Tonemap", "Fog", "Volumetric Fog/Temporal Reprojection", "Adjustments", "SSR", "Ambient Light") |
||||
sections_unfolded=PackedStringArray("Glow", "Volumetric Fog", "SDFGI", "Reflected Light", "SSAO", "Sky", "SSIL", "Tonemap", "Fog", "Volumetric Fog/Temporal Reprojection", "Adjustments", "SSR", "sky") |
||||
|
||||
@ -0,0 +1,3 @@ |
||||
[folding] |
||||
|
||||
sections_unfolded=PackedStringArray() |
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +1,13 @@ |
||||
res://assets/blocs/blocs.tscn::0446c372e7f13b826b0d3b4ca1cf91e8::1680352166::res://.godot/exported/133200997/export-1984eea5ca27c9f53d378a33bc802e24-blocs.scn |
||||
res://assets/entities/character.tscn::17e0bc153dc17466aa6cf79ec1bd4658::1679682604::res://.godot/exported/133200997/export-fee006593a5fc9aa3a64bb14d0c77b74-character.scn |
||||
res://assets/entities/fox.tscn::50bcf2c62d83a5ddfc0ba097ec103e6c::1679682604::res://.godot/exported/133200997/export-5adb4148c378deef89eed2d669edab93-fox.scn |
||||
res://assets/environment.tres::abc8e8d594ca49f076e4189c431ca8f0::1681149954::res://.godot/exported/133200997/export-55cb0503692521ce9cd0fcbe7b9a107e-environment.res |
||||
res://scenes/3DWorld.tscn::e683f67d52cdbb5cb0357dc48bae58eb::1681150373::res://.godot/exported/133200997/export-5ee7dca069a2497be3bb28c4d56856bf-3DWorld.scn |
||||
res://scenes/camera.tscn::34db7e00b63e954c89e367403dcf29b9::1681150373::res://.godot/exported/133200997/export-171b6540a4c3cdae5b0905e52ed5116f-camera.scn |
||||
res://scenes/Game.tscn::0a02d94f272c2ba653c3e188bc782a1c::1677106092::res://.godot/exported/133200997/export-ff8ceb9b2bd5b48777d3d52e811276ab-Game.scn |
||||
res://scenes/HUD.tscn::88c690f4bbb3b3fdec6f50553c6bb7e8::1680615358::res://.godot/exported/133200997/export-2ea9781d6f9f7562c1d276c7fdd0b0ab-HUD.scn |
||||
res://scenes/Map.tscn::d8056dedf61e8b8dab1d3ebfefb0dc1e::1680615358::res://.godot/exported/133200997/export-0eae408d73bd72b5f9fda5a893b5871f-Map.scn |
||||
res://scenes/Pawn.tscn::b3f57389033cb092da01db70d7da4de2::1681052205::res://.godot/exported/133200997/export-ee2e6b5eca20f2ef7fd9cfd9f9c666bc-Pawn.scn |
||||
res://scenes/Water.tscn::2c5c9d0db90cd647ec5ddbb72db95465::1681150374::res://.godot/exported/133200997/export-fc7e100f2e88891fad0fe772aa475006-Water.scn |
||||
res://scenes/WorldGeneration.tscn::27bbe39949c116031c55985b88b3e743::1681150373::res://.godot/exported/133200997/export-0f1c0c812be0be68b9754190599b56a4-WorldGeneration.scn |
||||
res://test.tscn::dece8b0dd8ebe152d22662a9109b23e3::1679697032::res://.godot/exported/133200997/export-f0a4ea32b72b64218d23e48a955cbc61-test.scn |
||||
res://assets/blocs/blocs.tscn::8b07ce0a7c2f5c6563f8e47a2cbe5abf::1681237101::res://.godot/exported/133200997/export-1984eea5ca27c9f53d378a33bc802e24-blocs.scn |
||||
res://assets/entities/character.tscn::17e0bc153dc17466aa6cf79ec1bd4658::1679670402::res://.godot/exported/133200997/export-fee006593a5fc9aa3a64bb14d0c77b74-character.scn |
||||
res://assets/entities/fox.tscn::50bcf2c62d83a5ddfc0ba097ec103e6c::1680357275::res://.godot/exported/133200997/export-5adb4148c378deef89eed2d669edab93-fox.scn |
||||
res://assets/environment.tres::65f01d7a63d24836240bcf55688d2459::1681236514::res://.godot/exported/133200997/export-55cb0503692521ce9cd0fcbe7b9a107e-environment.res |
||||
res://scenes/camera.tscn::27322282dd7fcbe4335f7ddb5dd5e10b::1681237101::res://.godot/exported/133200997/export-171b6540a4c3cdae5b0905e52ed5116f-camera.scn |
||||
res://scenes/Game.tscn::bd7497697a5276a0825cbb9738fc2ad7::1681236184::res://.godot/exported/133200997/export-ff8ceb9b2bd5b48777d3d52e811276ab-Game.scn |
||||
res://scenes/HUD.tscn::88c690f4bbb3b3fdec6f50553c6bb7e8::1680365982::res://.godot/exported/133200997/export-2ea9781d6f9f7562c1d276c7fdd0b0ab-HUD.scn |
||||
res://scenes/Map.tscn::d8056dedf61e8b8dab1d3ebfefb0dc1e::1680365982::res://.godot/exported/133200997/export-0eae408d73bd72b5f9fda5a893b5871f-Map.scn |
||||
res://scenes/Pawn.tscn::b3f57389033cb092da01db70d7da4de2::1681232537::res://.godot/exported/133200997/export-ee2e6b5eca20f2ef7fd9cfd9f9c666bc-Pawn.scn |
||||
res://scenes/Water.tscn::2c5c9d0db90cd647ec5ddbb72db95465::1681237101::res://.godot/exported/133200997/export-fc7e100f2e88891fad0fe772aa475006-Water.scn |
||||
res://scenes/WorldGeneration.tscn::27bbe39949c116031c55985b88b3e743::1681237101::res://.godot/exported/133200997/export-0f1c0c812be0be68b9754190599b56a4-WorldGeneration.scn |
||||
res://test.tscn::dece8b0dd8ebe152d22662a9109b23e3::1680357289::res://.godot/exported/133200997/export-f0a4ea32b72b64218d23e48a955cbc61-test.scn |
||||
res://scenes/Board.tscn::5a6f02b821e3abd3895354a90a41d7f3::1681237101::res://.godot/exported/133200997/export-557796a61f6b71878ce11fb9706f6d70-Board.scn |
||||
|
||||
Binary file not shown.
@ -1,3 +1,3 @@ |
||||
source_md5="d37b4098463f5c23833397577431b7ef" |
||||
dest_md5="eb3c37af027021a8939e8a22b5625980" |
||||
dest_md5="d3fda6f0ccc2b1c5074eda58a91770a9" |
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@ |
||||
source_md5="d37b4098463f5c23833397577431b7ef" |
||||
dest_md5="eb3c37af027021a8939e8a22b5625980" |
||||
dest_md5="d3fda6f0ccc2b1c5074eda58a91770a9" |
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@ |
||||
source_md5="d37b4098463f5c23833397577431b7ef" |
||||
dest_md5="eb3c37af027021a8939e8a22b5625980" |
||||
dest_md5="d3fda6f0ccc2b1c5074eda58a91770a9" |
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@ |
||||
source_md5="d37b4098463f5c23833397577431b7ef" |
||||
dest_md5="eb3c37af027021a8939e8a22b5625980" |
||||
dest_md5="d3fda6f0ccc2b1c5074eda58a91770a9" |
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@ |
||||
source_md5="d37b4098463f5c23833397577431b7ef" |
||||
dest_md5="eb3c37af027021a8939e8a22b5625980" |
||||
dest_md5="d3fda6f0ccc2b1c5074eda58a91770a9" |
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@ |
||||
source_md5="d37b4098463f5c23833397577431b7ef" |
||||
dest_md5="eb3c37af027021a8939e8a22b5625980" |
||||
dest_md5="d3fda6f0ccc2b1c5074eda58a91770a9" |
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@ |
||||
source_md5="bb217904b5e29d03380bf377666c5478" |
||||
dest_md5="87f780100f669f9b685545a12704e3ef" |
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,28 +0,0 @@ |
||||
|
||||
shader_type spatial; |
||||
render_mode world_vertex_coords, cull_disabled, vertex_lighting; |
||||
|
||||
uniform float CURVATURE; |
||||
uniform float CURVATURE_ACTIVE; |
||||
uniform float CURVATURE_DISTANCE; |
||||
|
||||
uniform sampler2D BASE_TEX; |
||||
|
||||
void vertex() { |
||||
if(CURVATURE_ACTIVE == 1.0) { |
||||
NORMAL = (MODEL_MATRIX * vec4(NORMAL, 0.0)).xyz; |
||||
float dist = length(VIEW_MATRIX[3].xyz - VERTEX) / CURVATURE_DISTANCE; |
||||
VERTEX.y -= pow(dist, CURVATURE); |
||||
} |
||||
} |
||||
|
||||
void fragment() { |
||||
vec4 tex = texture(BASE_TEX, UV); |
||||
|
||||
if(tex.a < 0.3) { |
||||
discard; |
||||
} |
||||
|
||||
ALBEDO = tex.rgb; |
||||
ALPHA = tex.a; |
||||
} |
||||
@ -1,16 +0,0 @@ |
||||
[gd_resource type="ShaderMaterial" load_steps=4 format=2] |
||||
|
||||
[ext_resource path="res://MultiColorFog/MultiColorFog.shader" type="Shader" id=1] |
||||
|
||||
[sub_resource type="Gradient" id=1] |
||||
offsets = PoolRealArray( 0, 0.257862, 1 ) |
||||
colors = PoolColorArray( 0.572549, 1, 0.639216, 0, 0.967743, 0.410156, 1, 0.647799, 1, 0.517647, 0.517647, 1 ) |
||||
|
||||
[sub_resource type="GradientTexture" id=2] |
||||
gradient = SubResource( 1 ) |
||||
|
||||
[resource] |
||||
shader = ExtResource( 1 ) |
||||
shader_param/fog_intensity = 0.919 |
||||
shader_param/fog_amount = 0.011 |
||||
shader_param/gradient = SubResource( 2 ) |
||||
@ -1,12 +0,0 @@ |
||||
[gd_scene load_steps=3 format=2] |
||||
|
||||
[ext_resource path="res://MultiColorFog/MultiColorFogMaterial.tres" type="Material" id=1] |
||||
|
||||
[sub_resource type="QuadMesh" id=1] |
||||
material = ExtResource( 1 ) |
||||
size = Vector2( 2, 2 ) |
||||
|
||||
[node name="MultiColorFogOverlay" type="MeshInstance"] |
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.1 ) |
||||
mesh = SubResource( 1 ) |
||||
material/0 = null |
||||
@ -1,28 +0,0 @@ |
||||
shader_type spatial; |
||||
render_mode unshaded; |
||||
|
||||
uniform sampler2D gradient: hint_albedo; |
||||
uniform float fog_intensity: hint_range(0.0, 1.0); |
||||
uniform float fog_amount: hint_range(0.0, 1.0); |
||||
|
||||
void vertex() { |
||||
POSITION = vec4(VERTEX, 1.0); |
||||
} |
||||
|
||||
void fragment() { |
||||
vec4 original = texture(SCREEN_TEXTURE, SCREEN_UV); |
||||
|
||||
float depth = texture(DEPTH_TEXTURE, SCREEN_UV).x; |
||||
vec3 ndc= vec3(SCREEN_UV, depth) * 2.0 - 1.0; |
||||
vec4 view = INV_PROJECTION_MATRIX* vec4(ndc, 1.0); |
||||
view.xyz /= view.w; |
||||
depth = -view.z; |
||||
|
||||
float fog = depth * fog_amount; |
||||
|
||||
vec4 fog_color = texture(gradient, vec2(fog, 0.0)); |
||||
if (depth > 1.0) |
||||
ALBEDO = mix(original.rgb, fog_color.rgb, fog_color.a * fog_intensity); |
||||
else |
||||
ALBEDO = fog_color.rgb; |
||||
} |
||||
@ -1,30 +0,0 @@ |
||||
shader_type spatial; |
||||
render_mode unshaded; |
||||
|
||||
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, filter_linear_mipmap; |
||||
uniform sampler2D DEPTH_TEXTURE : hint_depth_texture, filter_linear_mipmap; |
||||
uniform sampler2D gradient: source_color; |
||||
uniform float fog_intensity: hint_range(0.0, 1.0); |
||||
uniform float fog_amount: hint_range(0.0, 1.0); |
||||
|
||||
void vertex() { |
||||
POSITION = vec4(VERTEX, 1.0); |
||||
} |
||||
|
||||
void fragment() { |
||||
vec4 original = texture(SCREEN_TEXTURE, SCREEN_UV); |
||||
|
||||
float depth = texture(DEPTH_TEXTURE, SCREEN_UV).x; |
||||
vec3 ndc= vec3(SCREEN_UV, depth) * 2.0 - 1.0; |
||||
vec4 view = INV_PROJECTION_MATRIX* vec4(ndc, 1.0); |
||||
view.xyz /= view.w; |
||||
depth = -view.z; |
||||
|
||||
float fog = depth * fog_amount; |
||||
|
||||
vec4 fog_color = texture(gradient, vec2(fog, 0.0)); |
||||
if (depth > 1.0) |
||||
ALBEDO = mix(original.rgb, fog_color.rgb, fog_color.a * fog_intensity); |
||||
else |
||||
ALBEDO = fog_color.rgb; |
||||
} |
||||
Binary file not shown.
Loading…
Reference in new issue