xash3d-fwgs/ref_vk/vk_const.h

20 lines
409 B
C
Raw Normal View History

#pragma once
#define MAX_SCENE_STACK 2
#define MAX_SCENE_ENTITIES 2048
#define MAX_TEXTURES 4096
// indexed by uint8_t
#define MAX_SURFACE_LIGHTS 256
// indexed by uint8_t
#define MAX_POINT_LIGHTS 256
2021-10-20 19:35:07 +02:00
// indexed by uint8_t
#define MAX_VISIBLE_POINT_LIGHTS 63
// indexed by uint8_t
#define MAX_VISIBLE_SURFACE_LIGHTS 255
2021-10-20 19:35:07 +02:00
#define MAX_LIGHT_CLUSTERS 262144 //131072 //32768
#define LIGHT_GRID_CELL_SIZE 128