meat_madness_redux/godot/effects/grainy_shader.tscn

46 lines
1.4 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[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]
[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]
[ext_resource path="res://assets/audio/sicky_drone.ogg" type="AudioStream" id=5]
[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 1 )
shader_param/seed = 81.0
shader_param/power = 0.0022
shader_param/speed = 0.1
shader_param/param = 9.0
shader_param/scale = 2.0
shader_param/grid = 4
shader_param/anim_period = 0.1
shader_param/amount = 0.06
shader_param/factor = 500.0
[node name="shader" type="Spatial"]
script = ExtResource( 3 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 100
[node name="ColorRect" type="ColorRect" parent="CanvasLayer"]
material = ExtResource( 2 )
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="ColorRect2" type="ColorRect" parent="CanvasLayer"]
visible = false
material = SubResource( 3 )
anchor_right = 1.0
anchor_bottom = 1.0
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="CanvasLayer/ColorRect2"]
stream = ExtResource( 4 )
volume_db = 15.0
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -20.0