Commit 5817d9bc authored by Jason Francis's avatar Jason Francis

Make first demo

parent 1da24554
......@@ -2,3 +2,4 @@
.import/
export.cfg
export_presets.cfg
export/
[gd_scene load_steps=4 format=2]
[ext_resource path="res://BPanel.material" type="Material" id=1]
[sub_resource type="CubeMesh" id=1]
material = ExtResource( 1 )
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
flip_faces = false
size = Vector3( 2, 2, 2 )
subdivide_width = 0
subdivide_height = 0
subdivide_depth = 0
[sub_resource type="BoxShape" id=2]
margin = 0.04
extents = Vector3( 1, 1, 1 )
[node name="Spatial" type="Spatial"]
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = null
_sections_unfolded = [ "Transform", "material" ]
[node name="StaticBody" type="StaticBody" parent="MeshInstance"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
[node name="CollisionShape" type="CollisionShape" parent="MeshInstance/StaticBody"]
shape = SubResource( 2 )
disabled = false
extends Spatial
var timer = 0
func _ready():
pass
func _process(delta):
timer += delta
$Clouds1.translation.x = $Player.translation.x
$Clouds1.translation.z = $Player.translation.z
$Clouds2.translation.x = $Player.translation.x
$Clouds2.translation.z = $Player.translation.z
var cloud_uv_offset = Vector3(-$Clouds1.translation.x/65535.0, -$Clouds1.translation.z/65535.0, 0.0)
var cloud1_offset = timer * (1.0/128.0)
var cloud2_offset = timer * (1.0/192.0)
$Clouds1.get_surface_material(0).set_shader_param("uv1_offset",
cloud_uv_offset + Vector3(cloud1_offset, cloud1_offset, 0))
$Clouds2.get_surface_material(0).set_shader_param("uv1_offset",
cloud_uv_offset + Vector3(-cloud2_offset, -cloud2_offset * 0.25, 0))
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Bullet.gd" type="Script" id=1]
[ext_resource path="res://scripts/Bullet.gd" type="Script" id=1]
[sub_resource type="SphereShape" id=1]
......
[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/Elevator.gd" type="Script" id=1]
[ext_resource path="res://models/elevator/elevator.obj" type="ArrayMesh" id=2]
[sub_resource type="SpatialMaterial" id=1]
render_priority = 0
flags_transparent = false
flags_unshaded = false
flags_vertex_lighting = false
flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
flags_do_not_receive_shadows = false
flags_disable_ambient_light = false
flags_ensure_correct_normals = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 0
params_depth_draw_mode = 0
params_line_width = 1.0
params_point_size = 1.0
params_billboard_mode = 0
params_billboard_keep_scale = false
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 0.760784, 0.713726, 0, 1 )
metallic = 0.84
metallic_specular = 0.5
metallic_texture_channel = 0
roughness = 0.76
roughness_texture_channel = 0
emission_enabled = false
normal_enabled = false
rim_enabled = false
clearcoat_enabled = false
anisotropy_enabled = false
ao_enabled = false
depth_enabled = false
subsurf_scatter_enabled = false
transmission_enabled = false
refraction_enabled = false
detail_enabled = false
uv1_scale = Vector3( 1, 1, 1 )
uv1_offset = Vector3( 0, 0, 0 )
uv1_triplanar = false
uv1_triplanar_sharpness = 1.0
uv2_scale = Vector3( 1, 1, 1 )
uv2_offset = Vector3( 0, 0, 0 )
uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_mode = 0
_sections_unfolded = [ "Albedo", "Metallic", "Roughness" ]
[sub_resource type="ConcavePolygonShape" id=2]
margin = 0.04
data = PoolVector3Array( -1.5, -1.5, -1.75, -1.5, 1.5, 1.75, -1.5, -1.5, 1.75, 1.5, -1.5, -1.75, -1.5, 1.5, -1.75, -1.5, -1.5, -1.75, 1.5, 0.75, 0.625, 1.5, 1.5, -1.75, 1.5, 0.75, -1.375, -1.5, -1.5, 1.75, 1.5, 1.5, 1.75, 1.5, -1.5, 1.75, -1.5, -1.5, 1.75, 1.5, -1.5, -1.75, -1.5, -1.5, -1.75, 1.5, 1.5, 1.75, -1.5, 1.5, -1.75, 1.5, 1.5, -1.75, -1.25, 1.25, 1.5, -1.25, -1.25, -1.5, -1.25, -1.25, 1.5, -1.25, 1.25, -1.5, 1.25, -1.25, -1.5, -1.25, -1.25, -1.5, 1.25, 0.75, 0.625, 1.25, 1.25, -1.5, 1.25, 1.25, 1.5, 1.25, 1.25, 1.5, -1.25, -1.25, 1.5, 1.25, -1.25, 1.5, -1.25, 1.25, -1.5, 1.25, 1.25, 1.5, 1.25, 1.25, -1.5, 1.25, 0.75, 0.625, 1.5, -1.25, 0.625, 1.5, 0.75, 0.625, 1.5, 0.75, -1.375, 1.5, -1.5, -1.75, 1.5, -1.25, -1.375, 1.5, 0.75, 0.625, 1.5, -1.5, 1.75, 1.5, 1.5, 1.75, 1.5, -1.25, 0.625, 1.5, -1.5, -1.75, 1.5, -1.5, 1.75, 1.25, -1.25, 0.625, 1.5, -1.25, -1.375, 1.5, -1.25, 0.625, 1.25, 0.75, -1.375, 1.5, 0.75, 0.625, 1.5, 0.75, -1.375, 1.25, -1.25, -1.375, 1.5, 0.75, -1.375, 1.5, -1.25, -1.375, 1.25, 0.75, -1.375, 1.25, -1.25, -1.5, 1.25, 1.25, -1.5, 1.25, 0.75, 0.625, 1.25, -1.25, 1.5, 1.25, -1.25, 0.625, -1.25, -1.25, 1.5, 1.25, -1.25, 0.625, 1.25, -1.25, 1.5, 1.25, -1.25, -1.375, -1.25, -1.25, -1.5, 1.25, -1.25, -1.5, 1.25, -1.25, 0.625, -1.25, -1.25, -1.5, 1.25, -1.25, -1.375, -1.5, 1.5, -1.75, -1.5, 1.5, 1.75, -1.5, -1.5, -1.75, 1.5, 1.5, -1.75, -1.5, 1.5, -1.75, 1.5, -1.5, -1.75, 1.5, 1.5, 1.75, 1.5, 1.5, -1.75, 1.5, 0.75, 0.625, -1.5, 1.5, 1.75, 1.5, 1.5, 1.75, -1.5, -1.5, 1.75, 1.5, -1.5, 1.75, 1.5, -1.5, -1.75, -1.5, -1.5, 1.75, -1.5, 1.5, 1.75, -1.5, 1.5, -1.75, 1.5, 1.5, 1.75, -1.25, 1.25, -1.5, -1.25, -1.25, -1.5, -1.25, 1.25, 1.5, 1.25, 1.25, -1.5, 1.25, -1.25, -1.5, -1.25, 1.25, -1.5, 1.25, 0.75, -1.375, 1.25, 1.25, -1.5, 1.25, 0.75, 0.625, -1.25, 1.25, 1.5, -1.25, -1.25, 1.5, 1.25, 1.25, 1.5, -1.25, 1.25, 1.5, 1.25, 1.25, 1.5, -1.25, 1.25, -1.5, 1.25, -1.25, 0.625, 1.5, -1.25, 0.625, 1.25, 0.75, 0.625, 1.5, 1.5, -1.75, 1.5, -1.5, -1.75, 1.5, 0.75, -1.375, 1.5, -1.25, 0.625, 1.5, -1.5, 1.75, 1.5, 0.75, 0.625, 1.5, -1.25, -1.375, 1.5, -1.5, -1.75, 1.5, -1.25, 0.625, 1.25, -1.25, -1.375, 1.5, -1.25, -1.375, 1.25, -1.25, 0.625, 1.25, 0.75, 0.625, 1.5, 0.75, 0.625, 1.25, 0.75, -1.375, 1.25, 0.75, -1.375, 1.5, 0.75, -1.375, 1.25, -1.25, -1.375, 1.25, -1.25, -1.375, 1.25, -1.25, -1.5, 1.25, 0.75, -1.375, 1.25, 1.25, 1.5, 1.25, -1.25, 1.5, 1.25, 0.75, 0.625, -1.25, -1.25, 1.5, -1.25, -1.25, -1.5, 1.25, -1.25, 0.625 )
[sub_resource type="BoxShape" id=3]
margin = 0.04
extents = Vector3( 1.375, 1.374, 1.625 )
[node name="Elevator" type="KinematicBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1.5, 0 )
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 8
collision_mask = 57
move_lock_x = false
move_lock_y = false
move_lock_z = false
collision/safe_margin = 0.001
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "Transform", "collision" ]
[node name="MeshInstance2" type="MeshInstance" parent="."]
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 2 )
skeleton = NodePath("..")
material/0 = SubResource( 1 )
_sections_unfolded = [ "Transform", "material" ]
[node name="CollisionShape" type="CollisionShape" parent="."]
shape = SubResource( 2 )
disabled = false
[node name="InteriorArea" type="Area" parent="."]
input_ray_pickable = false
input_capture_on_drag = false
space_override = 0
gravity_point = false
gravity_distance_scale = 0.0
gravity_vec = Vector3( 0, -1, 0 )
gravity = 9.8
linear_damp = 0.1
angular_damp = 1.0
priority = 0.0
monitoring = true
monitorable = true
collision_layer = 0
collision_mask = 16
audio_bus_override = false
audio_bus_name = "Master"
reverb_bus_enable = false
reverb_bus_name = "Master"
reverb_bus_amount = 0.0
reverb_bus_uniformity = 0.0
_sections_unfolded = [ "Collision" ]
[node name="CollisionShape" type="CollisionShape" parent="InteriorArea"]
shape = SubResource( 3 )
disabled = false
_sections_unfolded = [ "shape" ]
[node name="OmniLight" type="OmniLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 0.5
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = true
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.15
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
omni_range = 5.0
omni_attenuation = 1.0
omni_shadow_mode = 1
omni_shadow_detail = 1
_sections_unfolded = [ "Light", "Omni", "Shadow" ]
[connection signal="body_entered" from="InteriorArea" to="." method="_on_InteriorArea_body_entered"]
[connection signal="body_exited" from="InteriorArea" to="." method="_on_InteriorArea_body_exited"]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
[ext_resource path="res://scenes/default_env.tres" type="Environment" id=2]
[sub_resource type="CapsuleShape" id=1]
margin = 0.04
radius = 0.25
height = 0.25
[node name="Player" type="KinematicBody"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 16
collision_mask = 63
move_lock_x = false
move_lock_y = false
move_lock_z = false
collision/safe_margin = 0.001
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "Transform", "collision" ]
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0 )
keep_aspect = 1
cull_mask = 1048575
environment = ExtResource( 2 )
h_offset = 0.0
v_offset = 0.0
doppler_tracking = 0
projection = 0
current = false
fov = 70.0
size = 1.0
near = 0.05
far = 8192.0
_sections_unfolded = [ "Matrix", "Transform" ]
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
shape = SubResource( 1 )
disabled = false
_sections_unfolded = [ "Transform", "shape" ]
[node name="ReflectionProbe" type="ReflectionProbe" parent="."]
visible = false
layers = 1
update_mode = 1
intensity = 0.25
max_distance = 256.0
extents = Vector3( 32, 32, 32 )
origin_offset = Vector3( 0, 0, 0 )
box_projection = true
enable_shadows = false
cull_mask = 1048575
interior_enable = false
interior_ambient_color = Color( 0, 0, 0, 1 )
interior_ambient_energy = 1.0
interior_ambient_contrib = 0.0
_sections_unfolded = [ "Interior" ]
[node name="GIProbe" type="GIProbe" parent="."]
visible = false
layers = 1
subdiv = 1
extents = Vector3( 128, 128, 128 )
dynamic_range = 4
energy = 1.0
propagation = 0.7
bias = 1.5
normal_bias = 0.0
interior = false
compress = false
data = null
_sections_unfolded = [ "Interior" ]
[gd_scene load_steps=11 format=2]
[ext_resource path="res://models/desk-lamp/model.obj" type="ArrayMesh" id=1]
[ext_resource path="res://models/desk-lamp/albedo.png" type="Texture" id=2]
[ext_resource path="res://models/desk-lamp/ao.png" type="Texture" id=3]
[ext_resource path="res://models/desk-lamp/brightmap.png" type="Texture" id=4]
[ext_resource path="res://models/desk-lamp/metallic.png" type="Texture" id=5]
[ext_resource path="res://models/desk-lamp/normal.png" type="Texture" id=6]
[ext_resource path="res://models/desk-lamp/roughness.png" type="Texture" id=7]
[sub_resource type="PhysicsMaterial" id=4]
friction = 3.0
rough = true
bounce = 0.0
absorbent = false
[sub_resource type="SpatialMaterial" id=1]
render_priority = 0
flags_transparent = false
flags_unshaded = false
flags_vertex_lighting = false
flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
flags_do_not_receive_shadows = false
flags_disable_ambient_light = false
flags_ensure_correct_normals = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 0
params_specular_mode = 0
params_blend_mode = 0
params_cull_mode = 2
params_depth_draw_mode = 0
params_line_width = 1.0
params_point_size = 1.0
params_billboard_mode = 0
params_billboard_keep_scale = false
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 1, 1, 1, 1 )
albedo_texture = ExtResource( 2 )
metallic = 0.3
metallic_specular = 0.5
metallic_texture = ExtResource( 5 )
metallic_texture_channel = 0
roughness = 1.0
roughness_texture = ExtResource( 7 )
roughness_texture_channel = 0
emission_enabled = true
emission = Color( 0, 0, 0, 1 )
emission_energy = 1.0
emission_operator = 0
emission_on_uv2 = false
emission_texture = ExtResource( 4 )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 6 )
rim_enabled = false
clearcoat_enabled = false
anisotropy_enabled = false
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 3 )
ao_on_uv2 = false
ao_texture_channel = 0
depth_enabled = false
subsurf_scatter_enabled = false
transmission_enabled = false
refraction_enabled = false
detail_enabled = false
uv1_scale = Vector3( 1, 1, 1 )
uv1_offset = Vector3( 0, 0, 0 )
uv1_triplanar = false
uv1_triplanar_sharpness = 1.0
uv2_scale = Vector3( 1, 1, 1 )
uv2_offset = Vector3( 0, 0, 0 )
uv2_triplanar = false
uv2_triplanar_sharpness = 1.0
proximity_fade_enable = false
distance_fade_mode = 0
[sub_resource type="ConcavePolygonShape" id=5]
margin = 0.04
data = PoolVector3Array( -2, 2, -3, -2, 17.2579, -2.7522, -2, 2, 0.7268, 2, 2, -3, -2, 18.129, -6.2364, -2, 2, -3, 2, 17.2579, -2.7522, 2, 2, -3, 2, 2, 0.7268, -2, 2, 0.7268, 2, 17.2579, -2.7522, 2, 2, 0.7268, -2, 2, 0.7268, 2, 2, -3, -2, 2, -3, -2, 26.3263, 16.0678, -2, 17.2579, -2.7522, -2, 18.129, -6.2364, 2, 24.4606, 16.7245, -2, 26.3263, 16.0678, 2, 26.3263, 16.0678, -2, 24.4606, 16.7245, 2, 17.2579, -2.7522, -2, 17.2579, -2.7522, 2, 26.3263, 16.0678, -2, 18.129, -6.2364, 2, 18.129, -6.2364, 2, 26.3263, 16.0678, 2, 17.2579, -2.7522, 2, 24.4606, 16.7245, -5.2914, 21.3114, 24.8264, -2.8262, 24.0179, 18.2109, -1.9939, 24.7051, 20.099, 2.0247, 28.2414, 18.8119, 0.0154, 27.5541, 16.9238, 2.857, 27.5541, 16.9238, 5.3222, 17.6813, 14.8528, 0.0154, 23.046, 15.5407, 0.0154, 16.9295, 12.7872, 0.0154, 28.526, 19.594, 0.0154, 27.5541, 16.9238, 2.0247, 28.2414, 18.8119, 0.0154, 22.0731, 26.902, -1.9939, 24.7051, 20.099, 0.0154, 24.9898, 20.8811, -1.9939, 28.2414, 18.8119, 0.0154, 27.5541, 16.9238, 0.0154, 28.526, 19.594, 7.5236, 19.4854, 19.8266, 2.0247, 23.3307, 16.3228, 5.3222, 17.6813, 14.8528, -2.8262, 27.5541, 16.9238, 0.0154, 27.5541, 16.9238, -1.9939, 28.2414, 18.8119, -5.2914, 17.6813, 14.8528, 0.0154, 23.046, 15.5407, -1.9939, 23.3307, 16.3228, -1.9939, 26.8669, 15.0357, 0.0154, 27.5541, 16.9238, -2.8262, 27.5541, 16.9238, 0.0154, 22.0731, 26.902, 2.0247, 24.7051, 20.099, 5.3222, 21.3114, 24.8264, 0.0154, 26.5823, 14.2536, 0.0154, 27.5541, 16.9238, -1.9939, 26.8669, 15.0357, 5.3222, 21.3114, 24.8264, 2.857, 24.0179, 18.2109, 7.5236, 19.4854, 19.8266, 2.0247, 26.8669, 15.0357, 0.0154, 27.5541, 16.9238, 0.0154, 26.5823, 14.2536, -7.4896, 19.4464, 19.8396, -1.9939, 23.3307, 16.3228, -2.8262, 24.0179, 18.2109, 2.857, 27.5541, 16.9238, 0.0154, 27.5541, 16.9238, 2.0247, 26.8669, 15.0357, 2.0247, 24.7051, 20.099, 2.857, 27.5541, 16.9238, 2.857, 24.0179, 18.2109, 0.0154, 28.526, 19.594, 2.0247, 24.7051, 20.099, 0.0154, 24.9898, 20.8811, -1.9939, 24.7051, 20.099, 0.0154, 28.526, 19.594, 0.0154, 24.9898, 20.8811, -2.8262, 27.5541, 16.9238, -1.9939, 24.7051, 20.099, -2.8262, 24.0179, 18.2109, -1.9939, 23.3307, 16.3228, -2.8262, 27.5541, 16.9238, -2.8262, 24.0179, 18.2109, 0.0154, 26.5823, 14.2536, -1.9939, 23.3307, 16.3228, 0.0154, 23.046, 15.5407, 2.0247, 23.3307, 16.3228, 0.0154, 26.5823, 14.2536, 0.0154, 23.046, 15.5407, 2.857, 24.0179, 18.2109, 2.0247, 26.8669, 15.0357, 2.0247, 23.3307, 16.3228, 0.0154, 22.0533, 26.8819, 0.0154, 19.4854, 19.8266, -5.2914, 21.3114, 24.8264, -5.2914, 17.6813, 14.8528, 0.0154, 19.4854, 19.8266, 0.0154, 16.9295, 12.7872, -7.4896, 19.4464, 19.8396, -5.2914, 21.3114, 24.8264, 0.0154, 19.4854, 19.8266, 7.5236, 19.4854, 19.8266, 5.3222, 17.6813, 14.8528, 0.0154, 19.4854, 19.8266, 5.3222, 17.6813, 14.8528, 0.0154, 16.9295, 12.7872, 0.0154, 19.4854, 19.8266, 0.0154, 19.4854, 19.8266, 0.0154, 22.0533, 26.8819, 5.3222, 21.3114, 24.8264, -7.4896, 19.4464, 19.8396, 0.0154, 19.4854, 19.8266, -5.2914, 17.6813, 14.8528, 7.5236, 19.4854, 19.8266, 0.0154, 19.4854, 19.8266, 5.3222, 21.3114, 24.8264, -5, 0, -3, 5, 0, 8, 5, 0, -3, -5, 0, 8, 5, 2, 8, 5, 0, 8, -5, 0, -3, -5, 2, 8, -5, 0, 8, 5, 0, -3, -5, 2, -3, -5, 0, -3, 5, 2, -3, 5, 0, 8, 5, 2, 8, 5, 2, 8, -5, 2, -3, 5, 2, -3, -2, 18.129, -6.2364, -2, 17.2579, -2.7522, -2, 2, -3, 2, 18.129, -6.2364, -2, 18.129, -6.2364, 2, 2, -3, 2, 18.129, -6.2364, 2, 2, -3, 2, 17.2579, -2.7522, -2, 17.2579, -2.7522, 2, 17.2579, -2.7522, -2, 2, 0.7268, 2, 2, 0.7268, 2, 2, -3, -2, 2, 0.7268, -2, 24.4606, 16.7245, -2, 17.2579, -2.7522, -2, 26.3263, 16.0678, -2, 24.4606, 16.7245, -2, 26.3263, 16.0678, 2, 24.4606, 16.7245, 2, 24.4606, 16.7245, 2, 17.2579, -2.7522, -2, 24.4606, 16.7245, -2, 26.3263, 16.0678, -2, 18.129, -6.2364, 2, 26.3263, 16.0678, 2, 18.129, -6.2364, 2, 17.2579, -2.7522, 2, 26.3263, 16.0678, -7.4896, 19.4464, 19.8396, -2.8262, 24.0179, 18.2109, -5.2914, 21.3114, 24.8264, 2.0247, 23.3307, 16.3228, 0.0154, 23.046, 15.5407, 5.3222, 17.6813, 14.8528, -5.2914, 21.3114, 24.8264, -1.9939, 24.7051, 20.099, 0.0154, 22.0731, 26.902, 2.857, 24.0179, 18.2109, 2.0247, 23.3307, 16.3228, 7.5236, 19.4854, 19.8266, 0.0154, 16.9295, 12.7872, 0.0154, 23.046, 15.5407, -5.2914, 17.6813, 14.8528, 0.0154, 24.9898, 20.8811, 2.0247, 24.7051, 20.099, 0.0154, 22.0731, 26.902, 2.0247, 24.7051, 20.099, 2.857, 24.0179, 18.2109, 5.3222, 21.3114, 24.8264, -5.2914, 17.6813, 14.8528, -1.9939, 23.3307, 16.3228, -7.4896, 19.4464, 19.8396, 2.0247, 28.2414, 18.8119, 2.857, 27.5541, 16.9238, 2.0247, 24.7051, 20.099, 2.0247, 28.2414, 18.8119, 2.0247, 24.7051, 20.099, 0.0154, 28.526, 19.594, -1.9939, 28.2414, 18.8119, 0.0154, 28.526, 19.594, -1.9939, 24.7051, 20.099, -1.9939, 28.2414, 18.8119, -1.9939, 24.7051, 20.099, -2.8262, 27.5541, 16.9238, -1.9939, 26.8669, 15.0357, -2.8262, 27.5541, 16.9238, -1.9939, 23.3307, 16.3228, -1.9939, 26.8669, 15.0357, -1.9939, 23.3307, 16.3228, 0.0154, 26.5823, 14.2536, 2.0247, 26.8669, 15.0357, 0.0154, 26.5823, 14.2536, 2.0247, 23.3307, 16.3228, 2.857, 27.5541, 16.9238, 2.0247, 26.8669, 15.0357, 2.857, 24.0179, 18.2109, -5, 0, 8, 5, 0, 8, -5, 0, -3, -5, 2, 8, 5, 2, 8, -5, 0, 8, -5, 2, -3, -5, 2, 8, -5, 0, -3, 5, 2, -3, -5, 2, -3, 5, 0, -3, 5, 0, -3, 5, 0, 8, 5, 2, -3, -5, 2, 8, -5, 2, -3, 5, 2, 8 )
[node name="DeskLamp" type="RigidBody"]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
mode = 0
mass = 20.0
physics_material_override = SubResource( 4 )
gravity_scale = 1.0
custom_integrator = false
continuous_cd = false
contacts_reported = 0
contact_monitor = false
sleeping = false
can_sleep = true
axis_lock_linear_x = false
axis_lock_linear_y = false
axis_lock_linear_z = false
axis_lock_angular_x = false
axis_lock_angular_y = false
axis_lock_angular_z = false
linear_velocity = Vector3( 0, 0, 0 )
linear_damp = -1.0
angular_velocity = Vector3( 0, 0, 0 )
angular_damp = -1.0
_sections_unfolded = [ "physics_material_override" ]
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 0.016, 0, 0, 0, 0.016, 0, 0, 0, 0.016, 0, 0, 0 )
layers = 1
material_override = null
cast_shadow = 1
extra_cull_margin = 0.0
use_in_baked_light = false
lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
mesh = ExtResource( 1 )
skeleton = NodePath("..")
material/0 = SubResource( 1 )
_sections_unfolded = [ "Transform", "material" ]
[node name="SpotLight" type="SpotLight" parent="."]
transform = Transform( 1, 0, 0, 0, -0.350172, 0.936685, 0, -0.936685, -0.350172, 0, 0.31747, 0.315559 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = true
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 0.01
shadow_contact = 0.0
shadow_reverse_cull_face = false
editor_only = false
spot_range = 1.0
spot_attenuation = 1.0
spot_angle = 63.1
spot_angle_attenuation = 1.0
_sections_unfolded = [ "Light", "Shadow", "Spot", "Transform" ]
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 0.016, 0, 0, 0, 0.016, 0, 0, 0, 0.016, 0, 0, 0 )
shape = SubResource( 5 )
disabled = false
_sections_unfolded = [ "Transform", "shape" ]
icon.png

3.35 KB | W: | H:

icon.png

41.7 KB | W: | H:

icon.png
icon.png
icon.png
icon.png
  • 2-up
  • Swipe
  • Onion skin
shader_type spatial;
render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx;
render_mode blend_mix,depth_draw_opaque,cull_disabled,diffuse_burley,specular_schlick_ggx;
uniform vec4 albedo : hint_color;
uniform sampler2D texture_albedo : hint_albedo;
uniform vec3 uv1_scale;
......
This diff is collapsed.
[remap]
importer="wavefront_obj"
type="Mesh"
path="res://.import/Pawnshop.obj-d874b0fc79a724b61aa953976c56b09f.mesh"
[deps]
files=[ "res://.import/Pawnshop.obj-d874b0fc79a724b61aa953976c56b09f.mesh" ]
source_file="res://models/Pawnshop.obj"
dest_files=[ "res://.import/Pawnshop.obj-d874b0fc79a724b61aa953976c56b09f.mesh", "res://.import/Pawnshop.obj-d874b0fc79a724b61aa953976c56b09f.mesh" ]
[params]