added greyscale special effect
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=22 format=3 uid="uid://cqtabc6coc58l"]
|
||||
[gd_scene load_steps=25 format=3 uid="uid://cqtabc6coc58l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dmtpstry0o0a3" path="res://Assets/Scripts/Player Controls/player_movement.gd" id="1_48dl1"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2mhoeubwtkuo" path="res://Scenes/UI/fade_in_transition.tscn" id="2_cx0fw"]
|
||||
@@ -7,9 +7,15 @@
|
||||
[ext_resource type="PackedScene" uid="uid://b54u8nvjd4p6l" path="res://Scenes/UI/pause_menu.tscn" id="3_cx0fw"]
|
||||
[ext_resource type="Script" uid="uid://chb1dyhl7cyg1" path="res://Assets/Scripts/UI/crosshair.gd" id="3_vwrhx"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmyf6lhbn1x6p" path="res://Scenes/Models/Interior/security_office_model.tscn" id="4_vwrhx"]
|
||||
[ext_resource type="Shader" uid="uid://xinbgyk6acog" path="res://Assets/Scripts/Shaders/grayscale.gdshader" id="5_bn2ya"]
|
||||
[ext_resource type="Script" uid="uid://bfsaxhnb0qpuk" path="res://Assets/Scripts/Misc/flickering_light.gd" id="5_nmbs0"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0qenaw8wxlbv" path="res://Assets/MISC_Textures/DustMote.png" id="6_ayt7b"]
|
||||
[ext_resource type="PackedScene" uid="uid://c670wtpi4n22q" path="res://Scenes/UI/terminal.tscn" id="10_gba58"]
|
||||
[ext_resource type="Script" uid="uid://ckagscjkf3iiu" path="res://Assets/Scripts/UI/terminal/terminal_controls.gd" id="10_gba58"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bn2ya"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("5_bn2ya")
|
||||
shader_parameter/saturation = 0.0
|
||||
|
||||
[sub_resource type="Environment" id="Environment_cumm5"]
|
||||
background_mode = 1
|
||||
@@ -77,6 +83,9 @@ size = Vector3(0.0644531, 0.530029, 0.4646)
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_vwrhx"]
|
||||
viewport_path = NodePath("Interactables/PC/Sprite3D/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_nmbs0"]
|
||||
font_size = 42
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
|
||||
[node name="PlayerController" type="Node3D" parent="."]
|
||||
@@ -121,6 +130,14 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("3_vwrhx")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="PlayerController/Camera3D/CanvasLayer"]
|
||||
material = SubResource("ShaderMaterial_bn2ya")
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="PauseMenu" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Transition" parent="PauseMenu" instance=ExtResource("2_cx0fw")]
|
||||
@@ -210,10 +227,46 @@ shape = SubResource("BoxShape3D_nmbs0")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Interactables/PC"]
|
||||
transform = Transform3D(0.024902493, 0.0022058422, 0, -0.0022058422, 0.024902493, 0, 0, 0, 0.024999999, 0.053893626, 0.2870214, 0.041617036)
|
||||
layers = 2
|
||||
flip_h = true
|
||||
axis = 0
|
||||
texture = SubResource("ViewportTexture_vwrhx")
|
||||
|
||||
[node name="SubViewport" parent="Interactables/PC/Sprite3D" instance=ExtResource("10_gba58")]
|
||||
[node name="SubViewport" type="SubViewport" parent="Interactables/PC/Sprite3D" node_paths=PackedStringArray("terminalLine")]
|
||||
transparent_bg = true
|
||||
size = Vector2i(1830, 1680)
|
||||
script = ExtResource("10_gba58")
|
||||
terminalLine = NodePath("MarginContainer/ScrollContainer/VBoxContainer/Label")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Interactables/PC/Sprite3D/SubViewport"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer/ScrollContainer/VBoxContainer"]
|
||||
clip_contents = true
|
||||
custom_minimum_size = Vector2(1800, 0)
|
||||
layout_mode = 2
|
||||
text = "a0ifjaojkfna"
|
||||
label_settings = SubResource("LabelSettings_nmbs0")
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="Caret" type="ColorRect" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer/ScrollContainer/VBoxContainer/Label"]
|
||||
layout_mode = 0
|
||||
offset_right = 24.0
|
||||
offset_bottom = 42.0
|
||||
|
||||
[node name="CaretTimer" type="Timer" parent="Interactables/PC/Sprite3D/SubViewport/MarginContainer/ScrollContainer/VBoxContainer/Label"]
|
||||
wait_time = 0.5
|
||||
autostart = true
|
||||
|
||||
[connection signal="timeout" from="Lighting/OmniLight3D3/Timer" to="Lighting/OmniLight3D3" method="_on_timer_timeout"]
|
||||
[connection signal="timeout" from="Interactables/PC/Sprite3D/SubViewport/MarginContainer/ScrollContainer/VBoxContainer/Label/CaretTimer" to="Interactables/PC/Sprite3D/SubViewport" method="_on_caret_timer_timeout"]
|
||||
|
||||
Reference in New Issue
Block a user