mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
[vulkan] Change shadow quanta to 128 pixels
Interestingly, this caused a reduction in memory use for some maps (but did increase marcher's again, but not as much as the bogus rounding did). The idea was to use sparse bindings to remap shadow map layers, but it turns out sparse bindings are insanely slow (beyond unusable). However, the reduction in the number of shadow map images seems to be worth it.
This commit is contained in:
parent
75ce49b1f0
commit
9ba7207e20
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@
|
|||
#include "vid_vulkan.h"
|
||||
#include "vkparse.h"
|
||||
|
||||
#define shadow_quanta 32
|
||||
#define shadow_quanta 128
|
||||
#define lnearclip 4
|
||||
#define num_cascade 4
|
||||
|
||||
|
@ -108,7 +108,7 @@ static cvar_t dynlight_size_cvar = {
|
|||
.description =
|
||||
"Effective radius of dynamic light shadow maps. Needs map reload to "
|
||||
"take effect",
|
||||
.default_value = "250",
|
||||
.default_value = "256",
|
||||
.flags = CVAR_NONE,
|
||||
.value = { .type = &cexpr_int, .value = &dynlight_size },
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue