Update Warcraft scene, update lighting and populate items

This commit is contained in:
stilobique-surface
2021-05-08 21:24:25 +02:00
parent 1a81f81f93
commit 26807807d9
2 changed files with 44 additions and 11 deletions
Binary file not shown.
+44 -11
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=2] [gd_scene load_steps=14 format=2]
[ext_resource path="res://assets/props/rock floor/rock floor.gltf" type="PackedScene" id=1] [ext_resource path="res://assets/props/rock floor/rock floor.gltf" type="PackedScene" id=1]
[ext_resource path="res://assets/props/table/table.gltf" type="PackedScene" id=2] [ext_resource path="res://assets/props/table/table.gltf" type="PackedScene" id=2]
@@ -6,13 +6,19 @@
[ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=4] [ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=4]
[ext_resource path="res://assets/props/book/book.gltf" type="PackedScene" id=5] [ext_resource path="res://assets/props/book/book.gltf" type="PackedScene" id=5]
[ext_resource path="res://scenes/levels/WarCraft.gd" type="Script" id=6] [ext_resource path="res://scenes/levels/WarCraft.gd" type="Script" id=6]
[ext_resource path="res://assets/props/dagger/dagger.gltf" type="PackedScene" id=7]
[ext_resource path="res://assets/props/growler/growler.gltf" type="PackedScene" id=8]
[ext_resource path="res://assets/props/godet/godet.gltf" type="PackedScene" id=9]
[ext_resource path="res://assets/props/candle/candlestick.gltf" type="PackedScene" id=10]
[ext_resource path="res://assets/props/parchment/wood parchment.gltf" type="PackedScene" id=11]
[sub_resource type="PanoramaSky" id=1] [sub_resource type="PanoramaSky" id=1]
panorama = ExtResource( 4 ) panorama = ExtResource( 4 )
[sub_resource type="Environment" id=2] [sub_resource type="Environment" id=2]
background_mode = 3 background_mode = 2
background_sky = SubResource( 1 ) background_sky = SubResource( 1 )
background_energy = 0.6
ambient_light_color = Color( 0.266667, 0.14902, 0.0627451, 1 ) ambient_light_color = Color( 0.266667, 0.14902, 0.0627451, 1 )
[node name="Warcraft" type="Spatial"] [node name="Warcraft" type="Spatial"]
@@ -27,15 +33,6 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, -3.747 )
[node name="Camera" type="Camera" parent="."] [node name="Camera" type="Camera" parent="."]
transform = Transform( 0.160708, -0.339306, 0.926846, 0, 0.939052, 0.343774, -0.987002, -0.0552473, 0.150913, 1.62519, 1.61928, 0.658554 ) transform = Transform( 0.160708, -0.339306, 0.926846, 0, 0.939052, 0.343774, -0.987002, -0.0552473, 0.150913, 1.62519, 1.61928, 0.658554 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( -0.919434, 0.313904, -0.236865, 0.0166148, 0.632807, 0.774131, 0.392893, 0.707827, -0.58704, 0, 1.62188, 0 )
light_color = Color( 0.611765, 0.517647, 0.882353, 1 )
shadow_enabled = true
shadow_contact = 0.3
[node name="Props Table" type="Spatial" parent="."] [node name="Props Table" type="Spatial" parent="."]
[node name="book3" parent="Props Table" instance=ExtResource( 5 )] [node name="book3" parent="Props Table" instance=ExtResource( 5 )]
@@ -64,3 +61,39 @@ transform = Transform( 0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, 0.5, 0, 0.923053
[node name="book2" parent="Props Table" instance=ExtResource( 5 )] [node name="book2" parent="Props Table" instance=ExtResource( 5 )]
transform = Transform( -0.017264, 0, 1.15546, 0, 1.15559, 0, -1.15546, 0, -0.017264, 0, 0.998191, 1 ) transform = Transform( -0.017264, 0, 1.15546, 0, 1.15559, 0, -1.15546, 0, -0.017264, 0, 0.998191, 1 )
[node name="dagger" parent="Props Table" instance=ExtResource( 7 )]
transform = Transform( 0.304848, 0, 0.952401, 0, 1, 0, -0.952401, 0, 0.304848, 0.156181, 0.946243, 0.369848 )
[node name="Lighting" type="Spatial" parent="."]
[node name="Red Color Left" type="SpotLight" parent="Lighting"]
transform = Transform( 0.885702, -0.222818, 0.407289, 0, 0.877297, 0.479948, -0.464255, -0.425091, 0.777023, 0.730166, 1.36394, 2.03974 )
light_color = Color( 1, 0, 0.0862745, 1 )
light_energy = 4.0
[node name="Blue Color Right" type="SpotLight" parent="Lighting"]
transform = Transform( -0.728997, 0.597286, -0.334384, 0.0537007, 0.536893, 0.84194, 0.682407, 0.595815, -0.423468, -0.540161, 1.80711, -0.561909 )
light_color = Color( 0.8, 0.835294, 1, 1 )
[node name="Sun" type="DirectionalLight" parent="Lighting"]
transform = Transform( -0.919434, 0.313904, -0.236865, 0.0166148, 0.632807, 0.774131, 0.392893, 0.707827, -0.58704, 0, 1.62188, 0 )
light_color = Color( 0.501961, 0.67451, 1, 1 )
light_energy = 1.2
shadow_enabled = true
shadow_contact = 0.3
[node name="WorldEnvironment" type="WorldEnvironment" parent="Lighting"]
environment = SubResource( 2 )
[node name="godet" parent="." instance=ExtResource( 9 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.335421, 0.919755, 0.78371 )
[node name="growler" parent="." instance=ExtResource( 8 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.339821, 0.892944, 0.290052 )
[node name="wood parchment" parent="." instance=ExtResource( 11 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.467955, 0.966845, 0.740728 )
[node name="candlestick" parent="." instance=ExtResource( 10 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.128144, 1.12137, -0.213012 )