meat_madness_redux/godot/effects/grainy_shader.tscn

46 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2023-01-03 23:20:07 -07:00
[gd_scene load_steps=7 format=2]
2022-11-27 17:25:59 -07:00
2023-01-03 17:48:25 -07:00
[ext_resource path="res://effects/dithering/screen_space_shader.tres" type="Shader" id=1]
[ext_resource path="res://effects/grainy_shader.tres" type="Material" id=2]
2023-01-03 18:16:48 -07:00
[ext_resource path="res://effects/grainy_shader.gd" type="Script" id=3]
[ext_resource path="res://assets/audio/sicky_drone_2.ogg" type="AudioStream" id=4]
2023-01-03 23:20:07 -07:00
[ext_resource path="res://assets/audio/sicky_drone.ogg" type="AudioStream" id=5]
2022-11-27 17:25:59 -07:00
2023-01-03 17:48:25 -07:00
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 1 )
2022-11-27 17:25:59 -07:00
shader_param/seed = 81.0
shader_param/power = 0.0022
shader_param/speed = 0.1
2023-01-03 18:16:48 -07:00
shader_param/param = 9.0
2023-01-03 17:48:25 -07:00
shader_param/scale = 2.0
shader_param/grid = 4
shader_param/anim_period = 0.1
2022-11-27 17:25:59 -07:00
shader_param/amount = 0.06
2023-01-03 18:16:48 -07:00
shader_param/factor = 500.0
2022-11-27 17:25:59 -07:00
[node name="shader" type="Spatial"]
2023-01-03 18:16:48 -07:00
script = ExtResource( 3 )
2022-11-27 17:25:59 -07:00
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 100
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
2023-01-03 17:48:25 -07:00
material = ExtResource( 2 )
2022-11-27 17:25:59 -07:00
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
2023-01-03 17:48:25 -07:00
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer"]
2023-01-03 18:16:48 -07:00
visible = false
2023-01-03 17:48:25 -07:00
material = SubResource( 3 )
anchor_right = 1.0
anchor_bottom = 1.0
2023-01-03 18:16:48 -07:00
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="CanvasLayer/ColorRect2"]
stream = ExtResource( 4 )
volume_db = 15.0
2023-01-03 23:20:07 -07:00
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
2023-01-03 23:49:23 -07:00
volume_db = -20.0