diff --git a/demo/demo.tscn b/demo/demo.tscn index 9f0d1e5..524bc97 100644 --- a/demo/demo.tscn +++ b/demo/demo.tscn @@ -1,8 +1,52 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=8 format=2] [ext_resource path="res://material_maker/examples/skulls.ptex" type="Material" id=1] +[ext_resource path="res://material_maker/preview/panoramas/studio_sky.tres" type="Environment" id=2] -[sub_resource type="CubeMesh" id=1] +[sub_resource type="SphereMesh" id=1] + +[sub_resource type="Animation" id=2] +resource_name = "rotate" +length = 10.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("CamPivot:rotation_degrees") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 10 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ] +} + +[sub_resource type="SpatialMaterial" id=4] +flags_unshaded = true +flags_do_not_receive_shadows = true + +[sub_resource type="SphereMesh" id=5] +material = SubResource( 4 ) +radius = 0.1 +height = 0.2 + +[sub_resource type="Animation" id=3] +resource_name = "rotate" +length = 5.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("LightPivot:rotation_degrees") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 5 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector3( 0, 0, 0 ), Vector3( 360, 0, 0 ) ] +} [node name="Spatial" type="Spatial"] @@ -10,10 +54,30 @@ mesh = SubResource( 1 ) material/0 = ExtResource( 1 ) -[node name="Spatial" type="Spatial" parent="."] +[node name="CamPivot" type="Spatial" parent="."] +transform = Transform( 0.982287, 0, 0.187381, 0, 1, 0, -0.187381, 0, 0.982287, 0, 0, 0 ) -[node name="Camera" type="Camera" parent="Spatial"] -transform = Transform( 1, 0, 0, 0, 0.896973, 0.442085, 0, -0.442085, 0.896973, 0, 1.78914, 4.2882 ) +[node name="Camera" type="Camera" parent="CamPivot"] +transform = Transform( 0.999487, 0.0319038, 0.00268748, -0.0319038, 0.985399, 0.167245, 0.00268751, -0.167245, 0.985912, 0.28563, 0.826821, 2.79088 ) -[node name="OmniLight" type="OmniLight" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.21974, 3.39093, 0 ) +[node name="CamRotate" type="AnimationPlayer" parent="."] +autoplay = "rotate" +anims/rotate = SubResource( 2 ) + +[node name="LightPivot" type="Spatial" parent="."] +transform = Transform( 1, 0, 0, 0, 0.929776, -0.368125, 0, 0.368125, 0.929776, 0, 0, 0 ) + +[node name="OmniLight" type="OmniLight" parent="LightPivot"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0746527, 1.74306, 0 ) + +[node name="MeshInstance" type="MeshInstance" parent="LightPivot/OmniLight"] +cast_shadow = 0 +mesh = SubResource( 5 ) +material/0 = null + +[node name="LightRotate" type="AnimationPlayer" parent="."] +autoplay = "rotate" +anims/rotate = SubResource( 3 ) + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = ExtResource( 2 ) diff --git a/material_maker/examples/3d_shapes.ptex.import b/material_maker/examples/3d_shapes.ptex.import index dc56f90..5a7539f 100644 --- a/material_maker/examples/3d_shapes.ptex.import +++ b/material_maker/examples/3d_shapes.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/3d_shapes.ptex-fdbdf93744127700e5f17a837ca716e7.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/beehive.ptex.import b/material_maker/examples/beehive.ptex.import index bebe1df..9f04d7b 100644 --- a/material_maker/examples/beehive.ptex.import +++ b/material_maker/examples/beehive.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/beehive.ptex-51715262d81c1a144e9a7e141a45db7f.tres" [params] render=false +scale=1.0 diff --git a/material_maker/examples/biohazard.ptex.import b/material_maker/examples/biohazard.ptex.import index 00d5e8f..a4e25e7 100644 --- a/material_maker/examples/biohazard.ptex.import +++ b/material_maker/examples/biohazard.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/biohazard.ptex-7f147a6da8459c3f121e4ff97781005f.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/brick_rotated.ptex.import b/material_maker/examples/brick_rotated.ptex.import index 05f5023..1c727e6 100644 --- a/material_maker/examples/brick_rotated.ptex.import +++ b/material_maker/examples/brick_rotated.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/brick_rotated.ptex-523d59c690c5371f32f259e6a1da3fd9. [params] render=false +scale=1.0 diff --git a/material_maker/examples/bricks.ptex.import b/material_maker/examples/bricks.ptex.import index 8e080fc..91014ce 100644 --- a/material_maker/examples/bricks.ptex.import +++ b/material_maker/examples/bricks.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/bricks.ptex-8a4a409b5b41c018677a6156ef3f93e5.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/clump_of_grass.ptex.import b/material_maker/examples/clump_of_grass.ptex.import index 957c00b..9a22ec2 100644 --- a/material_maker/examples/clump_of_grass.ptex.import +++ b/material_maker/examples/clump_of_grass.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/clump_of_grass.ptex-f0fa2e6dda8708b9aa2491696fc29cde [params] render=false +scale=1.0 diff --git a/material_maker/examples/crocodile_skin.ptex.import b/material_maker/examples/crocodile_skin.ptex.import index 9899a89..c86dda2 100644 --- a/material_maker/examples/crocodile_skin.ptex.import +++ b/material_maker/examples/crocodile_skin.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/crocodile_skin.ptex-398dcbc43eaacec55b210f3f06b38a36 [params] render=false +scale=1.0 diff --git a/material_maker/examples/doc_tools.ptex.import b/material_maker/examples/doc_tools.ptex.import index 9918ab1..f294a9a 100644 --- a/material_maker/examples/doc_tools.ptex.import +++ b/material_maker/examples/doc_tools.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/doc_tools.ptex-4ba87d8fd8f50f46518c89bbb13c85fd.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/dry_earth.ptex.import b/material_maker/examples/dry_earth.ptex.import index 95165e0..3edcebc 100644 --- a/material_maker/examples/dry_earth.ptex.import +++ b/material_maker/examples/dry_earth.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/dry_earth.ptex-13acfd0cdc239e8962445ff516cb0a67.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/emmental.ptex.import b/material_maker/examples/emmental.ptex.import index 68fe1bd..4338b68 100644 --- a/material_maker/examples/emmental.ptex.import +++ b/material_maker/examples/emmental.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/emmental.ptex-c0863356db9414878f0cd8b90b863568.tres" [params] render=false +scale=1.0 diff --git a/material_maker/examples/floor1.ptex.import b/material_maker/examples/floor1.ptex.import index 5b1e511..f05886b 100644 --- a/material_maker/examples/floor1.ptex.import +++ b/material_maker/examples/floor1.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/floor1.ptex-fb54baf7242d73ad5e0d97d70fc2ffe8.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/floor2.ptex.import b/material_maker/examples/floor2.ptex.import index 9de5752..a6e013b 100644 --- a/material_maker/examples/floor2.ptex.import +++ b/material_maker/examples/floor2.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/floor2.ptex-da3b9c107b59a68a0ac827a6690612c9.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/grass_with_flowers.ptex.import b/material_maker/examples/grass_with_flowers.ptex.import index c034c63..790f36b 100644 --- a/material_maker/examples/grass_with_flowers.ptex.import +++ b/material_maker/examples/grass_with_flowers.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/grass_with_flowers.ptex-c14125150522387de6157f5cba8b [params] render=false +scale=1.0 diff --git a/material_maker/examples/halloween.ptex.import b/material_maker/examples/halloween.ptex.import index 85a9f69..9b314cc 100644 --- a/material_maker/examples/halloween.ptex.import +++ b/material_maker/examples/halloween.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/halloween.ptex-bfac36287c4edfbe37d836f896e886e8.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/improved_brick.ptex.import b/material_maker/examples/improved_brick.ptex.import index 21869b7..bb06a1b 100644 --- a/material_maker/examples/improved_brick.ptex.import +++ b/material_maker/examples/improved_brick.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/improved_brick.ptex-79c07253474a6fefb8e704efc87ba6c5 [params] render=false +scale=1.0 diff --git a/material_maker/examples/lava.ptex.import b/material_maker/examples/lava.ptex.import index e0a7b9f..521d47d 100644 --- a/material_maker/examples/lava.ptex.import +++ b/material_maker/examples/lava.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/lava.ptex-414f52da7b363c5ce34fb86dba1c326e.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/mandala.ptex.import b/material_maker/examples/mandala.ptex.import index bdff9b0..d29d9c8 100644 --- a/material_maker/examples/mandala.ptex.import +++ b/material_maker/examples/mandala.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/mandala.ptex-0963e6f90da0804792c0a2756af5f5dd.tres" [params] render=false +scale=1.0 diff --git a/material_maker/examples/mandelbrot.ptex.import b/material_maker/examples/mandelbrot.ptex.import index 025c42a..53ee3e7 100644 --- a/material_maker/examples/mandelbrot.ptex.import +++ b/material_maker/examples/mandelbrot.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/mandelbrot.ptex-ecf3c69e20a7f4e53370f6dbdf8d3840.tre [params] render=false +scale=1.0 diff --git a/material_maker/examples/marble.ptex.import b/material_maker/examples/marble.ptex.import index 7532db4..610c826 100644 --- a/material_maker/examples/marble.ptex.import +++ b/material_maker/examples/marble.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/marble.ptex-0b7e8ced36657d462bfe938e53d1f73b.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/materials.ptex.import b/material_maker/examples/materials.ptex.import index 68bd550..692e6a9 100644 --- a/material_maker/examples/materials.ptex.import +++ b/material_maker/examples/materials.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/materials.ptex-53d72a7b67477f2082dc05ffe4d8bcb4.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/medieval_wall.ptex.import b/material_maker/examples/medieval_wall.ptex.import index 65003b4..a2050c7 100644 --- a/material_maker/examples/medieval_wall.ptex.import +++ b/material_maker/examples/medieval_wall.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/medieval_wall.ptex-28369316aeb5d9dfca15a3cfe9753817. [params] render=false +scale=1.0 diff --git a/material_maker/examples/metal_pattern.ptex.import b/material_maker/examples/metal_pattern.ptex.import index 59653c0..8a79ff0 100644 --- a/material_maker/examples/metal_pattern.ptex.import +++ b/material_maker/examples/metal_pattern.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/metal_pattern.ptex-e025c128931ab21f0c2cdeab02c98d7e. [params] render=false +scale=1.0 diff --git a/material_maker/examples/metal_pattern_2.ptex.import b/material_maker/examples/metal_pattern_2.ptex.import index b623a5d..da535b9 100644 --- a/material_maker/examples/metal_pattern_2.ptex.import +++ b/material_maker/examples/metal_pattern_2.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/metal_pattern_2.ptex-13a437ede929314389a0e1af74aeaea [params] render=false +scale=1.0 diff --git a/material_maker/examples/metal_pattern_3.ptex.import b/material_maker/examples/metal_pattern_3.ptex.import index 405ed48..1bb6640 100644 --- a/material_maker/examples/metal_pattern_3.ptex.import +++ b/material_maker/examples/metal_pattern_3.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/metal_pattern_3.ptex-63819f6ac26d3e33f84ee3007313bc4 [params] render=false +scale=1.0 diff --git a/material_maker/examples/mosaic.ptex.import b/material_maker/examples/mosaic.ptex.import index 3b838f7..b4f1185 100644 --- a/material_maker/examples/mosaic.ptex.import +++ b/material_maker/examples/mosaic.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/mosaic.ptex-54dc20f1bcb9e75989bd7edbf0eefb3f.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/paper.ptex.import b/material_maker/examples/paper.ptex.import index 8b448b5..a6cf6fe 100644 --- a/material_maker/examples/paper.ptex.import +++ b/material_maker/examples/paper.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/paper.ptex-9bf458e14ff2684526a7ca610ab6e0ce.tres" ] [params] render=false +scale=3.0 diff --git a/material_maker/examples/pentagram.ptex.import b/material_maker/examples/pentagram.ptex.import index c1f1617..0e4b894 100644 --- a/material_maker/examples/pentagram.ptex.import +++ b/material_maker/examples/pentagram.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/pentagram.ptex-7721d9a35a97fa5e212e6e7db0ace1f0.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/pile_of_bricks.ptex.import b/material_maker/examples/pile_of_bricks.ptex.import index 62e7a42..4e65a23 100644 --- a/material_maker/examples/pile_of_bricks.ptex.import +++ b/material_maker/examples/pile_of_bricks.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/pile_of_bricks.ptex-e452e231879d20f4c0b968f5aeb5cce8 [params] render=false +scale=1.0 diff --git a/material_maker/examples/planet.ptex.import b/material_maker/examples/planet.ptex.import index dfbac46..cbc343d 100644 --- a/material_maker/examples/planet.ptex.import +++ b/material_maker/examples/planet.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/planet.ptex-6fec3bea6b82b2a8aad4cadc105ed701.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/radiation.ptex.import b/material_maker/examples/radiation.ptex.import index 96798b8..be8a1a9 100644 --- a/material_maker/examples/radiation.ptex.import +++ b/material_maker/examples/radiation.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/radiation.ptex-5339c3a3e4abda484ef198d06cc51d03.tres [params] render=false +scale=1.0 diff --git a/material_maker/examples/raymarching.ptex.import b/material_maker/examples/raymarching.ptex.import index 34d8670..b9b84a9 100644 --- a/material_maker/examples/raymarching.ptex.import +++ b/material_maker/examples/raymarching.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/raymarching.ptex-2478648d0e15bf392f6c3b9155c8b1d6.tr [params] render=false +scale=1.0 diff --git a/material_maker/examples/rock.ptex.import b/material_maker/examples/rock.ptex.import index 4a2eb10..bd92437 100644 --- a/material_maker/examples/rock.ptex.import +++ b/material_maker/examples/rock.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/rock.ptex-790cf04ee0b49be08c43969cd33f57be.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/rusted_metal.ptex.import b/material_maker/examples/rusted_metal.ptex.import index 0aa5fd5..f00ec9e 100644 --- a/material_maker/examples/rusted_metal.ptex.import +++ b/material_maker/examples/rusted_metal.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/rusted_metal.ptex-67dbbbc635e49a12125db6eef7e9fe27.t [params] render=false +scale=1.0 diff --git a/material_maker/examples/skulls.ptex.import b/material_maker/examples/skulls.ptex.import index e05cad7..b8b04f8 100644 --- a/material_maker/examples/skulls.ptex.import +++ b/material_maker/examples/skulls.ptex.import @@ -1,6 +1,6 @@ [remap] -importer="" +importer="material_maker.import" type="SpatialMaterial" path="res://.import/skulls.ptex-a7a3a956ab3a92097a30ab2e5a72ebbb.tres" diff --git a/material_maker/examples/splatter.ptex.import b/material_maker/examples/splatter.ptex.import index 6f893aa..e39d204 100644 --- a/material_maker/examples/splatter.ptex.import +++ b/material_maker/examples/splatter.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/splatter.ptex-f748997def40cd9d42946f8f2d6fa745.tres" [params] render=false +scale=1.0 diff --git a/material_maker/examples/stone_wall.ptex.import b/material_maker/examples/stone_wall.ptex.import index f71af01..7248337 100644 --- a/material_maker/examples/stone_wall.ptex.import +++ b/material_maker/examples/stone_wall.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/stone_wall.ptex-05814a2113c8a1efcba6aa5a44180dd6.tre [params] render=false +scale=1.0 diff --git a/material_maker/examples/tiles.ptex.import b/material_maker/examples/tiles.ptex.import index 3aa9f90..78d9d8c 100644 --- a/material_maker/examples/tiles.ptex.import +++ b/material_maker/examples/tiles.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/tiles.ptex-bb40bd3764e59f94a21d6514626ca2f3.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/wood.ptex.import b/material_maker/examples/wood.ptex.import index a8c6a35..d38e8e7 100644 --- a/material_maker/examples/wood.ptex.import +++ b/material_maker/examples/wood.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/wood.ptex-9103d7621dd6a30936fcbd644ea5b97c.tres" ] [params] render=false +scale=1.0 diff --git a/material_maker/examples/wood_with_blood.ptex.import b/material_maker/examples/wood_with_blood.ptex.import index 730eb5d..10c0c78 100644 --- a/material_maker/examples/wood_with_blood.ptex.import +++ b/material_maker/examples/wood_with_blood.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/wood_with_blood.ptex-9f2bb1b75f00c94dc21c9e25c9a4c34 [params] render=false +scale=1.0 diff --git a/material_maker/examples/wooden_floor.ptex.import b/material_maker/examples/wooden_floor.ptex.import index e413e69..42b0ee1 100644 --- a/material_maker/examples/wooden_floor.ptex.import +++ b/material_maker/examples/wooden_floor.ptex.import @@ -12,3 +12,4 @@ dest_files=[ "res://.import/wooden_floor.ptex-6a889ddc1c5f6eeeffb8ed3c8a6c223f.t [params] render=false +scale=1.0 diff --git a/material_maker/icons/randomness_locked.tres b/material_maker/icons/randomness_locked.tres index 3c41713..3068361 100644 --- a/material_maker/icons/randomness_locked.tres +++ b/material_maker/icons/randomness_locked.tres @@ -2,7 +2,6 @@ [sub_resource type="StreamTexture" id=1] flags = 4 -load_path = "res://.import/icons.svg-d2e3029ae68e242c75d7182ab1a1b6f4.stex" [resource] flags = 4 diff --git a/material_maker/icons/randomness_unlocked.tres b/material_maker/icons/randomness_unlocked.tres index fbdde36..1e3ab7e 100644 --- a/material_maker/icons/randomness_unlocked.tres +++ b/material_maker/icons/randomness_unlocked.tres @@ -2,7 +2,6 @@ [sub_resource type="StreamTexture" id=1] flags = 4 -load_path = "res://.import/icons.svg-d2e3029ae68e242c75d7182ab1a1b6f4.stex" [resource] flags = 4 diff --git a/material_maker/preview/preview_3d_scene.tscn b/material_maker/preview/preview_3d_scene.tscn index 8f51b8a..0c2fbb6 100644 --- a/material_maker/preview/preview_3d_scene.tscn +++ b/material_maker/preview/preview_3d_scene.tscn @@ -6,10 +6,9 @@ [ext_resource path="res://material_maker/preview/panoramas/epping_forest_01.hdr" type="Texture" id=4] [ext_resource path="res://material_maker/preview/panoramas/studio_sky.tres" type="Environment" id=5] - - [sub_resource type="PanoramaSky" id=1] resource_local_to_scene = true +radiance_size = 4 panorama = ExtResource( 2 ) [sub_resource type="Environment" id=2] @@ -34,6 +33,7 @@ tracks/0/keys = { [sub_resource type="PanoramaSky" id=4] resource_local_to_scene = true +radiance_size = 4 panorama = ExtResource( 4 ) [sub_resource type="Environment" id=5] @@ -78,13 +78,12 @@ anims/rotate = SubResource( 3 ) [node name="Environments" type="Spatial" parent="."] [node name="Epping Forest" type="Spatial" parent="Environments"] -editor/display_folded = true visible = false script = ExtResource( 3 ) environment = SubResource( 5 ) [node name="DirectionalLight" type="DirectionalLight" parent="Environments/Epping Forest"] -transform = Transform( 0.976272, -0.0494319, -0.21083, 0.216548, 0.222856, 0.950496, -8.69534e-009, -0.973597, 0.228272, -5.08826, 21.6274, 5.3744 ) +transform = Transform( 0.976272, -0.0494319, -0.21083, 0.216548, 0.222856, 0.950496, -8.69534e-09, -0.973597, 0.228272, -5.08826, 21.6274, 5.3744 ) light_energy = 0.5 shadow_enabled = true @@ -95,7 +94,6 @@ mesh = SubResource( 6 ) material/0 = SubResource( 7 ) [node name="Moonless Golf" type="Spatial" parent="Environments"] -editor/display_folded = true visible = false script = ExtResource( 3 ) environment = SubResource( 2 ) diff --git a/material_maker/preview/preview_objects.tscn b/material_maker/preview/preview_objects.tscn index f5b3028..9459301 100644 --- a/material_maker/preview/preview_objects.tscn +++ b/material_maker/preview/preview_objects.tscn @@ -48,7 +48,7 @@ size = Vector2( 12, 12 ) albedo_texture = ExtResource( 1 ) uv1_scale = Vector3( 4, 4, 4 ) -[sub_resource type="ShaderMaterial" id=15] +[sub_resource type="ShaderMaterial" id=14] shader = ExtResource( 2 ) shader_param/albedo = Color( 1, 1, 1, 1 ) shader_param/specular = 0.5 @@ -107,4 +107,4 @@ material/0 = SubResource( 13 ) [node name="SphereTess" type="MeshInstance" parent="."] visible = false mesh = SubResource( 5 ) -material/0 = SubResource( 15 ) +material/0 = SubResource( 14 )