mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-17 23:09:40 +01:00
00518d3251
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
17 lines
367 B
C
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
|