[gd_scene format=3 uid="uid://dyxvcf2l8ba5x"]

[ext_resource type="Shader" uid="uid://caavljcth87so" path="res://core/daynight/godrays.gdshader" id="1_qxph4"]
[ext_resource type="Script" uid="uid://d0kgbg142recf" path="res://core/daynight/godrays.gd" id="2_v3yr3"]

[sub_resource type="PlaneMesh" id="PlaneMesh_l01hg"]
size = Vector2(2, 10)

[sub_resource type="FastNoiseLite" id="FastNoiseLite_llprl"]
noise_type = 3
seed = 4
frequency = 0.0096

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_kavln"]
noise = SubResource("FastNoiseLite_llprl")
seamless = true

[sub_resource type="ShaderMaterial" id="ShaderMaterial_joqvq"]
render_priority = 0
shader = ExtResource("1_qxph4")
shader_parameter/noise_texture = SubResource("NoiseTexture2D_kavln")
shader_parameter/ray_color = Color(1, 0.78431374, 0.27058825, 1)
shader_parameter/base_alpha = 1.0
shader_parameter/noise_stretching = 3.17200010317
shader_parameter/noise_scale = 1.0
shader_parameter/scrolling_speed = Vector2(0, 0.15)
shader_parameter/depth_softness = 1.0
shader_parameter/edge_fade_power = 2.0
shader_parameter/intensity_multiplier = 0.5330000253175

[node name="GodRay" type="Node3D" unique_id=1679441931]
script = ExtResource("2_v3yr3")

[node name="GodRays" type="MeshInstance3D" parent="." unique_id=341055819]
transform = Transform3D(3.39, 0, 0, 0, -3.1996737e-07, 13, 0, -7.32, -5.68248e-07, 0, 0, 0)
mesh = SubResource("PlaneMesh_l01hg")
surface_material_override/0 = SubResource("ShaderMaterial_joqvq")
