Playing with lighting and environment effects - Adding another light for tests
This commit is contained in:
parent
d9b2695b1b
commit
0ea042b328
2 changed files with 45 additions and 29 deletions
|
@ -68,6 +68,10 @@ data = PackedVector3Array(-0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = SubResource("Environment_n1e0i")
|
environment = SubResource("Environment_n1e0i")
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 0.258819, 0.965926, 0, -0.965926, 0.258819, -1.36603, 20.049, 5.37917)
|
||||||
|
shadow_enabled = true
|
||||||
|
|
||||||
[node name="floor" type="MeshInstance3D" parent="."]
|
[node name="floor" type="MeshInstance3D" parent="."]
|
||||||
transform = Transform3D(80, 0, 0, 0, 0.1, 0, 0, 0, 80, 0, 0, 0)
|
transform = Transform3D(80, 0, 0, 0, 0.1, 0, 0, 0, 80, 0, 0, 0)
|
||||||
mesh = SubResource("BoxMesh_k23th")
|
mesh = SubResource("BoxMesh_k23th")
|
||||||
|
@ -187,7 +191,3 @@ transform = Transform3D(0.866025, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025, -17.8, 0,
|
||||||
|
|
||||||
[node name="ryzom_matis_appartment" parent="." instance=ExtResource("20_66hq8")]
|
[node name="ryzom_matis_appartment" parent="." instance=ExtResource("20_66hq8")]
|
||||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 52, 0, 25)
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 52, 0, 25)
|
||||||
|
|
||||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 0.258819, 0.965926, 0, -0.965926, 0.258819, -1.36603, 20.049, 5.37917)
|
|
||||||
shadow_enabled = true
|
|
||||||
|
|
|
@ -31,79 +31,95 @@ shadow_blur = 3.374
|
||||||
omni_range = 5.149
|
omni_range = 5.149
|
||||||
omni_attenuation = 0.287174
|
omni_attenuation = 0.287174
|
||||||
|
|
||||||
[node name="SpotLight3D" type="SpotLight3D" parent="." index="3"]
|
[node name="OmniLight3D2" type="OmniLight3D" parent="." index="3"]
|
||||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7.2776, 9.17543, -5.03814)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.00843, 3.39511, 1.69502)
|
||||||
|
light_color = Color(1, 0.917647, 0.560784, 1)
|
||||||
|
shadow_enabled = true
|
||||||
|
shadow_reverse_cull_face = true
|
||||||
|
shadow_blur = 3.374
|
||||||
|
omni_range = 10.044
|
||||||
|
omni_attenuation = 0.870548
|
||||||
|
|
||||||
|
[node name="SpotLight3D" type="SpotLight3D" parent="." index="4"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 7.2776, 8.82926, -5.03814)
|
||||||
|
layers = 1024
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
shadow_reverse_cull_face = true
|
shadow_reverse_cull_face = true
|
||||||
shadow_blur = 2.579
|
shadow_blur = 2.579
|
||||||
spot_range = 12.001
|
spot_range = 12.001
|
||||||
spot_attenuation = 0.203063
|
spot_attenuation = 0.203063
|
||||||
|
|
||||||
[node name="ma_room" parent="." index="4"]
|
[node name="SpotLight3D2" type="SpotLight3D" parent="." index="5"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -5.84914, 4.51373, -2.53231)
|
||||||
|
light_energy = 16.0
|
||||||
|
shadow_enabled = true
|
||||||
|
spot_range = 4.11744
|
||||||
|
|
||||||
|
[node name="ma_room" parent="." index="6"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_lance_" parent="." index="5"]
|
[node name="ma_room_lance_" parent="." index="7"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_banniere_03_" parent="." index="6"]
|
[node name="ma_room_banniere_03_" parent="." index="8"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_banniere_04_" parent="." index="7"]
|
[node name="ma_room_banniere_04_" parent="." index="9"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_plantes_" parent="." index="8"]
|
[node name="ma_room_plantes_" parent="." index="10"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_plant_Lass01_" parent="." index="9"]
|
[node name="ma_room_plant_Lass01_" parent="." index="11"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_plant_Lass_" parent="." index="10"]
|
[node name="ma_room_plant_Lass_" parent="." index="12"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_palm_" parent="." index="11"]
|
[node name="ma_room_palm_" parent="." index="13"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_banniere_02_" parent="." index="12"]
|
[node name="ma_room_banniere_02_" parent="." index="14"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_chest_" parent="." index="13"]
|
[node name="ma_room_chest_" parent="." index="15"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_bed_" parent="." index="14"]
|
[node name="ma_room_bed_" parent="." index="16"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_banniere_00_" parent="." index="15"]
|
[node name="ma_room_banniere_00_" parent="." index="17"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_banniere_01_" parent="." index="16"]
|
[node name="ma_room_banniere_01_" parent="." index="18"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_flower_" parent="." index="17"]
|
[node name="ma_room_flower_" parent="." index="19"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_table_00_" parent="." index="18"]
|
[node name="ma_room_table_00_" parent="." index="20"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_chair_02_" parent="." index="19"]
|
[node name="ma_room_chair_02_" parent="." index="21"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_chair_01_" parent="." index="20"]
|
[node name="ma_room_chair_01_" parent="." index="22"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_chair_00_" parent="." index="21"]
|
[node name="ma_room_chair_00_" parent="." index="23"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_table_01_" parent="." index="22"]
|
[node name="ma_room_table_01_" parent="." index="24"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_room_armoire_" parent="." index="23"]
|
[node name="ma_room_armoire_" parent="." index="25"]
|
||||||
layers = 1024
|
layers = 1024
|
||||||
|
|
||||||
[node name="ma_asc_porte_right_" parent="." index="24"]
|
[node name="ma_asc_porte_right_" parent="." index="26"]
|
||||||
layers = 1025
|
layers = 1025
|
||||||
|
|
||||||
[node name="ma_asc_porte_left_" parent="." index="25"]
|
[node name="ma_asc_porte_left_" parent="." index="27"]
|
||||||
layers = 1025
|
layers = 1025
|
||||||
|
|
||||||
[node name="ma_asc_porte_bas_" parent="." index="26"]
|
[node name="ma_asc_porte_bas_" parent="." index="28"]
|
||||||
layers = 1025
|
layers = 1025
|
||||||
|
|
Loading…
Reference in a new issue