Browse Source

engine: increase elights limit up to 128

master
Alibek Omarov 10 months ago
parent
commit
39eec89580
  1. 2
      engine/common/protocol.h

2
engine/common/protocol.h

@ -127,7 +127,7 @@ GNU General Public License for more details. @@ -127,7 +127,7 @@ GNU General Public License for more details.
#define MAX_CUSTOM (1<<MAX_CUSTOM_BITS)// 10 bits == 1024 generic file
#define MAX_USER_MESSAGES 197 // another 58 messages reserved for engine routines
#define MAX_DLIGHTS 32 // dynamic lights (rendered per one frame)
#define MAX_ELIGHTS 64 // entity only point lights
#define MAX_ELIGHTS 128 // a1ba: increased from 64 to 128, entity only point lights
#define MAX_LIGHTSTYLES 256 // a1ba: increased from 64 to 256, protocol limit
#define MAX_RENDER_DECALS 4096 // max rendering decals per a level

Loading…
Cancel
Save