mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
cb427d0839
- Clear split between static and dynamic geometry within the same buffer - Store previous frame geometry data longer - Use simpler ring buffer for allocation - Add waf unit tests for alolcator Known issues: - ray tracing still glitches a lot
20 lines
409 B
C
20 lines
409 B
C
#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
|
|
|
|
// indexed by uint8_t
|
|
#define MAX_VISIBLE_POINT_LIGHTS 63
|
|
// indexed by uint8_t
|
|
#define MAX_VISIBLE_SURFACE_LIGHTS 255
|
|
|
|
#define MAX_LIGHT_CLUSTERS 262144 //131072 //32768
|
|
#define LIGHT_GRID_CELL_SIZE 128
|