Fix DoF env camera/World
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=61 format=2]
|
[gd_scene load_steps=62 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://assets/props/candle/sm_candle_top.mesh" type="ArrayMesh" id=1]
|
[ext_resource path="res://assets/props/candle/sm_candle_top.mesh" type="ArrayMesh" id=1]
|
||||||
[ext_resource path="res://scenes/levels/warcraft/WarCraft.gd" type="Script" id=2]
|
[ext_resource path="res://scenes/levels/warcraft/WarCraft.gd" type="Script" id=2]
|
||||||
@@ -47,6 +47,29 @@
|
|||||||
[sub_resource type="PanoramaSky" id=2]
|
[sub_resource type="PanoramaSky" id=2]
|
||||||
panorama = ExtResource( 11 )
|
panorama = ExtResource( 11 )
|
||||||
|
|
||||||
|
[sub_resource type="Environment" id=18]
|
||||||
|
background_mode = 3
|
||||||
|
background_sky = SubResource( 2 )
|
||||||
|
background_color = Color( 0.188235, 0.133333, 0.133333, 1 )
|
||||||
|
background_energy = 0.6
|
||||||
|
ambient_light_color = Color( 0.694118, 0.168627, 0.67451, 1 )
|
||||||
|
ambient_light_energy = 1.55
|
||||||
|
ambient_light_sky_contribution = 0.5
|
||||||
|
fog_enabled = true
|
||||||
|
fog_color = Color( 0.562167, 0.29, 1, 0.941176 )
|
||||||
|
fog_depth_begin = 0.0
|
||||||
|
fog_depth_end = 60.0
|
||||||
|
fog_depth_curve = 1.10957
|
||||||
|
fog_height_enabled = true
|
||||||
|
fog_height_min = 2.0
|
||||||
|
fog_height_max = -20.0
|
||||||
|
fog_height_curve = 0.965936
|
||||||
|
tonemap_mode = 2
|
||||||
|
ss_reflections_enabled = true
|
||||||
|
dof_blur_far_enabled = true
|
||||||
|
dof_blur_far_distance = 4.0
|
||||||
|
glow_enabled = true
|
||||||
|
|
||||||
[sub_resource type="Environment" id=3]
|
[sub_resource type="Environment" id=3]
|
||||||
background_mode = 3
|
background_mode = 3
|
||||||
background_sky = SubResource( 2 )
|
background_sky = SubResource( 2 )
|
||||||
@@ -148,9 +171,8 @@ light_data = ExtResource( 16 )
|
|||||||
|
|
||||||
[node name="Main Camera" type="Camera" parent="."]
|
[node name="Main Camera" type="Camera" parent="."]
|
||||||
transform = Transform( 0.160708, -0.300426, 0.940169, 0, 0.95255, 0.304383, -0.987002, -0.0489167, 0.153082, 1.67521, 1.63422, 0.663199 )
|
transform = Transform( 0.160708, -0.300426, 0.940169, 0, 0.95255, 0.304383, -0.987002, -0.0489167, 0.153082, 1.67521, 1.63422, 0.663199 )
|
||||||
environment = SubResource( 3 )
|
environment = SubResource( 18 )
|
||||||
fov = 38.5632
|
fov = 38.5632
|
||||||
far = 6.6
|
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_editor_description_": ""
|
"_editor_description_": ""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,28 @@
|
|||||||
[gd_resource type="World" load_steps=2 format=2]
|
[gd_resource type="Environment" load_steps=3 format=2]
|
||||||
|
|
||||||
[sub_resource type="Environment" id=1]
|
[ext_resource path="res://assets/hdri/tx_night_place.hdr" type="Texture" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="PanoramaSky" id=2]
|
||||||
|
panorama = ExtResource( 1 )
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
environment = SubResource( 1 )
|
background_mode = 3
|
||||||
|
background_sky = SubResource( 2 )
|
||||||
|
background_color = Color( 0.188235, 0.133333, 0.133333, 1 )
|
||||||
|
background_energy = 0.6
|
||||||
|
ambient_light_color = Color( 0.694118, 0.168627, 0.67451, 1 )
|
||||||
|
ambient_light_energy = 1.55
|
||||||
|
ambient_light_sky_contribution = 0.5
|
||||||
|
fog_enabled = true
|
||||||
|
fog_color = Color( 0.562167, 0.29, 1, 0.941176 )
|
||||||
|
fog_depth_begin = 0.0
|
||||||
|
fog_depth_end = 60.0
|
||||||
|
fog_depth_curve = 1.10957
|
||||||
|
fog_height_enabled = true
|
||||||
|
fog_height_min = 2.0
|
||||||
|
fog_height_max = -20.0
|
||||||
|
fog_height_curve = 0.965936
|
||||||
|
tonemap_mode = 2
|
||||||
|
ss_reflections_enabled = true
|
||||||
|
dof_blur_far_distance = 2.0
|
||||||
|
glow_enabled = true
|
||||||
|
|||||||
Reference in New Issue
Block a user