Ajout d'une falaise et du material/shader correspondant.

This commit is contained in:
osquallo 2019-09-03 15:09:12 +02:00
parent 7f210df7c5
commit 2872a04d10
22 changed files with 74 additions and 15 deletions

BIN
materials/decors/rocks/rock_moss.material (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

BIN
meshes/decors/rocks/Rocky_cliff.material (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,35 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://meshes/decors/rocks/rock_001.tscn" type="PackedScene" id=1]
[node name="cliff" type="Spatial"]
[node name="rock_001" parent="." instance=ExtResource( 1 )]
transform = Transform( -0.996195, 3.80969e-009, 0.0871556, 0.0871556, 4.35451e-008, 0.996195, 0, 1, -4.37114e-008, 0, 10, 0 )
[node name="rock_006" parent="." instance=ExtResource( 1 )]
transform = Transform( -0.996195, 3.80969e-009, 0.0871556, 0.0871556, 4.35451e-008, 0.996195, 0, 1, -4.37114e-008, 0, 27, 0 )
[node name="rock_002" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.98106, -0.173648, 0.0858316, 0.0871557, -4.35451e-008, -0.996195, 0.172987, 0.984808, 0.0151344, 23, 10, 3 )
[node name="rock_007" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.98106, -0.173648, 0.0858316, 0.0871557, -4.35451e-008, -0.996195, 0.172987, 0.984808, 0.0151344, 23, 27, 3 )
[node name="rock_003" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.96225, -0.258819, -0.084186, -0.0871558, -4.35451e-008, -0.996195, 0.257834, 0.965926, -0.0225576, 44, 10, 8 )
[node name="rock_009" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.96225, -0.258819, -0.084186, -0.0871558, -4.35451e-008, -0.996195, 0.257834, 0.965926, -0.0225576, 44, 27, 8 )
[node name="rock_004" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.996195, 0.0871557, -3.8097e-009, 0, -4.37114e-008, -1, -0.0871557, 0.996195, -4.35451e-008, -21, 10, 1 )
[node name="rock_010" parent="." instance=ExtResource( 1 )]
transform = Transform( 0.996195, 0.0871557, -3.8097e-009, 0, -4.37114e-008, -1, -0.0871557, 0.996195, -4.35451e-008, -21, 27, 1 )
[node name="rock_005" parent="." instance=ExtResource( 1 )]
transform = Transform( -0.886457, 0.431875, -0.166366, -0.23457, -0.109382, 0.965926, 0.398961, 0.895276, 0.198267, -42, 10, 7 )
[node name="rock_008" parent="." instance=ExtResource( 1 )]
transform = Transform( -0.886457, 0.431875, -0.166366, -0.23457, -0.109382, 0.965926, 0.398961, 0.895276, 0.198267, -42, 27, 7 )

BIN
meshes/decors/rocks/rock_001.glb (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,10 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://meshes/decors/rocks/rock_001.glb" type="PackedScene" id=1]
[ext_resource path="res://materials/decors/rocks/rock_moss.material" type="Material" id=2]
[node name="rock_001" index="0" instance=ExtResource( 1 )]
[node name="Cliff_test_01" parent="." index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
material/0 = ExtResource( 2 )

View file

@ -1,12 +1,13 @@
[gd_scene load_steps=13 format=2]
[gd_scene load_steps=14 format=2]
[ext_resource path="res://previewer/previewer.gd" type="Script" id=1]
[ext_resource path="res://meshes/props/pendo_teddy/pendo_teddy.tscn" type="PackedScene" id=2]
[ext_resource path="res://previewer/dummy/dummy.tscn" type="PackedScene" id=2]
[ext_resource path="res://materials/tilables/textures/base_UV_check_big.png" type="Texture" id=3]
[ext_resource path="res://meshes/props/travel_box/container.tscn" type="PackedScene" id=4]
[ext_resource path="res://previewer/dummy/dummy.tscn" type="PackedScene" id=5]
[ext_resource path="res://meshes/props/reference_box/reference_box.tscn" type="PackedScene" id=6]
[ext_resource path="res://meshes/props/fountain_suzanha/Fountain_suzanha.tscn" type="PackedScene" id=7]
[ext_resource path="res://meshes/decors/rocks/cliff_001.tscn" type="PackedScene" id=4]
[ext_resource path="res://meshes/props/pendo_teddy/pendo_teddy.tscn" type="PackedScene" id=5]
[ext_resource path="res://meshes/props/travel_box/container.tscn" type="PackedScene" id=6]
[ext_resource path="res://meshes/props/reference_box/reference_box.tscn" type="PackedScene" id=7]
[ext_resource path="res://meshes/props/fountain_suzanha/Fountain_suzanha.tscn" type="PackedScene" id=8]
[sub_resource type="ProceduralSky" id=1]
@ -40,7 +41,7 @@ script = ExtResource( 1 )
[node name="world_environment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="dummy" parent="." instance=ExtResource( 5 )]
[node name="dummy" parent="." instance=ExtResource( 2 )]
[node name="terrain" type="Spatial" parent="."]
@ -48,33 +49,37 @@ environment = SubResource( 2 )
transform = Transform( 60.964, 0, 0, 0, 1.21928, 0, 0, 0, 60.964, 0, 0, 0 )
mesh = SubResource( 4 )
[node name="cliff" parent="terrain" instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -48.2121 )
[node name="props" type="Spatial" parent="."]
[node name="pendo_teddy" parent="props" instance=ExtResource( 2 )]
[node name="pendo_teddy" parent="props" instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 )
[node name="container" parent="props" instance=ExtResource( 4 )]
[node name="container" parent="props" instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -5 )
color = Color( 0.145098, 0.0980392, 0.713726, 1 )
lid_angle = 45.0
[node name="container_2" parent="props" instance=ExtResource( 4 )]
[node name="container_2" parent="props" instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.24144, 0, -5 )
color = Color( 0.491686, 0.159256, 0.832031, 1 )
lid_angle = 90.0
[node name="container_3" parent="props" instance=ExtResource( 4 )]
[node name="container_3" parent="props" instance=ExtResource( 6 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.6614, 0, -5 )
color = Color( 0.360784, 1, 0, 1 )
lid_angle = 12.0
[node name="container_4" parent="props" instance=ExtResource( 4 )]
transform = Transform( 0.457191, 0, 0.889369, 0, 1, 0, -0.889369, 0, 0.457191, -3.94754, 4.76837e-07, -4.27729 )
[node name="container_4" parent="props" instance=ExtResource( 6 )]
transform = Transform( 0.457191, 0, 0.889369, 0, 1, 0, -0.889369, 0, 0.457191, -3.94754, 4.76837e-007, -4.27729 )
color = Color( 0.972549, 0.196078, 0.0431373, 1 )
lid_angle = 0.0
[node name="reference_box" parent="props" instance=ExtResource( 6 )]
[node name="reference_box" parent="props" instance=ExtResource( 7 )]
[node name="Fountain_suzanha" parent="props" instance=ExtResource( 7 )]
[node name="Fountain_suzanha" parent="props" instance=ExtResource( 8 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0.472, -5 )
[node name="light_system" type="Spatial" parent="."]