nature-sim/project.godot
Dan Baker f98773237e Implements tree visibility occlusion system.
Adds tree fading based on camera line of sight.
Trees now fade out when they obstruct the player's view,
improving visibility.

Also includes several fixes:
- Fixes tree distribution.
- Adds a see-through shader.
- Adds camera and occlusion scripts.
2025-07-01 10:32:21 +01:00

96 lines
3.2 KiB
Text

; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Nature Sim"
run/main_scene="uid://bwsugg4p50fjr"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
Debug="*res://Utilities/Debug/DebugHelper.gd"
Global="*res://Config/Globals.gd"
DebugMenu="*res://addons/debug_menu/debug_menu.tscn"
MapGeneration="*res://Utilities/MapGeneration/MapGeneration.gd"
BiomeData="*res://Utilities/BiomeGeneration/BiomeData.gd"
MapData="*res://Utilities/MapData/MapData.gd"
ColorData="*res://Utilities/ColorStorage/ColorStorage.gd"
MapPopulation="*res://Utilities/MapData/MapPopulation.gd"
MaterialManager="*res://Utilities/MaterialManager/MaterialManager.gd"
Season="*res://Utilities/Seasons/seasons.gd"
[editor_plugins]
enabled=PackedStringArray("res://addons/debug_menu/plugin.cfg", "res://addons/log/plugin.cfg")
[filesystem]
import/blender/enabled=false
[input]
move_left={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
]
}
move_right={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
]
}
move_forward={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
]
}
move_back={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
]
}
jump={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
]
}
[layer_names]
3d_physics/layer_4="TreeVisibility"
[network]
limits/debugger/max_chars_per_second=1000000
[shader_globals]
wind_direction={
"type": "vec3",
"value": Vector3(0.45, 0, -0.83)
}
wind_noise_size={
"type": "float",
"value": 2.0
}
wind_noise_speed={
"type": "float",
"value": 0.1
}
wind_strength={
"type": "float",
"value": 0.5
}
player_position={
"type": "vec3",
"value": Vector3(0, 0, 0)
}