Files
SDL3CPlusPlus/config/vita_cube_runtime.json
johndoe6345789 172aa1a551 Refactor shader handling: Remove Lua shader variant script and update shader path loading
- 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.
2026-01-07 01:56:06 +00:00

105 lines
2.3 KiB
JSON

{
"launcher": {
"name": "Vita Cube Demo",
"description": "3D cube room optimized for PS Vita with analog stick controls",
"enabled": true
},
"display_width": 960,
"display_height": 544,
"lua_script": "scripts/cube_logic.lua",
"scripts_directory": "scripts",
"project_root": "../",
"shaders_directory": "shaders",
"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": [],
"vita_specific": {
"analog_stick_sensitivity": 1.2,
"gyroscope_enabled": true,
"memory_budget_mb": 48,
"gxm_ring_buffer_sizes": {
"vdm_kb": 128,
"vertex_mb": 3,
"fragment_mb": 2,
"fragment_usse_kb": 64
},
"texture_quality": "high",
"shadow_resolution": 512
},
"controls": {
"analog_sticks": {
"left": {
"movement": true,
"deadzone": 0.15,
"sensitivity": 1.5,
"invert_y": false
},
"right": {
"camera": true,
"deadzone": 0.1,
"sensitivity": 2.0,
"invert_y": true
}
},
"buttons": {
"cross": "jump",
"circle": "interact",
"triangle": "toggle_flashlight",
"square": "crouch",
"l_trigger": "previous_item",
"r_trigger": "next_item",
"start": "pause",
"select": "inventory"
},
"touch": {
"enabled": false
}
},
"gui_font": {
"use_freetype": true,
"font_path": "scripts/assets/fonts/Roboto-Regular.ttf",
"font_size": 18.0
},
"camera": {
"fov_degrees": 75,
"near_clip": 0.1,
"far_clip": 100.0,
"mouse_sensitivity": 0.002
},
"physics": {
"gravity": -9.81,
"player_speed": 5.0,
"jump_force": 8.0,
"friction": 0.8
},
"performance": {
"target_fps": 60,
"vsync": true,
"frame_skip_allowed": false,
"dynamic_lighting": true,
"shadows_enabled": true,
"particle_effects": true
}
}