VERTEX BUFFER SIZE: Difference between revisions
No edit summary |
|||
Line 6: | Line 6: | ||
This happens when there are too many brushes in your camera view to be rendered and that is what causes your game to crash, bringing up the VERTEX_BUFFER_SIZE error. Try filling areas with larger brushes rather than using smaller ones, which usually just clog up the max amount of brushes the Source engine allows you to render in your camera view. This should fix VERTEX_BUFFER_SIZE and if the problem persists, then you should remove more brushes so the engine can handle it. | This happens when there are too many brushes in your camera view to be rendered and that is what causes your game to crash, bringing up the VERTEX_BUFFER_SIZE error. Try filling areas with larger brushes rather than using smaller ones, which usually just clog up the max amount of brushes the Source engine allows you to render in your camera view. This should fix VERTEX_BUFFER_SIZE and if the problem persists, then you should remove more brushes so the engine can handle it. | ||
-Mooseboi | |||
[[image:vertex_buffer_2|When | [[image:vertex_buffer_1.jpg|thumb|When compiled, game crashes because of too many brushes.]] | ||
[[image:vertex_buffer_2.jpg|thumb|When compiled, game runs fine, proving too many brushes is the cause.]] | |||
[[Category:Level_Design]] | [[Category:Level_Design]] | ||
[[Category:Modding]] | [[Category:Modding]] | ||
[[Category:Constants]] | [[Category:Constants]] |
Revision as of 03:16, 16 February 2009
Template:Wrongtitle The VERTEX_BUFFER_SIZE is the limit on the size of a single vertex buffer. Multiple buffers are rendered per scene, so this isn't a limit that you should ever encounter. If you are hitting it, you've most likely got a bug in your mod's code or content.
Resolution to VERTEX_BUFFER_SIZE
This happens when there are too many brushes in your camera view to be rendered and that is what causes your game to crash, bringing up the VERTEX_BUFFER_SIZE error. Try filling areas with larger brushes rather than using smaller ones, which usually just clog up the max amount of brushes the Source engine allows you to render in your camera view. This should fix VERTEX_BUFFER_SIZE and if the problem persists, then you should remove more brushes so the engine can handle it.
-Mooseboi