Loading images with noise distortion.
This commit is contained in:
27
content/mat_imagine.tres
Normal file
27
content/mat_imagine.tres
Normal file
@@ -0,0 +1,27 @@
|
||||
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://wr6g6bhw2fyj"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://cutdjeuxu188p" path="res://content/imagine.gdshader" id="1_74fhu"]
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_74fhu"]
|
||||
noise_type = 0
|
||||
frequency = 0.0018
|
||||
cellular_distance_function = 1
|
||||
domain_warp_type = 2
|
||||
domain_warp_amplitude = 3.36
|
||||
domain_warp_fractal_type = 2
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_74fhu"]
|
||||
width = 1280
|
||||
height = 720
|
||||
noise = SubResource("FastNoiseLite_74fhu")
|
||||
seamless = true
|
||||
invert = true
|
||||
in_3d_space = true
|
||||
normalize = false
|
||||
bump_strength = 32.0
|
||||
|
||||
[resource]
|
||||
shader = ExtResource("1_74fhu")
|
||||
shader_parameter/ripples = SubResource("NoiseTexture2D_74fhu")
|
||||
shader_parameter/warp = 0.005
|
||||
shader_parameter/time_scale = 0.035
|
||||
Reference in New Issue
Block a user