Camera Shake

This commit is contained in:
Marinho Brandao
2023-12-14 17:25:36 +01:00
parent b3f5ae3e05
commit 41f7a04b4a
5 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,16 @@
[gd_scene load_steps=3 format=3 uid="uid://dxnm4sgbeu22g"]
[ext_resource type="Shader" path="res://camera-effects/camera-shake.gdshader" id="1_jjc8p"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_a78ec"]
shader = ExtResource("1_jjc8p")
shader_parameter/strength = 20.0
shader_parameter/speed = 100.0
[node name="Camera Shake" type="ColorRect"]
material = SubResource("ShaderMaterial_a78ec")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2