-
Notifications
You must be signed in to change notification settings - Fork 4
/
engineConfig.cfg
54 lines (44 loc) · 1.2 KB
/
engineConfig.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
core =
{
logger =
{
level = "info"
}
// Number of worker threads in thread pools. 0 means "number of logical CPUs".
threadPoolTreads = 0
}
renderer =
{
// rendering backend configuration
backend =
{
// renderer backend, for example: nfRendererD3D11, nfRendererD3D12, nfRendererVk
name = "nfRendererD3D12"
// preferred graphics card ID
card = 0
// renderer backend debugging (only for Release build, in Debug it is always enabled)
debugLevel = 0
// TODO: more backend-specific options, e.g. frame buffering depth for D3D12/Vulkan
}
debug =
{
enable = false
lights = true
meshes = false
}
}
physics =
{
// Fixed time physics step (in seconds). The lower, the better quality
fixedTimeStep = 0.02
// Maximum number of fixed time steps in single scene update.
// When delta-time exceedes (fixedTimeStep*maxSubSteps), physics simulation will be in "slow motion".
maxSubSteps = 50
// Continuous Collision Detection
ccd = true
}
resources =
{
// Path, where all game resources are located (relative to engine's root directory)
path = "nfEngineDemo/Data"
}