Merge pull request #489 from aaronfranke/3dplat

Tweak the 3D platformer demo
This commit is contained in:
Aaron Franke
2020-06-28 02:31:00 -04:00
committed by GitHub
6 changed files with 174 additions and 120 deletions

View File

@@ -0,0 +1,12 @@
[gd_resource type="Environment" load_steps=3 format=2]
[ext_resource path="res://stage/panorama.png" type="Texture" id=1]
[sub_resource type="PanoramaSky" id=1]
radiance_size = 1
panorama = ExtResource( 1 )
[resource]
background_mode = 2
background_sky = SubResource( 1 )
tonemap_mode = 2

View File

@@ -143,3 +143,4 @@ multithread/thread_rid_pool_prealloc=60
quality/intended_usage/framebuffer_allocation=3
quality/filters/msaa=2
environment/default_environment="res://default_env.tres"

View File

@@ -0,0 +1,25 @@
[gd_resource type="ArrayMesh" load_steps=4 format=2]
[ext_resource path="res://stage/texturemr.png" type="Texture" id=1]
[ext_resource path="res://stage/texture.png" type="Texture" id=2]
[sub_resource type="SpatialMaterial" id=1]
albedo_texture = ExtResource( 2 )
metallic = 0.51
metallic_texture = ExtResource( 1 )
roughness = 0.2
roughness_texture = ExtResource( 1 )
[resource]
surfaces/0 = {
"aabb": AABB( -1, -1, -1, 2, 0, 2 ),
"array_data": PoolByteArray( 0, 188, 0, 188, 0, 60, 0, 60, 0, 127, 0, 0, 7, 58, 236, 51, 0, 60, 0, 188, 0, 60, 0, 60, 0, 127, 0, 0, 0, 60, 236, 51, 0, 60, 0, 188, 0, 188, 0, 60, 0, 127, 0, 0, 0, 60, 239, 17, 0, 188, 0, 188, 0, 188, 0, 60, 0, 127, 0, 0, 7, 58, 239, 17 ),
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0 ),
"blend_shape_data": [ ],
"format": 98067,
"index_count": 6,
"material": SubResource( 1 ),
"primitive": 4,
"skeleton_aabb": [ ],
"vertex_count": 4
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,6 @@
[ext_resource path="res://stage/texture.png" type="Texture" id=1]
[sub_resource type="SpatialMaterial" id=1]
params_diffuse_mode = 1
roughness = 0.0
@@ -385,12 +384,12 @@ material/0 = SubResource( 3 )
[node name="FloorCornerCol" type="StaticBody" parent="FloorCorner"]
[node name="flooredge" type="MeshInstance" parent="."]
[node name="FloorEdge" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 1, 0 )
mesh = SubResource( 17 )
material/0 = SubResource( 3 )
[node name="FloorEdgeCol" type="StaticBody" parent="flooredge"]
[node name="FloorEdgeCol" type="StaticBody" parent="FloorEdge"]
[node name="Floor" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7, 1, 0 )