fix goofy ass sky shader
This commit is contained in:
parent
e2a6d529b6
commit
a7f7a35266
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=12 format=3 uid="uid://c6w0ivy4hetrl"]
|
[gd_scene load_steps=11 format=3 uid="uid://c6w0ivy4hetrl"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://assets/core/player-controller/scripts/player.gd" id="1_bv7t4"]
|
[ext_resource type="Script" path="res://assets/core/player-controller/scripts/player.gd" id="1_bv7t4"]
|
||||||
[ext_resource type="Texture2D" uid="uid://fwub8fvl2u4i" path="res://addons/ingameconsole/ps1hagrid.png" id="2_omgn1"]
|
[ext_resource type="Texture2D" uid="uid://fwub8fvl2u4i" path="res://addons/ingameconsole/ps1hagrid.png" id="2_omgn1"]
|
||||||
@ -13,10 +13,6 @@ radius = 0.35
|
|||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qlkab"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_qlkab"]
|
||||||
radius = 0.35
|
radius = 0.35
|
||||||
|
|
||||||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_fqbrh"]
|
|
||||||
auto_exposure_enabled = true
|
|
||||||
auto_exposure_max_sensitivity = 700.0
|
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wmxrr"]
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wmxrr"]
|
||||||
shader = ExtResource("3_rakxt")
|
shader = ExtResource("3_rakxt")
|
||||||
|
|
||||||
@ -47,7 +43,6 @@ shape = SubResource("CapsuleShape3D_qlkab")
|
|||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65, 0)
|
||||||
|
|
||||||
[node name="Camera3D" type="Camera3D" parent="Neck"]
|
[node name="Camera3D" type="Camera3D" parent="Neck"]
|
||||||
attributes = SubResource("CameraAttributesPractical_fqbrh")
|
|
||||||
|
|
||||||
[node name="RayCast3D" type="RayCast3D" parent="Neck/Camera3D" node_paths=PackedStringArray("player")]
|
[node name="RayCast3D" type="RayCast3D" parent="Neck/Camera3D" node_paths=PackedStringArray("player")]
|
||||||
target_position = Vector3(0, 0, -2.5)
|
target_position = Vector3(0, 0, -2.5)
|
||||||
|
@ -72,7 +72,7 @@ func _physics_process(_delta):
|
|||||||
angular_velocity.y = clamp(angular_velocity.y, -max_turn_speed, max_turn_speed)
|
angular_velocity.y = clamp(angular_velocity.y, -max_turn_speed, max_turn_speed)
|
||||||
|
|
||||||
#if NetworkManager.is_host:
|
#if NetworkManager.is_host:
|
||||||
|
|
||||||
if old_global_position_cache != global_position:
|
if old_global_position_cache != global_position:
|
||||||
NetworkManager.sync_property(uuid, "global_position", global_position)
|
NetworkManager.sync_property(uuid, "global_position", global_position)
|
||||||
old_global_position_cache = global_position
|
old_global_position_cache = global_position
|
||||||
|
Loading…
Reference in New Issue
Block a user