Improved performance
This commit is contained in:
@ -1,14 +1,11 @@
|
||||
[gd_resource type="Environment" load_steps=3 format=3 uid="uid://dixa0yso2s1u3"]
|
||||
[gd_resource type="Environment" load_steps=2 format=3 uid="uid://dixa0yso2s1u3"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://chtgn5pdoof5e" path="res://world/sky/PanoramaSkyMaterial.tres" id="1_vb3or"]
|
||||
|
||||
[sub_resource type="Sky" id="Sky_2vfia"]
|
||||
sky_material = ExtResource("1_vb3or")
|
||||
[ext_resource type="Sky" uid="uid://chqkkvnsudiww" path="res://world/Sky.tres" id="1_akiwh"]
|
||||
|
||||
[resource]
|
||||
background_mode = 2
|
||||
background_color = Color(0.317647, 0.541176, 0.713726, 1)
|
||||
sky = SubResource("Sky_2vfia")
|
||||
sky = ExtResource("1_akiwh")
|
||||
ambient_light_source = 3
|
||||
ambient_light_color = Color(0.5, 0.5, 0.5, 1)
|
||||
ambient_light_sky_contribution = 0.3
|
||||
@ -16,16 +13,12 @@ ambient_light_energy = 3.0
|
||||
reflected_light_source = 2
|
||||
tonemap_mode = 2
|
||||
tonemap_white = 6.0
|
||||
ssao_enabled = true
|
||||
ssil_enabled = true
|
||||
sdfgi_use_occlusion = true
|
||||
glow_enabled = true
|
||||
glow_intensity = 0.1
|
||||
glow_strength = 1.07
|
||||
glow_bloom = 0.2
|
||||
glow_blend_mode = 1
|
||||
glow_hdr_threshold = 0.7
|
||||
volumetric_fog_enabled = true
|
||||
volumetric_fog_density = 0.005
|
||||
volumetric_fog_emission = Color(0.45098, 0.690196, 1, 1)
|
||||
adjustment_enabled = true
|
||||
|
@ -9,6 +9,9 @@ extends Node3D
|
||||
@export var position_randomness := 1.0
|
||||
|
||||
func _ready():
|
||||
if !visible:
|
||||
return
|
||||
|
||||
for x in range(-size_x, size_x, step):
|
||||
for z in range(-size_z, size_z, step):
|
||||
if noise.get_noise_2d(x, z) < 1 - density * 2:
|
||||
|
6
client/world/Sky.tres
Normal file
6
client/world/Sky.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="Sky" load_steps=2 format=3 uid="uid://chqkkvnsudiww"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://chtgn5pdoof5e" path="res://world/sky/PanoramaSkyMaterial.tres" id="1_e3kjt"]
|
||||
|
||||
[resource]
|
||||
sky_material = ExtResource("1_e3kjt")
|
5
client/world/trees/TreeNoise.tres
Normal file
5
client/world/trees/TreeNoise.tres
Normal file
@ -0,0 +1,5 @@
|
||||
[gd_resource type="FastNoiseLite" format=3 uid="uid://d3f4lk8q04haa"]
|
||||
|
||||
[resource]
|
||||
seed = 1337
|
||||
frequency = 0.05
|
Reference in New Issue
Block a user