271 lines
6.8 KiB
Plaintext
271 lines
6.8 KiB
Plaintext
|
[gd_scene load_steps=8 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/maujoe.camera_control/scripts/camera_control.gd" type="Script" id=1]
|
||
|
|
||
|
[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
|
||
|
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_grow = false
|
||
|
params_use_alpha_scissor = false
|
||
|
albedo_color = Color( 1, 1, 1, 1 )
|
||
|
metallic = 0.0
|
||
|
metallic_specular = 0.5
|
||
|
metallic_texture_channel = 0
|
||
|
roughness = 0.0
|
||
|
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_enable = false
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id=2]
|
||
|
|
||
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
||
|
size = Vector2( 10, 10 )
|
||
|
subdivide_width = 0
|
||
|
subdivide_depth = 0
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=3]
|
||
|
|
||
|
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
|
||
|
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_grow = false
|
||
|
params_use_alpha_scissor = false
|
||
|
albedo_color = Color( 1, 1, 1, 1 )
|
||
|
metallic = 0.0
|
||
|
metallic_specular = 0.5
|
||
|
metallic_texture_channel = 0
|
||
|
roughness = 0.0
|
||
|
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_enable = false
|
||
|
|
||
|
[sub_resource type="CubeMesh" id=4]
|
||
|
|
||
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
||
|
size = Vector3( 2, 2, 2 )
|
||
|
subdivide_width = 0
|
||
|
subdivide_height = 0
|
||
|
subdivide_depth = 0
|
||
|
|
||
|
[sub_resource type="ConcavePolygonShape" id=5]
|
||
|
|
||
|
data = PoolVector3Array( -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1 )
|
||
|
|
||
|
[sub_resource type="CubeMesh" id=6]
|
||
|
|
||
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
||
|
size = Vector3( 1, 2, 1 )
|
||
|
subdivide_width = 0
|
||
|
subdivide_height = 0
|
||
|
subdivide_depth = 0
|
||
|
|
||
|
[node name="Node" type="Node" index="0"]
|
||
|
|
||
|
[node name="Camera" type="Camera" parent="." index="0"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 5 )
|
||
|
keep_aspect = 1
|
||
|
cull_mask = 1048575
|
||
|
environment = null
|
||
|
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 = 100.0
|
||
|
script = ExtResource( 1 )
|
||
|
enabled = true
|
||
|
mouse_mode = 2
|
||
|
mouselook = true
|
||
|
sensitivity = 0.5
|
||
|
smoothness = 0.5
|
||
|
privot = null
|
||
|
distance = 6.0
|
||
|
rotate_privot = false
|
||
|
collisions = false
|
||
|
yaw_limit = 360
|
||
|
pitch_limit = 360
|
||
|
movement = true
|
||
|
acceleration = 1.0
|
||
|
deceleration = 0.1
|
||
|
max_speed = Vector3( 1, 1, 1 )
|
||
|
local = true
|
||
|
forward_action = "ui_up"
|
||
|
backward_action = "ui_down"
|
||
|
left_action = "ui_left"
|
||
|
right_action = "ui_right"
|
||
|
up_action = "ui_page_up"
|
||
|
down_action = "ui_page_down"
|
||
|
use_gui = true
|
||
|
gui_action = "ui_cancel"
|
||
|
|
||
|
[node name="DirectionalLight" type="DirectionalLight" parent="." index="1"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 0, 8, 0 )
|
||
|
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 = false
|
||
|
shadow_color = Color( 0, 0, 0, 1 )
|
||
|
shadow_bias = 0.1
|
||
|
shadow_contact = 0.0
|
||
|
shadow_reverse_cull_face = false
|
||
|
editor_only = false
|
||
|
directional_shadow_mode = 2
|
||
|
directional_shadow_split_1 = 0.1
|
||
|
directional_shadow_split_2 = 0.2
|
||
|
directional_shadow_split_3 = 0.5
|
||
|
directional_shadow_blend_splits = false
|
||
|
directional_shadow_normal_bias = 0.8
|
||
|
directional_shadow_bias_split_scale = 0.25
|
||
|
directional_shadow_depth_range = 0
|
||
|
directional_shadow_max_distance = 200.0
|
||
|
|
||
|
[node name="Ground" type="MeshInstance" parent="." index="2"]
|
||
|
|
||
|
layers = 1
|
||
|
material_override = SubResource( 1 )
|
||
|
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( 2 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = null
|
||
|
_sections_unfolded = [ "Geometry" ]
|
||
|
|
||
|
[node name="Cube" type="MeshInstance" parent="." index="3"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1, -4 )
|
||
|
layers = 1
|
||
|
material_override = SubResource( 3 )
|
||
|
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( 4 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = null
|
||
|
_sections_unfolded = [ "Geometry" ]
|
||
|
|
||
|
[node name="StaticBody" type="StaticBody" parent="Cube" index="0"]
|
||
|
|
||
|
input_ray_pickable = true
|
||
|
input_capture_on_drag = false
|
||
|
collision_layer = 1
|
||
|
collision_mask = 1
|
||
|
friction = 1.0
|
||
|
bounce = 0.0
|
||
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
||
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
||
|
|
||
|
[node name="CollisionShape" type="CollisionShape" parent="Cube/StaticBody" index="0"]
|
||
|
|
||
|
shape = SubResource( 5 )
|
||
|
disabled = false
|
||
|
|
||
|
[node name="Cube2" type="MeshInstance" parent="." index="4"]
|
||
|
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
||
|
layers = 1
|
||
|
material_override = SubResource( 3 )
|
||
|
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( 6 )
|
||
|
skeleton = NodePath("..")
|
||
|
material/0 = null
|
||
|
_sections_unfolded = [ "Geometry" ]
|
||
|
|
||
|
|