Fix fall-through (spawn on terrain after collision built) and B&W (assign sky env)
This commit is contained in:
@@ -1,18 +1,10 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c0world0valheim00"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/world/world.gd" id="0_world"]
|
||||
[ext_resource type="Script" path="res://scripts/world/terrain.gd" id="1_terrain"]
|
||||
[ext_resource type="Script" path="res://scripts/world/props.gd" id="2_props"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/player.tscn" id="3_player"]
|
||||
|
||||
[sub_resource type="Environment" id="Env_inline"]
|
||||
background_mode = 2
|
||||
ambient_light_source = 3
|
||||
ambient_light_color = Color(0.6, 0.66, 0.72, 1)
|
||||
ambient_light_energy = 0.4
|
||||
tonemap_mode = 3
|
||||
fog_enabled = true
|
||||
fog_light_color = Color(0.72, 0.78, 0.82, 1)
|
||||
fog_density = 0.012
|
||||
[ext_resource type="Environment" path="res://scenes/default_env.tres" id="4_env"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="Label_1"]
|
||||
font_size = 16
|
||||
@@ -20,9 +12,10 @@ outline_size = 4
|
||||
outline_color = Color(0, 0, 0, 0.7)
|
||||
|
||||
[node name="World" type="Node3D"]
|
||||
script = ExtResource("0_world")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Env_inline")
|
||||
environment = ExtResource("4_env")
|
||||
|
||||
[node name="Sun" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(0.86, -0.35, 0.37, 0, 0.72, 0.69, -0.51, -0.6, 0.62, 0, 40, 0)
|
||||
|
||||
Reference in New Issue
Block a user