This article's documentation is for the "GoldSrc" engine. Click here for more information.

AllocBlock:Full

From Valve Developer Community
(Redirected from AllocBloc:Full)
Jump to: navigation, search

Icon-broom.png
This article or section needs to be updated to include current information regarding the subject because:
  • AllocBlock is the allocation of lightmaps (64 in first-party titles, 512 in Sven Co-op).
  • AllocBlock errors are purely related to lightmap atlas generation. Lightmaps are always 16 luxels per texel, so the easiest way to use up AllocBlock is to have a lot of brushes with dense texture scales.
  • AllocBlock is why GoldSrc GoldSrc mappers use 1.0 texture scale by default.
Remember to check for any notes left by the tagger at this article's talk page.

Description

While compiling or attempting to play it, your map has exceeded the maximum lightmap size.

Solution

Reduce resolution and scale of used textures. Consider using Detail textures to increase the perceived quality of WAD textures, instead of using high-res WAD textures.

Icon-Important.pngImportant:Users whose GPUs have blocked the GL_ARB_multitexture extension (such as for Pcgw icon.png enabling overbright lighting) will not see detail textures.

Additional optimization options include:

  • Use NULL whenever a brush entity's face is completely obscured by a world brush or another entity.
  • After compiling CSG, BSP and VIS, use newbspguy newbspguy to add the TEX_SPECIAL flag to faces which should be unlit (fullbright), then recompile RAD from within NewBSPGuy.
  • For brush entities which should be unlit, use VHLT's zhlt_striprad KV to strip lightmaps from the entity after RAD is compiled.

External links