From 40aa11d82553c27dfc4b1ff5424e128afc082551 Mon Sep 17 00:00:00 2001 From: unfa Date: Sun, 26 Dec 2021 16:28:53 +0100 Subject: [PATCH] Updated rotating noise --- .../Effects/NoiseBlurredHorizontally.ptex | 109 ++++++++++++++++-- .../Effects/NoiseBlurredHorizontally.png | 4 +- Game/Assets/Maps/DM1.tscn | 8 +- 3 files changed, 107 insertions(+), 14 deletions(-) diff --git a/Asset Sources/Effects/NoiseBlurredHorizontally.ptex b/Asset Sources/Effects/NoiseBlurredHorizontally.ptex index f3c58d3..ddf58b8 100644 --- a/Asset Sources/Effects/NoiseBlurredHorizontally.ptex +++ b/Asset Sources/Effects/NoiseBlurredHorizontally.ptex @@ -3,13 +3,31 @@ { "from": "perlin", "from_port": 0, + "to": "tones", + "to_port": 0 + }, + { + "from": "tones", + "from_port": 0, + "to": "blend", + "to_port": 1 + }, + { + "from": "gradient", + "from_port": 0, + "to": "blend", + "to_port": 2 + }, + { + "from": "blend", + "from_port": 0, "to": "directional_blur", "to_port": 0 }, { - "from": "directional_blur", + "from": "uniform_greyscale", "from_port": 0, - "to": "tones", + "to": "blend", "to_port": 0 } ], @@ -61,8 +79,8 @@ "parameters": { "iterations": 8, "persistence": 0.8, - "scale_x": 24, - "scale_y": 24 + "scale_x": 16, + "scale_y": 16 }, "seed": 0, "seed_locked": false, @@ -71,8 +89,8 @@ { "name": "directional_blur", "node_position": { - "x": -556.500122, - "y": 91.581627 + "x": -97.387444, + "y": 355.729523 }, "parameters": { "param0": 10, @@ -86,8 +104,8 @@ { "name": "tones", "node_position": { - "x": -165.797867, - "y": 58.461533 + "x": -615.679688, + "y": 163.444275 }, "parameters": { "in_max": { @@ -129,6 +147,81 @@ "seed": 0, "seed_locked": false, "type": "tones" + }, + { + "name": "gradient", + "node_position": { + "x": -624.159729, + "y": 508.448151 + }, + "parameters": { + "gradient": { + "interpolation": 1, + "points": [ + { + "a": 1, + "b": 1, + "g": 1, + "pos": 0, + "r": 1 + }, + { + "a": 1, + "b": 0, + "g": 0, + "pos": 0.19976, + "r": 0 + }, + { + "a": 1, + "b": 0, + "g": 0, + "pos": 0.844624, + "r": 0 + }, + { + "a": 1, + "b": 1, + "g": 1, + "pos": 1, + "r": 1 + } + ], + "type": "Gradient" + }, + "repeat": 1, + "rotate": 90 + }, + "seed": 0, + "seed_locked": false, + "type": "gradient" + }, + { + "name": "blend", + "node_position": { + "x": -336.854797, + "y": 288.925629 + }, + "parameters": { + "amount": 1, + "blend_type": 0 + }, + "seed": 0, + "seed_locked": false, + "type": "blend" + }, + { + "name": "uniform_greyscale", + "node_position": { + "x": -641.105347, + "y": 436.04425 + }, + "parameters": { + "color": 0.5 + }, + "seed": 0, + "seed_locked": false, + "type": "uniform_greyscale" } ], "parameters": { diff --git a/Game/Assets/Effects/NoiseBlurredHorizontally.png b/Game/Assets/Effects/NoiseBlurredHorizontally.png index d9e86ac..89d49c4 100644 --- a/Game/Assets/Effects/NoiseBlurredHorizontally.png +++ b/Game/Assets/Effects/NoiseBlurredHorizontally.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a502e6aadcb63ade341d7d38134f08da5b6303175c577d4db83168fd3763e4fd -size 197509 +oid sha256:150c0b65e50f36a4e93ca4c8b46ea2c16c531c5ab5fc3ca99550347c023626c1 +size 171891 diff --git a/Game/Assets/Maps/DM1.tscn b/Game/Assets/Maps/DM1.tscn index b306498..2e16c34 100644 --- a/Game/Assets/Maps/DM1.tscn +++ b/Game/Assets/Maps/DM1.tscn @@ -367,16 +367,16 @@ spot_range = 92.0 spot_attenuation = 0.554785 [node name="Energy" type="OmniLight3D" parent="Lights" index="6"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, -21, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, -21.4, 0) light_color = Color(1, 0.588235, 0.164706, 1) -light_energy = 80.0 +light_energy = 15.0 light_projector = ExtResource( "3_yx2bu" ) -light_size = 1.0 +light_size = 1.5 shadow_enabled = true omni_range = 65.0 [node name="GPUParticles3D" type="GPUParticles3D" parent="Particles" index="0"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, -21, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -34, -21.9, 0) amount = 128 lifetime = 1.5 process_material = SubResource( "ParticlesMaterial_l374b" )