[gd_scene format=3]
; Quake-map bench rig for the texture-LOD test.
;
; The terrain scene cannot validate texture LOD -- its textures are large smooth
; colour regions, so LOD 0 and correct mip selection measure identically
; (benchmarks/pt/RESULTS.md). Quake WAD textures are high-frequency and DO respond:
; hyper-games #11 §4.6 observed the ray-cone change over-blurring them, which is only
; possible if the mip chain is live (wad_loader.gd:59 generate_mipmaps).
;
; map_dc_level.tscn is INSTANCED rather than rebuilt here, because the level's
; geometry, WAD atlas, projection table and lights all come from map_dc_level.gd's
; importer -- 498 lines that would rot immediately if duplicated. The map deliberately
; ships no WorldEnvironment of its own (it nudges an inherited one, see the comment at
; map_dc_level.gd:97), so this scene provides one.
[ext_resource type="Script" path="res://scenes/test/rtx_test.gd" id="3"]
[ext_resource type="Script" path="res://scenes/test/pt_bench.gd" id="5"]
[ext_resource type="PackedScene" path="res://scenes/maps/map_dc_level.tscn" id="6"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_lvl"]
[sub_resource type="Sky" id="Sky_lvl"]
sky_material = SubResource("PhysicalSkyMaterial_lvl")
[sub_resource type="Environment" id="Environment_lvl"]
background_mode = 2
sky = SubResource("Sky_lvl")
ambient_light_source = 3
reflected_light_source = 2
pathtracing_enabled = true
pathtracing_samples_per_pixel = 2
pathtracing_max_bounces = 3
pathtracing_denoiser = 0
[node name="DCLevelPTBench" type="Node3D"]
[node name="MapDCLevel" parent="." instance=ExtResource("6")]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
current = true
far = 4000.0
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="StatsLabel" type="Label" parent="CanvasLayer"]
offset_left = 10.0
offset_top = 10.0
offset_right = 400.0
offset_bottom = 100.0
text = "Loading..."
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_lvl")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment"]
transform = Transform3D(0.56815976, 0.49524453, 0.6572118, -1.7763568e-15, -0.7986355, 0.601815, 0.8229182, -0.34192705, -0.45375252, 0, 0, 0)
shadow_enabled = true
[node name="RTXTest" type="Node" parent="."]
script = ExtResource("3")
[node name="PTBench" type="Node" parent="."]
script = ExtResource("5")