123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- [gd_scene load_steps=24 format=3 uid="uid://c57duuo5p7mc0"]
- [ext_resource type="Script" path="res://tester.gd" id="1"]
- [ext_resource type="Texture2D" uid="uid://ddo4ecus0bal4" path="res://backgrounds/schelde.hdr" id="2_6cpkq"]
- [ext_resource type="PackedScene" uid="uid://cgqfdwd4g5e14" path="res://models/test_bed/test_bed.tscn" id="3"]
- [ext_resource type="ArrayMesh" uid="uid://btydvpp0agbfj" path="res://models/godot_ball.res" id="4_7al4s"]
- [ext_resource type="Material" uid="uid://bbfkhkmct7wu3" path="res://test_materials/blue.tres" id="5"]
- [ext_resource type="Material" uid="uid://b0qkg55h84i3f" path="res://test_materials/white.tres" id="6"]
- [ext_resource type="Material" uid="uid://d3u3snuqdn404" path="res://test_materials/gray.tres" id="7"]
- [ext_resource type="Material" path="res://test_materials/white_plastic.tres" id="8"]
- [ext_resource type="Material" uid="uid://qpdv7evfgbyw" path="res://test_materials/mirror.tres" id="9"]
- [ext_resource type="Material" uid="uid://djut62ilojfmq" path="res://test_materials/dark_wood.tres" id="10"]
- [ext_resource type="Material" uid="uid://ca5id5w12cprn" path="res://test_materials/stones.tres" id="11"]
- [ext_resource type="Material" uid="uid://dfsu6vtygh0tc" path="res://test_materials/brick.tres" id="12"]
- [ext_resource type="Material" uid="uid://dtui5o3potpen" path="res://test_materials/wool.tres" id="13"]
- [ext_resource type="Material" uid="uid://cg7l6w2h0aq22" path="res://test_materials/aluminium.tres" id="14"]
- [ext_resource type="Material" uid="uid://c5oxndmf0jbu3" path="res://test_materials/marble.tres" id="15"]
- [ext_resource type="Material" uid="uid://dv76cxap5uj7y" path="res://test_materials/cheese.tres" id="16"]
- [ext_resource type="Material" uid="uid://bx0jnmhhr8qwh" path="res://test_materials/wet_sand.tres" id="17"]
- [ext_resource type="Material" uid="uid://dct7oit1go38a" path="res://test_materials/rock.tres" id="18"]
- [ext_resource type="Material" uid="uid://bv6dr534vwcr1" path="res://test_materials/ice.tres" id="19"]
- [ext_resource type="Material" uid="uid://y4yhjq6ftc3l" path="res://test_materials/toon.tres" id="20"]
- [sub_resource type="PanoramaSkyMaterial" id="1"]
- panorama = ExtResource("2_6cpkq")
- [sub_resource type="Sky" id="2"]
- sky_material = SubResource("1")
- radiance_size = 4
- [sub_resource type="Environment" id="Environment_5crof"]
- background_mode = 2
- sky = SubResource("2")
- tonemap_mode = 3
- tonemap_white = 6.0
- fog_enabled = true
- fog_density = 0.002
- fog_sky_affect = 0.0
- [node name="MaterialTester" type="Node3D"]
- script = ExtResource("1")
- [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
- transform = Transform3D(-0.866023, -0.433016, 0.250001, 0, 0.499998, 0.866027, -0.500003, 0.749999, -0.43301, 0, 0, 0)
- visible = false
- shadow_enabled = true
- [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
- environment = SubResource("Environment_5crof")
- [node name="Testers" type="Node3D" parent="."]
- [node name="White Plastic" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/White Plastic"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 2
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("8")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/White Plastic/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483645
- reflection_mask = 2
- [node name="Mirror" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Mirror"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 4
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("9")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Mirror/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483643
- reflection_mask = 4
- [node name="Dark Wood" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Dark Wood"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 8
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("10")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Dark Wood/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483639
- reflection_mask = 8
- [node name="Cheese" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Cheese"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 16
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("16")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Cheese/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483631
- reflection_mask = 16
- [node name="Stones" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Stones"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 32
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("11")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Stones/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483615
- reflection_mask = 32
- [node name="Brick" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Brick"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 64
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("12")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Brick/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483583
- reflection_mask = 64
- [node name="Wool" parent="Testers" instance=ExtResource("3")]
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Wool"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 128
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("13")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Wool/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483519
- reflection_mask = 128
- [node name="Aluminium" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Aluminium"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 256
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("14")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Aluminium/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483391
- reflection_mask = 256
- [node name="Marble" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Marble"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 512
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("15")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Marble/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147483135
- reflection_mask = 512
- [node name="Wet Sand" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Wet Sand"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 1024
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("17")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Wet Sand/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147482623
- reflection_mask = 1024
- [node name="Rock" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Rock"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 2048
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("18")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Rock/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147481599
- reflection_mask = 2048
- [node name="Ice" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Ice"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 4096
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("19")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Ice/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147479551
- reflection_mask = 4096
- [node name="Toon" parent="Testers" instance=ExtResource("3")]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 0)
- [node name="GodotBall" type="MeshInstance3D" parent="Testers/Toon"]
- transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4)
- layers = 8192
- mesh = ExtResource("4_7al4s")
- surface_material_override/0 = ExtResource("20")
- surface_material_override/1 = ExtResource("6")
- surface_material_override/2 = ExtResource("5")
- surface_material_override/3 = ExtResource("7")
- [node name="ReflectionProbe" type="ReflectionProbe" parent="Testers/Toon/GodotBall" groups=["reflection_probe"]]
- transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 3, 0)
- size = Vector3(256, 256, 256)
- enable_shadows = true
- cull_mask = 2147475455
- reflection_mask = 8192
- [node name="CameraHolder" type="Node3D" parent="."]
- transform = Transform3D(0.877582, 0, -0.479427, 0, 1, 0, 0.479427, 0, 0.877582, -36, 2.8, -4)
- [node name="RotationX" type="Node3D" parent="CameraHolder"]
- transform = Transform3D(1, 0, 0, 0, 0.877582, 0.479427, 0, -0.479427, 0.877582, 0, 0, 0)
- [node name="Camera" type="Camera3D" parent="CameraHolder/RotationX"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
- fov = 65.0
- near = 0.1
- [node name="UI" type="Control" parent="."]
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- mouse_filter = 2
- [node name="Background" type="OptionButton" parent="UI"]
- layout_mode = 0
- offset_left = 16.0
- offset_top = 16.0
- offset_right = 30.0
- offset_bottom = 36.0
- focus_mode = 0
- [node name="ReflectionProbes" type="OptionButton" parent="UI"]
- layout_mode = 0
- offset_left = 16.0
- offset_top = 56.0
- offset_right = 233.0
- offset_bottom = 87.0
- focus_mode = 0
- selected = 2
- item_count = 3
- popup/item_0/text = "No Reflection Probes"
- popup/item_1/text = "Reflection Probes (Reflection only)"
- popup/item_1/id = 1
- popup/item_2/text = "Reflection Probes (Reflection + Ambient)"
- popup/item_2/id = 2
- [node name="Previous" type="Button" parent="UI"]
- layout_mode = 1
- anchors_preset = 2
- anchor_top = 1.0
- anchor_bottom = 1.0
- offset_left = 16.0
- offset_top = -64.0
- offset_right = 152.0
- offset_bottom = -16.0
- grow_vertical = 0
- focus_mode = 0
- text = "« Previous"
- [node name="Next" type="Button" parent="UI"]
- layout_mode = 1
- anchors_preset = 3
- anchor_left = 1.0
- anchor_top = 1.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- offset_left = -98.0
- offset_top = -64.0
- offset_right = -16.0
- offset_bottom = -16.0
- grow_horizontal = 0
- grow_vertical = 0
- focus_mode = 0
- text = "Next »"
- [node name="MaterialName" type="Label" parent="UI"]
- layout_mode = 1
- anchors_preset = 7
- anchor_left = 0.5
- anchor_top = 1.0
- anchor_right = 0.5
- anchor_bottom = 1.0
- offset_left = -0.5
- offset_top = -58.0
- offset_right = 0.5
- offset_bottom = -24.0
- grow_horizontal = 2
- grow_vertical = 0
- size_flags_vertical = 0
- theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
- theme_override_constants/outline_size = 5
- theme_override_font_sizes/font_size = 24
- [node name="Quit" type="Button" parent="UI"]
- layout_mode = 1
- anchors_preset = 1
- anchor_left = 1.0
- anchor_right = 1.0
- offset_left = -89.0
- offset_top = 16.0
- offset_right = -16.0
- offset_bottom = 52.0
- grow_horizontal = 0
- focus_mode = 0
- text = "Quit"
- [connection signal="item_selected" from="UI/Background" to="." method="_on_bg_item_selected"]
- [connection signal="item_selected" from="UI/ReflectionProbes" to="." method="_on_reflection_probes_item_selected"]
- [connection signal="toggled" from="UI/ReflectionProbes" to="." method="_on_use_reflection_probes_toggled"]
- [connection signal="pressed" from="UI/Previous" to="." method="_on_previous_pressed"]
- [connection signal="pressed" from="UI/Next" to="." method="_on_next_pressed"]
- [connection signal="pressed" from="UI/Quit" to="." method="_on_quit_pressed"]
|