26 lines
690 B
Plaintext
26 lines
690 B
Plaintext
[gd_scene load_steps=4 format=3]
|
|
|
|
[ext_resource type="Script" path="res://world/props/votive_glow.gd" id="script"]
|
|
|
|
[sub_resource type="Gradient" id="radial"]
|
|
offsets = PackedFloat32Array(0, 0.25, 0.6, 1)
|
|
colors = PackedColorArray(1, 1, 1, 0.8, 1, 1, 1, 0.45, 1, 1, 1, 0.1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="halo"]
|
|
gradient = SubResource("radial")
|
|
width = 128
|
|
height = 128
|
|
fill = 1
|
|
fill_from = Vector2(0.5, 0.5)
|
|
fill_to = Vector2(0.5, 1)
|
|
|
|
[node name="VotiveGlow" type="PointLight2D"]
|
|
texture = SubResource("halo")
|
|
texture_scale = 1.2
|
|
color = Color(1, 0.62, 0.29, 1)
|
|
energy = 0.45
|
|
range_z_min = -10
|
|
range_z_max = 6
|
|
shadow_enabled = false
|
|
script = ExtResource("script")
|