tweaks to projectile script
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://cwy8iv8nlwqrc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dl780dimuvcms" path="res://scripts/realtime_day_night_cycle.gd" id="1_idjmm"]
|
||||
[ext_resource type="Texture2D" uid="uid://do0nm3sn75gc3" path="res://assets/dikhololo_night_4k.exr" id="2_xp6wm"]
|
||||
[ext_resource type="Texture2D" uid="uid://buq3n4avvlts0" path="res://assets/Textures/kloppenheim_02_puresky_4k.exr" id="2_xp6wm"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_idjmm"]
|
||||
offsets = PackedFloat32Array(0.00636943, 0.159236, 0.828025, 1)
|
||||
@@ -17,9 +17,9 @@ _data = [Vector2(5, 0), 0.0, 0.66, 0, 0, Vector2(12, 2), 0.0, 0.0, 0, 0, Vector2
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_xp6wm"]
|
||||
rayleigh_coefficient = 17.2
|
||||
rayleigh_color = Color(0.705144, 0.689027, 0.62083, 1)
|
||||
energy_multiplier = 5.0
|
||||
mie_coefficient = 0.001
|
||||
ground_color = Color(0.497458, 0.687416, 0.836211, 1)
|
||||
energy_multiplier = 3.0
|
||||
night_sky = ExtResource("2_xp6wm")
|
||||
|
||||
[sub_resource type="Sky" id="Sky_6g0ku"]
|
||||
@@ -40,16 +40,19 @@ fog_density = 0.0005
|
||||
script = ExtResource("1_idjmm")
|
||||
sun_color = SubResource("GradientTexture1D_xp6wm")
|
||||
realtime = true
|
||||
set_time = 20.0
|
||||
sun_energy_over_time = SubResource("Curve_idjmm")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_ml2st")
|
||||
|
||||
[node name="Sun" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
transform = Transform3D(1, 0, 0, 0, 1.19249e-08, 1, 0, -1, 1.19249e-08, 0, 0, 0)
|
||||
light_energy = 2.0
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Moon" type="DirectionalLight3D" parent="Sun"]
|
||||
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 0, 0)
|
||||
light_color = Color(0.5874, 0.804263, 0.89, 1)
|
||||
light_energy = 0.0
|
||||
shadow_enabled = true
|
||||
|
||||
Reference in New Issue
Block a user