first commit

This commit is contained in:
sphynx-owner 2024-07-06 21:22:05 +03:00
commit 21b4e73ed7
906 changed files with 65701 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[gd_resource type="CameraAttributesPractical" format=3 uid="uid://c5r7ambhbw168"]
[resource]
exposure_sensitivity = 450.0
auto_exposure_enabled = true
auto_exposure_scale = 0.22
auto_exposure_speed = 0.8
dof_blur_far_distance = 50.0
dof_blur_far_transition = 50.0
dof_blur_near_enabled = true
dof_blur_near_distance = 0.06
dof_blur_near_transition = 0.02
auto_exposure_min_sensitivity = 360.0
auto_exposure_max_sensitivity = 1e+07

View file

@ -0,0 +1,51 @@
[gd_resource type="Resource" script_class="LightingScenarios" load_steps=7 format=3 uid="uid://bhft8dubbqr2h"]
[ext_resource type="Script" path="res://Scripts/Lighting.gd" id="1_j2wa8"]
[ext_resource type="Script" path="res://Scripts/LightingScenarios.gd" id="1_whetd"]
[sub_resource type="Resource" id="Resource_wmn5y"]
script = ExtResource("1_j2wa8")
rotation = Quaternion(-0.289062, 0.680597, 0.337851, 0.582312)
temp = 4250.0
lux = 75000.0
sky_nits = 22500.0
night_lights = false
exposure_mult = 450.0
exposure_min_sens = 360.0
[sub_resource type="Resource" id="Resource_kk6fo"]
script = ExtResource("1_j2wa8")
rotation = Quaternion(-0.131706, 0.825108, 0.214924, 0.505627)
temp = 2000.0
lux = 20000.0
sky_nits = 6000.0
night_lights = false
exposure_mult = 1500.0
exposure_min_sens = 1200.0
[sub_resource type="Resource" id="Resource_jdngv"]
script = ExtResource("1_j2wa8")
rotation = Quaternion(-0.36791, 0.550002, 0.669467, 0.33757)
temp = 15000.0
lux = 3.0
sky_nits = 0.9
night_lights = true
exposure_mult = 250000.0
exposure_min_sens = 500000.0
[sub_resource type="Resource" id="Resource_1garo"]
script = ExtResource("1_j2wa8")
rotation = Quaternion(-0.352322, 0.629637, 0.574937, 0.385842)
temp = 5500.0
lux = 100000.0
sky_nits = 30000.0
night_lights = false
exposure_mult = 350.0
exposure_min_sens = 280.0
[resource]
script = ExtResource("1_whetd")
dusk = SubResource("Resource_kk6fo")
noon = SubResource("Resource_1garo")
afternoon = SubResource("Resource_wmn5y")
night = SubResource("Resource_jdngv")

View file

@ -0,0 +1,4 @@
We use "filmic" color temps and sun angles (except for noon), since the level is surrounded by tall buildings and realistic sun angles would leave all of the level in shadow. Luminosity values are still reference though.
For night time, we start from a reference of dim residential area streetlights at 3000 lumens and futz good looking luminosities from the other lights in the scene. So night light values aren't fully reference, but they should still be roughly realistic.
For moonlight as well, we use non-realistic "filmic" luminosity values in addition to the "filmic" color temp... reference values for night time are 0.3 lux for the moon with a 4000k temp, and 0.09 nits for the sky. It goes much lower than that when it isn't a full moon, or if it's a cloudy night.
Godot can handle those values just fine... it's just that they don't look very good.

View file

@ -0,0 +1,46 @@
[gd_resource type="Resource" script_class="ScalabilitySettings" load_steps=6 format=3 uid="uid://cn0mwoakbtfhb"]
[ext_resource type="Script" path="res://Scripts/Settings.gd" id="1_6ypcq"]
[ext_resource type="Script" path="res://Scripts/ScalabilitySettings.gd" id="1_fleix"]
[sub_resource type="Resource" id="Resource_1wfjf"]
script = ExtResource("1_6ypcq")
sun_angle = 0.5
ssr = true
ssao = false
ssil = true
sdfgi = true
night_shadows = true
msaa = 0
fxaa = 0
scaling = 0
[sub_resource type="Resource" id="Resource_qtm60"]
script = ExtResource("1_6ypcq")
sun_angle = 0.0
ssr = false
ssao = true
ssil = false
sdfgi = false
night_shadows = false
msaa = 0
fxaa = 0
scaling = 0
[sub_resource type="Resource" id="Resource_sovee"]
script = ExtResource("1_6ypcq")
sun_angle = 0.0
ssr = false
ssao = true
ssil = false
sdfgi = true
night_shadows = false
msaa = 0
fxaa = 0
scaling = 0
[resource]
script = ExtResource("1_fleix")
low = SubResource("Resource_qtm60")
normal = SubResource("Resource_sovee")
high = SubResource("Resource_1wfjf")

View file

@ -0,0 +1,40 @@
[gd_resource type="Environment" load_steps=3 format=3 uid="uid://bevtu3gehmb2j"]
[ext_resource type="Material" uid="uid://kgrcufewquxd" path="res://Materials/SkyMaterial.tres" id="1_nc131"]
[sub_resource type="Sky" id="Sky_u3ie7"]
sky_material = ExtResource("1_nc131")
[resource]
background_mode = 2
background_intensity = 22500.0
sky = SubResource("Sky_u3ie7")
tonemap_mode = 3
tonemap_white = 6.0
ssr_enabled = true
ssr_max_steps = 128
ssr_fade_in = 0.05
ssr_fade_out = 1.5
ssao_radius = 1.2
ssao_intensity = 2.3
ssao_horizon = 0.0
ssao_sharpness = 1.0
ssil_enabled = true
ssil_radius = 2.3
ssil_intensity = 1.1
ssil_sharpness = 1.0
sdfgi_enabled = true
sdfgi_bounce_feedback = 1.0
sdfgi_y_scale = 0
glow_enabled = true
glow_levels/1 = 1.0
glow_levels/2 = 1.0
glow_levels/4 = 1.0
glow_levels/6 = 1.0
glow_levels/7 = 1.0
glow_intensity = 1.0
glow_strength = 0.7
glow_blend_mode = 1
volumetric_fog_enabled = true
volumetric_fog_density = 0.0
adjustment_saturation = 1.17