1[gd_scene load_steps=50 format=2] 2 3[ext_resource path="res://tester.gd" type="Script" id=1] 4[ext_resource path="res://default_env.tres" type="Environment" id=2] 5[ext_resource path="res://models/test_bed/test_bed.tscn" type="PackedScene" id=3] 6[ext_resource path="res://models/godot_ball.mesh" type="ArrayMesh" id=4] 7[ext_resource path="res://test_materials/texture_wood.png" type="Texture" id=5] 8[ext_resource path="res://test_materials/texture_cheese_albedo.png" type="Texture" id=6] 9[ext_resource path="res://test_materials/texture_cheese_ao.png" type="Texture" id=7] 10[ext_resource path="res://test_materials/texture_cheese_depth.png" type="Texture" id=8] 11[ext_resource path="res://test_materials/texture_cheese_normal.png" type="Texture" id=9] 12[ext_resource path="res://test_materials/texture_rock_albedo.png" type="Texture" id=10] 13[ext_resource path="res://test_materials/texture_rock_ao.png" type="Texture" id=11] 14[ext_resource path="res://test_materials/texture_rock_depth.png" type="Texture" id=12] 15[ext_resource path="res://test_materials/texture_rock_metal.png" type="Texture" id=13] 16[ext_resource path="res://test_materials/texture_rock_normal.png" type="Texture" id=14] 17[ext_resource path="res://test_materials/texture_bricks.jpg" type="Texture" id=15] 18[ext_resource path="res://test_materials/texture_bricks_depth.jpg" type="Texture" id=16] 19[ext_resource path="res://test_materials/texture_bricks_metal.jpg" type="Texture" id=17] 20[ext_resource path="res://test_materials/texture_bricks_normal.jpg" type="Texture" id=18] 21[ext_resource path="res://test_materials/wool_albedo.png" type="Texture" id=19] 22[ext_resource path="res://test_materials/wool_depth.png" type="Texture" id=20] 23[ext_resource path="res://test_materials/wool_normal.png" type="Texture" id=21] 24[ext_resource path="res://test_materials/aluminium_albedo.png" type="Texture" id=22] 25[ext_resource path="res://test_materials/aluminium_normal.png" type="Texture" id=23] 26[ext_resource path="res://test_materials/marble_albedo.png" type="Texture" id=24] 27[ext_resource path="res://test_materials/sand_albedo.jpg" type="Texture" id=25] 28[ext_resource path="res://test_materials/sand_metal.jpg" type="Texture" id=26] 29[ext_resource path="res://test_materials/sand_normal.jpg" type="Texture" id=27] 30[ext_resource path="res://test_materials/sand_rough.jpg" type="Texture" id=28] 31[ext_resource path="res://test_materials/rock_albedo.jpg" type="Texture" id=29] 32[ext_resource path="res://test_materials/rock_ao.jpg" type="Texture" id=30] 33[ext_resource path="res://test_materials/rock_metal.jpg" type="Texture" id=31] 34[ext_resource path="res://test_materials/rock_rough.jpg" type="Texture" id=32] 35 36[sub_resource type="SpatialMaterial" id=1] 37metallic = 0.4 38roughness = 0.35 39 40[sub_resource type="SpatialMaterial" id=2] 41albedo_color = Color( 0.895294, 0.900549, 0.890078, 1 ) 42metallic = 0.1 43roughness = 0.52 44 45[sub_resource type="SpatialMaterial" id=3] 46albedo_color = Color( 0.551806, 0.709299, 0.980989, 1 ) 47metallic = 0.31 48roughness = 0.42 49 50[sub_resource type="SpatialMaterial" id=4] 51albedo_color = Color( 0.471216, 0.481647, 0.465961, 1 ) 52metallic = 0.1 53roughness = 0.0 54 55[sub_resource type="SpatialMaterial" id=5] 56metallic = 1.0 57roughness = 0.02 58 59[sub_resource type="SpatialMaterial" id=6] 60albedo_color = Color( 0.806275, 0.575882, 0.361255, 1 ) 61albedo_texture = ExtResource( 5 ) 62metallic = 0.48 63roughness = 0.28 64 65[sub_resource type="SpatialMaterial" id=7] 66albedo_texture = ExtResource( 6 ) 67roughness = 0.64 68normal_enabled = true 69normal_scale = 1.0 70normal_texture = ExtResource( 9 ) 71ao_enabled = true 72ao_light_affect = 0.0 73ao_texture = ExtResource( 7 ) 74ao_on_uv2 = false 75ao_texture_channel = 0 76depth_enabled = true 77depth_scale = 0.13 78depth_deep_parallax = true 79depth_min_layers = 8 80depth_max_layers = 32 81depth_flip_tangent = false 82depth_flip_binormal = false 83depth_texture = ExtResource( 8 ) 84subsurf_scatter_enabled = true 85subsurf_scatter_strength = 0.37 86 87[sub_resource type="SpatialMaterial" id=8] 88albedo_texture = ExtResource( 10 ) 89metallic = 0.86 90metallic_texture = ExtResource( 13 ) 91roughness = 0.47 92normal_enabled = true 93normal_scale = 1.0 94normal_texture = ExtResource( 14 ) 95ao_enabled = true 96ao_light_affect = 0.0 97ao_texture = ExtResource( 11 ) 98ao_on_uv2 = false 99ao_texture_channel = 0 100depth_enabled = true 101depth_scale = 0.18 102depth_deep_parallax = true 103depth_min_layers = 8 104depth_max_layers = 32 105depth_flip_tangent = false 106depth_flip_binormal = false 107depth_texture = ExtResource( 12 ) 108 109[sub_resource type="SpatialMaterial" id=9] 110albedo_texture = ExtResource( 15 ) 111metallic = 1.0 112metallic_texture = ExtResource( 17 ) 113roughness = 0.56 114normal_enabled = true 115normal_scale = 1.0 116normal_texture = ExtResource( 18 ) 117depth_enabled = true 118depth_scale = 0.03 119depth_deep_parallax = true 120depth_min_layers = 8 121depth_max_layers = 32 122depth_flip_tangent = false 123depth_flip_binormal = false 124depth_texture = ExtResource( 16 ) 125 126[sub_resource type="SpatialMaterial" id=10] 127albedo_texture = ExtResource( 19 ) 128metallic = 0.1 129roughness = 0.77 130normal_enabled = true 131normal_scale = 0.3 132normal_texture = ExtResource( 21 ) 133depth_enabled = true 134depth_scale = 0.01 135depth_deep_parallax = true 136depth_min_layers = 8 137depth_max_layers = 32 138depth_flip_tangent = false 139depth_flip_binormal = false 140depth_texture = ExtResource( 20 ) 141 142[sub_resource type="SpatialMaterial" id=11] 143albedo_texture = ExtResource( 22 ) 144metallic = 0.59 145roughness = 0.4 146normal_enabled = true 147normal_scale = 0.21 148normal_texture = ExtResource( 23 ) 149anisotropy_enabled = true 150anisotropy = -0.99 151 152[sub_resource type="SpatialMaterial" id=12] 153params_diffuse_mode = 2 154albedo_texture = ExtResource( 24 ) 155metallic = 0.1 156roughness = 0.1 157rim_enabled = true 158rim = 1.0 159rim_tint = 1.0 160subsurf_scatter_enabled = true 161subsurf_scatter_strength = 0.1 162 163[sub_resource type="SpatialMaterial" id=13] 164albedo_texture = ExtResource( 25 ) 165metallic = 1.0 166metallic_texture = ExtResource( 26 ) 167roughness_texture = ExtResource( 28 ) 168normal_enabled = true 169normal_scale = 0.43 170normal_texture = ExtResource( 27 ) 171 172[sub_resource type="SpatialMaterial" id=14] 173albedo_texture = ExtResource( 29 ) 174metallic = 0.12 175roughness_texture = ExtResource( 32 ) 176normal_enabled = true 177normal_scale = 1.0 178normal_texture = ExtResource( 31 ) 179ao_enabled = true 180ao_light_affect = 0.0 181ao_texture = ExtResource( 30 ) 182ao_on_uv2 = false 183ao_texture_channel = 0 184 185[sub_resource type="SpatialMaterial" id=15] 186params_depth_draw_mode = 2 187albedo_color = Color( 1, 1, 1, 0 ) 188albedo_texture = ExtResource( 29 ) 189metallic = 1.0 190roughness = 0.62 191normal_enabled = true 192normal_scale = 1.0 193normal_texture = ExtResource( 31 ) 194ao_enabled = true 195ao_light_affect = 0.0 196ao_texture = ExtResource( 30 ) 197ao_on_uv2 = false 198ao_texture_channel = 0 199refraction_enabled = true 200refraction_scale = 0.04 201refraction_texture_channel = 0 202 203[sub_resource type="SpatialMaterial" id=16] 204flags_unshaded = true 205params_cull_mode = 1 206params_grow = true 207params_grow_amount = 0.03 208albedo_color = Color( 0.0261569, 0, 0, 1 ) 209 210[sub_resource type="SpatialMaterial" id=17] 211next_pass = SubResource( 16 ) 212params_diffuse_mode = 4 213params_specular_mode = 3 214albedo_color = Color( 0.905765, 0.356039, 0.0994902, 1 ) 215roughness = 0.04 216 217[node name="MaterialTester" type="Spatial"] 218script = ExtResource( 1 ) 219 220[node name="WorldEnvironment" type="WorldEnvironment" parent="."] 221environment = ExtResource( 2 ) 222 223[node name="Testers" type="Spatial" parent="."] 224 225[node name="White Plastic" parent="Testers" instance=ExtResource( 3 )] 226transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -36, 0, 0 ) 227 228[node name="GodotBall" type="MeshInstance" parent="Testers/White Plastic"] 229transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 230mesh = ExtResource( 4 ) 231material/0 = SubResource( 1 ) 232material/1 = SubResource( 2 ) 233material/2 = SubResource( 3 ) 234material/3 = SubResource( 4 ) 235 236[node name="Mirror" parent="Testers" instance=ExtResource( 3 )] 237transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0 ) 238 239[node name="GodotBall" type="MeshInstance" parent="Testers/Mirror"] 240transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 241mesh = ExtResource( 4 ) 242material/0 = SubResource( 5 ) 243material/1 = SubResource( 2 ) 244material/2 = SubResource( 3 ) 245material/3 = SubResource( 4 ) 246 247[node name="Dark Wood" parent="Testers" instance=ExtResource( 3 )] 248transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -24, 0, 0 ) 249 250[node name="GodotBall" type="MeshInstance" parent="Testers/Dark Wood"] 251transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 252mesh = ExtResource( 4 ) 253material/0 = SubResource( 6 ) 254material/1 = SubResource( 2 ) 255material/2 = SubResource( 3 ) 256material/3 = SubResource( 4 ) 257 258[node name="Cheese" parent="Testers" instance=ExtResource( 3 )] 259transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 0 ) 260 261[node name="GodotBall" type="MeshInstance" parent="Testers/Cheese"] 262transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 263mesh = ExtResource( 4 ) 264material/0 = SubResource( 7 ) 265material/1 = SubResource( 2 ) 266material/2 = SubResource( 3 ) 267material/3 = SubResource( 4 ) 268 269[node name="Stones" parent="Testers" instance=ExtResource( 3 )] 270transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 0, 0 ) 271 272[node name="GodotBall" type="MeshInstance" parent="Testers/Stones"] 273transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 274mesh = ExtResource( 4 ) 275material/0 = SubResource( 8 ) 276material/1 = SubResource( 2 ) 277material/2 = SubResource( 3 ) 278material/3 = SubResource( 4 ) 279 280[node name="Brick" parent="Testers" instance=ExtResource( 3 )] 281transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 0, 0 ) 282 283[node name="GodotBall" type="MeshInstance" parent="Testers/Brick"] 284transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 285mesh = ExtResource( 4 ) 286material/0 = SubResource( 9 ) 287material/1 = SubResource( 2 ) 288material/2 = SubResource( 3 ) 289material/3 = SubResource( 4 ) 290 291[node name="Wool" parent="Testers" instance=ExtResource( 3 )] 292 293[node name="GodotBall" type="MeshInstance" parent="Testers/Wool"] 294transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 295mesh = ExtResource( 4 ) 296material/0 = SubResource( 10 ) 297material/1 = SubResource( 2 ) 298material/2 = SubResource( 3 ) 299material/3 = SubResource( 4 ) 300 301[node name="Aluminium" parent="Testers" instance=ExtResource( 3 )] 302transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0, 0 ) 303 304[node name="GodotBall" type="MeshInstance" parent="Testers/Aluminium"] 305transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 306mesh = ExtResource( 4 ) 307material/0 = SubResource( 11 ) 308material/1 = SubResource( 2 ) 309material/2 = SubResource( 3 ) 310material/3 = SubResource( 4 ) 311 312[node name="Marble" parent="Testers" instance=ExtResource( 3 )] 313transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 0 ) 314 315[node name="GodotBall" type="MeshInstance" parent="Testers/Marble"] 316transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 317mesh = ExtResource( 4 ) 318material/0 = SubResource( 12 ) 319material/1 = SubResource( 2 ) 320material/2 = SubResource( 3 ) 321material/3 = SubResource( 4 ) 322 323[node name="Wet Sand" parent="Testers" instance=ExtResource( 3 )] 324transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 18, 0, 0 ) 325 326[node name="GodotBall" type="MeshInstance" parent="Testers/Wet Sand"] 327transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 328mesh = ExtResource( 4 ) 329material/0 = SubResource( 13 ) 330material/1 = SubResource( 2 ) 331material/2 = SubResource( 3 ) 332material/3 = SubResource( 4 ) 333 334[node name="Rock" parent="Testers" instance=ExtResource( 3 )] 335transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 24, 0, 0 ) 336 337[node name="GodotBall" type="MeshInstance" parent="Testers/Rock"] 338transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 339mesh = ExtResource( 4 ) 340material/0 = SubResource( 14 ) 341material/1 = SubResource( 2 ) 342material/2 = SubResource( 3 ) 343material/3 = SubResource( 4 ) 344 345[node name="Ice" parent="Testers" instance=ExtResource( 3 )] 346transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0 ) 347 348[node name="GodotBall" type="MeshInstance" parent="Testers/Ice"] 349transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 350mesh = ExtResource( 4 ) 351material/0 = SubResource( 15 ) 352material/1 = SubResource( 2 ) 353material/2 = SubResource( 3 ) 354material/3 = SubResource( 4 ) 355 356[node name="Toon" parent="Testers" instance=ExtResource( 3 )] 357transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 36, 0, 0 ) 358 359[node name="GodotBall" type="MeshInstance" parent="Testers/Toon"] 360transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0.5, -4 ) 361mesh = ExtResource( 4 ) 362material/0 = SubResource( 17 ) 363material/1 = SubResource( 2 ) 364material/2 = SubResource( 3 ) 365material/3 = SubResource( 4 ) 366 367[node name="CameraHolder" type="Spatial" parent="."] 368transform = Transform( 0.877582, 0, -0.479427, 0, 1, 0, 0.479427, 0, 0.877582, -36, 2.8, -4 ) 369 370[node name="RotationX" type="Spatial" parent="CameraHolder"] 371transform = Transform( 1, 0, 0, 0, 0.877582, 0.479427, 0, -0.479427, 0.877582, 0, 0, 0 ) 372 373[node name="Camera" type="Camera" parent="CameraHolder/RotationX"] 374transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5 ) 375fov = 65.0 376near = 0.1 377 378[node name="UI" type="Control" parent="."] 379anchor_right = 1.0 380anchor_bottom = 1.0 381mouse_filter = 2 382 383[node name="Background" type="OptionButton" parent="UI"] 384margin_left = 15.0 385margin_top = 6.0 386margin_right = 109.0 387margin_bottom = 26.0 388 389[node name="Previous" type="Button" parent="UI"] 390anchor_top = 1.0 391anchor_bottom = 1.0 392margin_left = 30.0 393margin_top = -50.0 394margin_right = 97.0 395margin_bottom = -30.0 396text = "Previous" 397 398[node name="Next" type="Button" parent="UI"] 399anchor_left = 1.0 400anchor_top = 1.0 401anchor_right = 1.0 402anchor_bottom = 1.0 403margin_left = -72.0 404margin_top = -50.0 405margin_right = -30.0 406margin_bottom = -30.0 407text = "Next" 408 409[node name="MaterialName" type="Label" parent="UI"] 410anchor_left = 0.5 411anchor_top = 1.0 412anchor_right = 0.5 413anchor_bottom = 1.0 414margin_top = -44.0 415margin_bottom = -30.0 416size_flags_vertical = 0 417align = 1 418[connection signal="item_selected" from="UI/Background" to="." method="_on_bg_item_selected"] 419[connection signal="pressed" from="UI/Previous" to="." method="_on_Previous_pressed"] 420[connection signal="pressed" from="UI/Next" to="." method="_on_Next_pressed"] 421