xash3d-fwgs/ref_vk/vk_const.h

17 lines
365 B
C
Raw Normal View History

#pragma once
#define MAX_SCENE_STACK 2
#define MAX_SCENE_ENTITIES 2048
#define MAX_TEXTURES 4096
// TODO count these properly
#define MAX_BUFFER_VERTICES (1 * 1024 * 1024)
#define MAX_BUFFER_INDICES (MAX_BUFFER_VERTICES * 3)
#define MAX_VISIBLE_DLIGHTS 15
2021-04-16 20:43:37 +02:00
#define MAX_VISIBLE_SURFACE_LIGHTS 31
#define MAX_LIGHT_CLUSTERS 32768
2021-04-16 20:43:37 +02:00
#define LIGHT_GRID_CELL_SIZE 256