2021-02-01 20:05:04 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define MAX_SCENE_STACK 2
|
|
|
|
#define MAX_SCENE_ENTITIES 2048
|
2021-02-10 19:33:44 +01:00
|
|
|
|
2021-03-07 01:40:35 +01:00
|
|
|
#define MAX_TEXTURES 4096
|
|
|
|
|
2021-02-10 19:33:44 +01:00
|
|
|
// TODO count these properly
|
|
|
|
#define MAX_BUFFER_VERTICES (1 * 1024 * 1024)
|
|
|
|
#define MAX_BUFFER_INDICES (MAX_BUFFER_VERTICES * 3)
|
2021-03-28 22:52:25 +02:00
|
|
|
|
|
|
|
#define MAX_VISIBLE_DLIGHTS 15
|
2021-04-16 20:43:37 +02:00
|
|
|
#define MAX_VISIBLE_SURFACE_LIGHTS 31
|
|
|
|
|
2021-04-17 19:35:53 +02:00
|
|
|
#define MAX_LIGHT_CLUSTERS 32768
|
2021-04-16 20:43:37 +02:00
|
|
|
#define LIGHT_GRID_CELL_SIZE 256
|