quakeball-rust/godot/maps/meta/lightmap_timestamp_checker.tscn

37 lines
1.1 KiB
Plaintext

[gd_scene format=3 uid="uid://tu330t7m1ow6"]
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_t72h2"]
emission_shape = 3
emission_box_extents = Vector3(10, 5, 10)
gravity = Vector3(0, 0.1, 0)
[sub_resource type="ORMMaterial3D" id="ORMMaterial3D_p5t2c"]
no_depth_test = true
shading_mode = 0
albedo_color = Color(1, 1, 0, 1)
[sub_resource type="TextMesh" id="TextMesh_xtu64"]
material = SubResource("ORMMaterial3D_p5t2c")
text = "lighting out of date"
depth = 0.001
[sub_resource type="GDScript" id="GDScript_1btwk"]
resource_name = "lightmap_timestamp_checker"
script/source = "@tool
extends GPUParticles3D
func _ready() -> void:
# TODO: enable this node if the .exr/.lmbake's timestamp is older than the .map file's
pass
"
[node name="lightmap_timestamp_checker" type="GPUParticles3D" unique_id=400431685]
visible = false
amount = 100
lifetime = 10.0
transform_align = 1
transform_align_channel_filter = 1
process_material = SubResource("ParticleProcessMaterial_t72h2")
draw_pass_1 = SubResource("TextMesh_xtu64")
script = SubResource("GDScript_1btwk")