Half-Life SDK/Textures: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (Fix derp) |
SirYodaJedi (talk | contribs) m (Gl max size) |
||
Line 14: | Line 14: | ||
** MDL textures can be multiples of 8, but dimensions that aren't multiples of 16 can sometimes be buggy. 8x8 textures can be used for single-color model "materials", but it's otherwise better to stick to multiples of 16. | ** MDL textures can be multiples of 8, but dimensions that aren't multiples of 16 can sometimes be buggy. 8x8 textures can be used for single-color model "materials", but it's otherwise better to stick to multiples of 16. | ||
* Textures can be a maximum resolution of 512x512 in the OpenGL renderer. | * Textures can be a maximum resolution of 512x512 in the OpenGL renderer. | ||
** The software renderer is limited to 256x256, but it is buggy and | ** The software renderer is limited to 256x256, but it is buggy and frequently is disregarded (targeting OpenGL only). | ||
** {{svencoop|4.1}} can use textures up to 1024x1024. AllocBlock has been raised from 64 to 512 to compensate. | ** {{svencoop|4.1}} can use textures up to 1024x1024. AllocBlock has been raised from 64 to 512 to compensate. | ||
** In some versions of GoldSrc, the user can set a lower {{code|gl_max_size}}, which is sometimes unintentionally set to 256. This seems to [https://github.com/ValveSoftware/halflife/issues/2459#issuecomment-507706848 be broken] in the current {{hl|4.1}} build, however. | |||
}} | }} | ||
== Getting started == | == Getting started == |
Revision as of 13:04, 21 June 2023
Todo:
![]()
Getting startedExternal links |
Return to the GoldSrc Engine WIKI home for a full list of articles.