329 lines
7.8 KiB
JSON
329 lines
7.8 KiB
JSON
{
|
|
"engine": {
|
|
"scenes": {
|
|
"start": "SourceEngine",
|
|
"matrix": { "reverseInfinite": true },
|
|
"meshes": { "interleaved": false },
|
|
"lights": { "enabled": true,
|
|
"useLightmaps": false,
|
|
"max": 48,
|
|
"shadows": {
|
|
"enabled": true,
|
|
"update": 4,
|
|
"max": 24,
|
|
"samples": 16
|
|
},
|
|
"bloom": {
|
|
"scale": 1.0,
|
|
"strength": 0.125,
|
|
"sigma": 0.8,
|
|
"samples": 5,
|
|
"threshold": 1.0
|
|
}
|
|
},
|
|
"textures": {
|
|
"max": {
|
|
"2D": 1024,
|
|
"cube": 1024,
|
|
"3D": 128
|
|
}
|
|
},
|
|
"vxgi": {
|
|
"limiter": 0.5,
|
|
"size": 128,
|
|
"dispatch": 8,
|
|
"cascades": 3,
|
|
"cascadePower": 3,
|
|
"granularity": 12,
|
|
"voxelizeScale": 1,
|
|
"occlusionFalloff": 2,
|
|
"traceStartOffsetFactor": 2.5,
|
|
"shadows": 0,
|
|
"extents": {
|
|
"min": [ -8, -4, -8 ],
|
|
"max": [ 8, 4, 8 ]
|
|
}
|
|
},
|
|
"rt": {
|
|
// "size": [ 1280, 720 ],
|
|
"filter": "nearest",
|
|
"defaultRayBounds": [ 0.5, 256.0 ],
|
|
"alphaTestOffset": 0.01,
|
|
"samples": 1,
|
|
"paths": 2,
|
|
"frameAccumulationMinimum": 0
|
|
}
|
|
},
|
|
"graph": {
|
|
"initial buffer elements": 131072
|
|
},
|
|
"ext": {
|
|
"vulkan": {
|
|
"validation": { "enabled": false,
|
|
"filters": [
|
|
"0x35d7ea98", // VUID-vkUpdateDescriptorSets-None-03047 ()
|
|
|
|
"0x4dae5635", // UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout (false positive for cubemaps)
|
|
"0x609a13b", // UNASSIGNED-CoreValidation-Shader-OutputNotConsumed (from depth-only calls)
|
|
"0x23e43bb7", // UNASSIGNED-CoreValidation-Shader-InputNotProduced (from depth-only calls)
|
|
|
|
"0x71500fba", // VUID-vkDestroyDevice-device-00378 (don't care about a clean cleanup)
|
|
"0x7d560045", // VUID-vkCmdPipelineBarrier-dstStageMask-06462 (false positive, pipeline barrier for BLAS)
|
|
|
|
"0xde55a405", // VUID-VkDescriptorImageInfo-imageLayout-00344 (bitches because )
|
|
"0x9410d614" // VUID-vkCmdDrawIndexedIndirect-None-02699 (same as above)
|
|
|
|
// "0x9cacd67a" // UNASSIGNED-CoreValidation-DrawState-QueryNotReset (false positive)
|
|
|
|
// "0xe91b58a0" // VUID-vkCmdDrawIndexed-None-02686 (?)
|
|
|
|
// "0x124ffb34", // VUID-VkImageMemoryBarrier-oldLayout-01197 (hacky bloom-shit)
|
|
// "0x8ab1932c", // VUID-VkImageViewCreateInfo-imageViewType-04973 (hacky bloom-shit)
|
|
|
|
// "0x8e1000ad", // VUID-vkCmdDrawIndexedIndirect-None-04008 (bitches without nullDescriptor)
|
|
// "0x9dd97212", // VUID-vkCmdDrawIndexedIndirect-None-02721 (bitches without nullDescriptor)
|
|
// "0x36481fcb", // VUID-vkCmdBindVertexBuffers-pBuffers-04001 (bitches without nullDescriptor)
|
|
]
|
|
},
|
|
"framebuffer": {
|
|
"msaa": 1,
|
|
// "size": 0.25
|
|
// "size": 0.50
|
|
// "size": 0.75
|
|
"size": 1
|
|
// "size": [ 640, 480, "NEAREST" ]
|
|
// "size": [ 1280, 720 ]
|
|
// "size": [ 960, 540 ]
|
|
// "size": [ 640, 480 ]
|
|
},
|
|
"gpu": 1,
|
|
"experimental": {
|
|
"batch queue submissions": true,
|
|
"rebuild on tick begin": false,
|
|
"dedicated thread": false
|
|
},
|
|
"invariant": {},
|
|
"pipelines": {
|
|
"deferred": true,
|
|
"vsync": false,
|
|
"hdr": false,
|
|
"vxgi": true,
|
|
"culling": false,
|
|
"occlusion": false,
|
|
"bloom": false,
|
|
"rt": false,
|
|
"postProcess": false,
|
|
"fsr": false
|
|
},
|
|
"formats": {
|
|
"depth": "D32_SFLOAT",
|
|
"color": "R16G16B16A16_SFLOAT", // "R32G32B32A32_SFLOAT",
|
|
"normal": "R16G16B16A16_SFLOAT",
|
|
"position": "R16G16B16A16_SFLOAT"
|
|
},
|
|
"features": [
|
|
"shaderDrawParameters",
|
|
"multiDrawIndirect",
|
|
"fillModeNonSolid",
|
|
"wideLines",
|
|
"independentBlend",
|
|
"deviceCoherentMemory",
|
|
"robustBufferAccess",
|
|
"samplerAnisotropy",
|
|
"sampleRateShading",
|
|
"nullDescriptor",
|
|
"fragmentStoresAndAtomics",
|
|
"geometryShader",
|
|
"multiViewport",
|
|
"shaderInt64",
|
|
"shaderFloat64",
|
|
"shaderSubgroupClock",
|
|
"shaderSampledImageArrayDynamicIndexing",
|
|
"shaderStorageImageArrayDynamicIndexing",
|
|
"shaderStorageImageMultisample",
|
|
// 1.2 features
|
|
"descriptorIndexing",
|
|
|
|
"shaderOutputViewportIndex",
|
|
"shaderOutputLayer",
|
|
|
|
"shaderSampledImageArrayNonUniformIndexing",
|
|
"shaderStorageImageArrayNonUniformIndexing",
|
|
"runtimeDescriptorArray",
|
|
"descriptorBindingVariableDescriptorCount",
|
|
|
|
"hostQueryReset",
|
|
"bufferDeviceAddress"
|
|
],
|
|
"extensions": {
|
|
"instance": [
|
|
"VK_KHR_get_physical_device_properties2",
|
|
"VK_KHR_get_surface_capabilities2"
|
|
],
|
|
"device": [
|
|
"VK_KHR_swapchain",
|
|
"VK_EXT_shader_viewport_index_layer",
|
|
"VK_KHR_acceleration_structure",
|
|
"VK_KHR_ray_tracing_pipeline",
|
|
"VK_KHR_buffer_device_address",
|
|
"VK_KHR_deferred_host_operations",
|
|
"VK_EXT_descriptor_indexing",
|
|
"VK_KHR_spirv_1_4",
|
|
"VK_KHR_shader_float_controls",
|
|
"VK_KHR_shader_clock",
|
|
"VK_KHR_ray_query",
|
|
"VK_AMD_shader_explicit_vertex_parameter" // "VK_KHR_fragment_shader_barycentric"
|
|
]
|
|
}
|
|
},
|
|
"opengl": {
|
|
"validation": { "enabled": false },
|
|
"framebuffer": { "size": 1, "msaa": 1 },
|
|
"experimental": {
|
|
"rebuild on tick begin": true
|
|
},
|
|
"pipelines": {
|
|
"culling": true
|
|
},
|
|
"experimental": {
|
|
"rebuild on tick begin": true
|
|
},
|
|
"invariant": {
|
|
"multithreaded recording": false
|
|
},
|
|
"formats": {
|
|
"depth": "D32_SFLOAT",
|
|
"color": "R8G8B8A8_UNORM", // "R32G32B32A32_SFLOAT",
|
|
"normal": "R16G16B16A16_SFLOAT",
|
|
"position": "R16G16B16A16_SFLOAT"
|
|
},
|
|
"features": [],
|
|
"extensions": { "instance": [], "device": [] }
|
|
},
|
|
"lua": {
|
|
"enabled": true,
|
|
"main": "/main.lua",
|
|
"modules": {
|
|
"json": "/json.lua"
|
|
}
|
|
},
|
|
"json": {
|
|
"encoding": "msgpack",
|
|
"compression": "gz"
|
|
},
|
|
"imgui": {
|
|
"enabled": false
|
|
},
|
|
"fsr": {
|
|
"enabled": true
|
|
},
|
|
"reactphysics": {
|
|
"timescale": 0.01666666666,
|
|
"interpolate": false,
|
|
"gravity": {
|
|
"mode": "universal",
|
|
"constant": 6.67408e-11
|
|
},
|
|
"debug draw": {
|
|
"enabled": false,
|
|
"line width": 8,
|
|
// "layer": "Gui",
|
|
"rate": 0.0125
|
|
}
|
|
},
|
|
"vr" : {
|
|
"enable" : false,
|
|
"manifest": "./data/openvr_manifest.json",
|
|
"swap eyes": false,
|
|
"dominant eye": 0,
|
|
"scale": 1.0
|
|
},
|
|
"ultralight": { "enabled": true, "scale": 1.5 },
|
|
"discord": { "enabled": false }
|
|
},
|
|
"audio": {
|
|
"mute": false,
|
|
"buffers": {
|
|
"size": 32768,
|
|
"count": 4
|
|
},
|
|
"volumes": {
|
|
"sfx": 0.35,
|
|
"bgm": 0.15,
|
|
"voice": 1.0
|
|
},
|
|
"streams by default": true
|
|
},
|
|
"memory pool": {
|
|
"enabled": true,
|
|
"subPools": true,
|
|
"alignment": 64,
|
|
"override": false,
|
|
"size": "512 MiB",
|
|
"pools": {
|
|
"entity": "128 MiB",
|
|
"userdata": "128 MiB",
|
|
"component": "128 MiB"
|
|
}
|
|
},
|
|
"render modes": { "gui": true, "deferred": true },
|
|
"limiters": {
|
|
"deltaTime": 5,
|
|
"framerate": "auto"
|
|
},
|
|
"threads": {
|
|
"workers" : "auto",
|
|
"frame limiter": 0 // "auto"
|
|
},
|
|
"debug": {
|
|
"framerate": {
|
|
"print": true,
|
|
"every": 2
|
|
},
|
|
"garbage collection": {
|
|
"enabled": true,
|
|
"mode": 1,
|
|
"rate": 4,
|
|
"announce": true
|
|
},
|
|
"entity": {
|
|
"delete children on destroy": false,
|
|
"delete components on destroy": false
|
|
},
|
|
"userdata": {
|
|
"auto destruct": true,
|
|
"auto validate": false
|
|
},
|
|
"loader": {
|
|
"assert": true
|
|
},
|
|
"hooks": {
|
|
"defer lazy calls": true
|
|
}
|
|
}
|
|
},
|
|
"window" : {
|
|
"terminal" : {
|
|
"ncurses" : false,
|
|
"visible" : false
|
|
},
|
|
"keyboard" : {
|
|
"repeat" : false
|
|
},
|
|
"cursor" : {
|
|
"visible" : true,
|
|
"center" : false,
|
|
"sensitivity": [ 0.75, 0.75 ],
|
|
"smoothing": [ 4, 4 ]
|
|
},
|
|
"mode" : "windowed", // fullscreen, borderless, windowed
|
|
"icon" : "./data/textures/icon.png",
|
|
// "size" : [ 1920, 1080 ],
|
|
// "size" : [ 1280, 720 ],
|
|
"size" : [ 960, 540 ],
|
|
// "size" : [ 640, 480 ],
|
|
// "size" : [ 256, 224 ],
|
|
"title" : "Grimgram",
|
|
"visible" : true
|
|
}
|
|
} |