Changes wind-related shader uniforms to be global. This allows easier access and modification of these parameters from other shaders or scripts, improving the wind effect consistency across the scene.
77 lines
2.7 KiB
Text
77 lines
2.7 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]
|
|
|
|
DebugMenu="*res://addons/debug_menu/debug_menu.tscn"
|
|
MapGeneration="*res://Utilities/MapGeneration/MapGeneration.gd"
|
|
MapData="*res://Utilities/MapData/MapData.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)
|
|
]
|
|
}
|
|
|
|
[shader_globals]
|
|
|
|
wind_direction={
|
|
"type": "vec3",
|
|
"value": Vector3(5, 1, 5)
|
|
}
|
|
wind_noise_size={
|
|
"type": "float",
|
|
"value": 0.1
|
|
}
|
|
wind_noise_speed={
|
|
"type": "float",
|
|
"value": 0.2
|
|
}
|
|
wind_strength={
|
|
"type": "float",
|
|
"value": 7.0
|
|
}
|