mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-25 06:04:57 +00:00
- Deleted the shader_variants.lua script, which contained functions for building shader parameter overrides and shader variants. - Updated ShaderScriptService to remove Lua integration for shader path loading, now relying solely on MaterialX configuration. - Simplified logging and error handling in shader path loading, ensuring clarity in the absence of shader variants.
96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"launcher": {
|
|
"name": "GUI Demo",
|
|
"description": "Interactive GUI demonstration with (Not-a-ImGui, it should be LUA DIY) widgets and controls",
|
|
"enabled": true
|
|
},
|
|
"window_width": 1024,
|
|
"window_height": 768,
|
|
"lua_script": "scripts/gui_demo.lua",
|
|
"scripts_directory": "scripts",
|
|
"project_root": "../",
|
|
"shaders_directory": "shaders",
|
|
"bgfx": {
|
|
"renderer": "vulkan"
|
|
},
|
|
"materialx": {
|
|
"enabled": true,
|
|
"parameters_enabled": true,
|
|
"document": "MaterialX/resources/Materials/Examples/StandardSurface/standard_surface_default.mtlx",
|
|
"shader_key": "default",
|
|
"material": "Default",
|
|
"library_path": "MaterialX/libraries",
|
|
"library_folders": [
|
|
"stdlib",
|
|
"pbrlib",
|
|
"lights",
|
|
"bxdf",
|
|
"cmlib",
|
|
"nprlib",
|
|
"targets"
|
|
],
|
|
"use_constant_color": false,
|
|
"constant_color": [
|
|
1.0,
|
|
1.0,
|
|
1.0
|
|
]
|
|
},
|
|
"materialx_materials": [],
|
|
"mouse_grab": {
|
|
"enabled": true,
|
|
"grab_on_click": false,
|
|
"release_on_escape": true,
|
|
"start_grabbed": false,
|
|
"hide_cursor": true,
|
|
"relative_mode": true,
|
|
"grab_mouse_button": "left",
|
|
"release_key": "escape"
|
|
},
|
|
"input_bindings": {
|
|
"move_forward": "W",
|
|
"move_back": "S",
|
|
"move_left": "A",
|
|
"move_right": "D",
|
|
"fly_up": "Q",
|
|
"fly_down": "Z",
|
|
"jump": "Space",
|
|
"noclip_toggle": "N",
|
|
"fps_toggle": "F1",
|
|
"music_toggle": "M",
|
|
"music_toggle_gamepad": "start",
|
|
"gamepad_move_x_axis": "leftx",
|
|
"gamepad_move_y_axis": "lefty",
|
|
"gamepad_look_x_axis": "rightx",
|
|
"gamepad_look_y_axis": "righty",
|
|
"gamepad_dpad_up": "dpup",
|
|
"gamepad_dpad_down": "dpdown",
|
|
"gamepad_dpad_left": "dpleft",
|
|
"gamepad_dpad_right": "dpright",
|
|
"gamepad_button_actions": {
|
|
"a": "gamepad_a",
|
|
"b": "gamepad_b",
|
|
"x": "gamepad_x",
|
|
"y": "gamepad_y",
|
|
"leftshoulder": "gamepad_lb",
|
|
"rightshoulder": "gamepad_rb",
|
|
"leftstick": "gamepad_ls",
|
|
"rightstick": "gamepad_rs",
|
|
"back": "gamepad_back",
|
|
"start": "gamepad_start"
|
|
},
|
|
"gamepad_axis_actions": {
|
|
"lefttrigger": "gamepad_lt",
|
|
"righttrigger": "gamepad_rt"
|
|
},
|
|
"gamepad_axis_action_threshold": 0.5
|
|
},
|
|
"gui_font": {
|
|
"use_freetype": true,
|
|
"font_path": "scripts/assets/fonts/Roboto-Regular.ttf",
|
|
"font_size": 18.0
|
|
},
|
|
"gui_opacity": 1.0,
|
|
"config_file": "config/gui_runtime.json"
|
|
}
|