2021-02-03 19:06:21 +01:00
|
|
|
#include "vk_cvar.h"
|
|
|
|
#include "vk_common.h"
|
|
|
|
|
|
|
|
#define NONEXTERN_CVAR(cvar) cvar_t *cvar;
|
|
|
|
DECLARE_CVAR(NONEXTERN_CVAR)
|
|
|
|
#undef NONEXTERN_CVAR
|
|
|
|
|
2021-02-17 22:26:09 +01:00
|
|
|
static cvar_t *r_drawentities;
|
|
|
|
|
2021-02-03 19:06:21 +01:00
|
|
|
void VK_LoadCvars( void )
|
|
|
|
{
|
|
|
|
r_lighting_modulate = gEngine.Cvar_Get( "r_lighting_modulate", "0.6", FCVAR_ARCHIVE, "lightstyles modulate scale" );
|
|
|
|
cl_lightstyle_lerping = gEngine.pfnGetCvarPointer( "cl_lightstyle_lerping", 0 );
|
2021-03-01 18:09:37 +01:00
|
|
|
r_drawentities = gEngine.pfnGetCvarPointer( "r_drawentities", 0 );
|
2021-03-15 17:44:15 +01:00
|
|
|
vk_rtx_bounces = gEngine.Cvar_Get( "vk_rtx_bounces", "2", FCVAR_ARCHIVE, "RTX path tracing ray bounces" );
|
2021-04-12 20:07:41 +02:00
|
|
|
vk_rtx_prev_frame_blend_factor = gEngine.Cvar_Get("vk_rtx_prev_frame_blend_factor", "0.1", FCVAR_ARCHIVE, "RTX path tracer ghetto temporal denoiser strength");
|
2021-10-03 22:39:54 +02:00
|
|
|
|
|
|
|
vk_rtx_light_begin = gEngine.Cvar_Get( "vk_rtx_light_begin", "0", 0, "DEBUG: disable lights with index lower than this");
|
|
|
|
vk_rtx_light_end = gEngine.Cvar_Get( "vk_rtx_light_end", "0", 0, "DEBUG: disable lights with index higher than this ");
|
2021-02-03 19:06:21 +01:00
|
|
|
}
|