Detail textures (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Bug:Detail textures are broken in the latest HL25 builds and may not display correctly when scaled.
Important:Don't rely upon detail textures for a map to look "correct"!
Note:Detail textures are also unavailable in software mode, but that comes with a bunch of other limitations and is often disregarded.
Bug:Detail textures may not work using the native
Linux binaries. (relevant issue on GitHub)
Bug:Non-power-of-two detail textures do not display correctly when Mipmapping is enabled (broken since late 2019 NPoT update; relevant issue on GitHub). Power-of-two detail textures work fine on non-power-of-two WAD textures.
Note:Detail textures can only be used on BSP and WAD textures. To allow more detail to be added to an MDL texture, use a higher resolution canvas, as MDL textures aren't subject to AllocBlock (since they aren't lightmapped). UVs can also be realigned to use more textures, if a max-resolution 512x512 (1024x1024 in
) canvas is insufficient.
Tip:Use
Half-Life Asset Manager to enable mipmaps for such high-resolution textures, in order to greatly reduce shimmering on the textures when at a distance.
Note:Detail texture scale cannot go lower than 1, unlike Source. To reduce repetition on large surfaces, use megatextures.
SirYodaJedi (talk | contribs) No edit summary |
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
||
Line 7: | Line 7: | ||
Unlike {{Src|3.1}}, detail textures in {{gldsrc|3.1}} always use [[DecalModulate]], and are always 24-bit. | Unlike {{Src|3.1}}, detail textures in {{gldsrc|3.1}} always use [[DecalModulate]], and are always 24-bit. | ||
{{bug|Detail textures are broken in the latest HL25 builds and may not display correctly when scaled.}} | {{bug|hidetested=1|Detail textures are broken in the latest HL25 builds and may not display correctly when scaled.}} | ||
{{modernImportant|'''<big>Don't rely upon detail textures for a map to look "correct"!</big>'''<br> | {{modernImportant|'''<big>Don't rely upon detail textures for a map to look "correct"!</big>'''<br> | ||
Users whose GPUs have blocked the {{code|GL_ARB_multitexture}} extension (such as for {{pcgw|Half-Life#OpenGL_overbright_lighting|enabling overbright lighting}} on pre-25th anniversary versions of the engine) will not see detail textures.<br> | Users whose GPUs have blocked the {{code|GL_ARB_multitexture}} extension (such as for {{pcgw|Half-Life#OpenGL_overbright_lighting|enabling overbright lighting}} on pre-25th anniversary versions of the engine) will not see detail textures.<br> | ||
Additionally, users are able to disable detail textures via the {{code|r_detailtextures}} [[cvar]] or the video settings menu. | Additionally, users are able to disable detail textures via the {{code|r_detailtextures}} [[cvar]] or the video settings menu. | ||
{{note|Detail textures are also unavailable in [[software mode]], but that comes with a bunch of other limitations and is often disregarded.}} }} | {{note|Detail textures are also unavailable in [[software mode]], but that comes with a bunch of other limitations and is often disregarded.}} }} | ||
{{bug|Detail textures may not work using the native {{linux|4.1}} binaries. ([https://github.com/ValveSoftware/halflife/issues/1688 relevant issue on GitHub]) | {{bug|hidetested=1|Detail textures may not work using the native {{linux|4.1}} binaries. ([https://github.com/ValveSoftware/halflife/issues/1688 relevant issue on GitHub]) | ||
{{workaround|Use the {{win|4.1}} binaries via {{w|Proton (software)|Proton|icon=hide}} instead.}} | {{workaround|Use the {{win|4.1}} binaries via {{w|Proton (software)|Proton|icon=hide}} instead.}} | ||
}} | }} | ||
{{bug|Non-power-of-two detail textures do not display correctly when Mipmapping is enabled (broken since late 2019 NPoT update; [https://github.com/ValveSoftware/halflife/issues/3148 relevant issue on GitHub]). Power-of-two detail textures work fine on non-power-of-two WAD textures. | {{bug|hidetested=1|Non-power-of-two detail textures do not display correctly when Mipmapping is enabled (broken since late 2019 NPoT update; [https://github.com/ValveSoftware/halflife/issues/3148 relevant issue on GitHub]). Power-of-two detail textures work fine on non-power-of-two WAD textures. | ||
}} | }} | ||
{{note|Detail textures can only be used on [[BSP (GoldSrc)|BSP]] and [[WAD]] textures. To allow more detail to be added to an [[MDL (GoldSrc)|MDL]] texture, use a higher resolution canvas, as MDL textures aren't subject to AllocBlock (since they aren't lightmapped). UVs can also be realigned to use more textures, if a max-resolution 512x512 (1024x1024 in {{sven}}) canvas is insufficient.{{tip|Use {{hlam|4}} to enable mipmaps for such high-resolution textures, in order to greatly reduce shimmering on the textures when at a distance.}} }} | {{note|Detail textures can only be used on [[BSP (GoldSrc)|BSP]] and [[WAD]] textures. To allow more detail to be added to an [[MDL (GoldSrc)|MDL]] texture, use a higher resolution canvas, as MDL textures aren't subject to AllocBlock (since they aren't lightmapped). UVs can also be realigned to use more textures, if a max-resolution 512x512 (1024x1024 in {{sven}}) canvas is insufficient.{{tip|Use {{hlam|4}} to enable mipmaps for such high-resolution textures, in order to greatly reduce shimmering on the textures when at a distance.}} }} |
Latest revision as of 07:20, 20 May 2025
Detail textures in GoldSrc are textures that are overlaid on a WAD texture to increase the perceived detail of the surface, without increasing texel size (which would result in using up more AllocBlock). They are extensively used by
Day of Defeat (since version 1.2) and
Counter-Strike: Condition Zero.
Unlike Source, detail textures in GoldSrc always use DecalModulate, and are always 24-bit.


Users whose GPUs have blocked the GL_ARB_multitexture extension (such as for enabling overbright lighting on pre-25th anniversary versions of the engine) will not see detail textures.
Additionally, users are able to disable detail textures via the r_detailtextures cvar or the video settings menu.








