mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-17 06:30:44 +01:00
19b8025fc6
1. add a way to enable only certain lights 2. add commented out code to highligh affected light clusters, culling modes, etc. 3. add affected light clusters counter when collecting lights
20 lines
417 B
C
20 lines
417 B
C
#pragma once
|
|
|
|
#include "cvardef.h"
|
|
|
|
#define CVAR_TO_BOOL( x ) ((x) && ((x)->value != 0.0f) ? true : false )
|
|
|
|
void VK_LoadCvars( void );
|
|
|
|
#define DECLARE_CVAR(X) \
|
|
X(r_lighting_modulate) \
|
|
X(cl_lightstyle_lerping) \
|
|
X(vk_rtx_bounces) \
|
|
X(vk_rtx_prev_frame_blend_factor) \
|
|
X(vk_rtx_light_begin) \
|
|
X(vk_rtx_light_end) \
|
|
|
|
#define EXTERN_CVAR(cvar) extern cvar_t *cvar;
|
|
DECLARE_CVAR(EXTERN_CVAR)
|
|
#undef EXTERN_CVAR
|