Using separate material for floor
This commit is contained in:
6
proto2/walls/floor_material.tres
Normal file
6
proto2/walls/floor_material.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.839216, 0.580392, 0.0862745, 1 )
|
||||
metallic_specular = 0.6
|
||||
roughness = 0.6
|
||||
6
proto2/walls/floor_material1.tres
Normal file
6
proto2/walls/floor_material1.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.839216, 0.580392, 0.0862745, 1 )
|
||||
metallic_specular = 0.6
|
||||
roughness = 0.6
|
||||
27
proto2/walls/level_level.tscn
Normal file
27
proto2/walls/level_level.tscn
Normal file
@@ -0,0 +1,27 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://walls/level_level.escn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://walls/floor_material1.tres" type="Material" id=2]
|
||||
|
||||
[node name="level_level" index="0" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="part2" parent="." index="0"]
|
||||
material/1 = ExtResource( 2 )
|
||||
|
||||
[node name="part4" parent="." index="1"]
|
||||
material/1 = ExtResource( 2 )
|
||||
|
||||
[node name="part3" parent="." index="2"]
|
||||
material/1 = ExtResource( 2 )
|
||||
|
||||
[node name="part5" parent="." index="3"]
|
||||
material/1 = ExtResource( 2 )
|
||||
|
||||
[node name="part6" parent="." index="4"]
|
||||
material/1 = ExtResource( 2 )
|
||||
|
||||
[node name="part7" parent="." index="5"]
|
||||
material/1 = ExtResource( 2 )
|
||||
|
||||
[node name="part1" parent="." index="6"]
|
||||
material/1 = ExtResource( 2 )
|
||||
Reference in New Issue
Block a user