diff --git a/splunk/levels/lobby-scene/campfire/campfire.tscn b/splunk/levels/lobby-scene/campfire/campfire.tscn index 9bb6049..5506d05 100644 --- a/splunk/levels/lobby-scene/campfire/campfire.tscn +++ b/splunk/levels/lobby-scene/campfire/campfire.tscn @@ -142,3 +142,10 @@ draw_pass_1 = SubResource("QuadMesh_8eekk") stream = ExtResource("4_u2sse") volume_db = -15.0 unit_size = 5.0 + +[node name="OmniLight3D" type="OmniLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.733088, 0) +light_color = Color(1, 0.823529, 0, 1) +shadow_enabled = true +distance_fade_enabled = true +omni_range = 9.93165 diff --git a/splunk/player/Player.tscn b/splunk/player/Player.tscn index cc8a50d..7b2ffce 100644 --- a/splunk/player/Player.tscn +++ b/splunk/player/Player.tscn @@ -41,6 +41,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.297908, 0) [node name="Camera3D" type="Camera3D" parent="Neck"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.144889, 0) +cull_mask = 1048574 [node name="HeadBoneAttachment3D" type="BoneAttachment3D" parent="Neck"] transform = Transform3D(0.999974, -0.00719406, 8.09973e-08, 0.00719406, 0.999974, -1.33776e-07, -8.00328e-08, 1.34355e-07, 1, 0.00301405, -0.0458933, 0.00284567) @@ -72,4 +73,5 @@ autoplay = "Idle" transform = Transform3D(0.707107, 0.707107, -2.03718e-08, -0.183013, 0.183013, -0.965926, -0.683013, 0.683013, 0.258819, -0.228015, 0.33104, -0.235279) visible = false +[editable path="Neck/HeadBoneAttachment3D/head"] [editable path="Mesh"] diff --git a/splunk/player/head.blend b/splunk/player/head.blend index a704aef..af4a395 100644 Binary files a/splunk/player/head.blend and b/splunk/player/head.blend differ diff --git a/splunk/player/head.blend.import b/splunk/player/head.blend.import index 7f9724c..ba29f61 100644 --- a/splunk/player/head.blend.import +++ b/splunk/player/head.blend.import @@ -32,7 +32,17 @@ animation/trimming=false animation/remove_immutable_tracks=true animation/import_rest_as_RESET=false import_script/path="" -_subresources={} +_subresources={ +"nodes": { +"PATH:Head": { +"mesh_instance/cast_shadow": 0 +}, +"PATH:Head-shadows": { +"mesh_instance/cast_shadow": 3, +"mesh_instance/layers": 4 +} +} +} blender/nodes/visible=0 blender/nodes/active_collection_only=false blender/nodes/punctual_lights=true diff --git a/splunk/player/head.blend1 b/splunk/player/head.blend1 index b51a4a8..a704aef 100644 Binary files a/splunk/player/head.blend1 and b/splunk/player/head.blend1 differ diff --git a/splunk/project.godot b/splunk/project.godot index 6fa4985..542b2e2 100644 --- a/splunk/project.godot +++ b/splunk/project.godot @@ -126,6 +126,7 @@ esc={ [layer_names] 3d_render/layer_2="player" +3d_render/layer_3="multiplayer_player_view_shadows_only" 3d_physics/layer_2="player" [physics]