xash3d-fwgs/ref_vk/vk_const.h
Ivan 'provod' Avdeev 00518d3251 rtx: implement dynamic lights
track brush models movement and update lights grid clusters with model transform and stuff

also implement animated textures for rtx

and also increase per-cluster lights limits
2021-06-05 12:48:16 -07:00

17 lines
367 B
C

#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 255
#define MAX_VISIBLE_SURFACE_LIGHTS 255
#define MAX_LIGHT_CLUSTERS 32768
#define LIGHT_GRID_CELL_SIZE 256