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

Pt-br/Detail textures (GoldSrc)

From Valve Developer Community
Jump to: navigation, search
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article tries to comply with the alternate languages guide.

Half-Life SDK/Textures
For Para texturas detalhadas usadas no Source Source, olhe $detail

Stub

This article or section is a stub. You can help by adding to it.

Detail textures in GoldSrc 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 Day of Defeat (since version 1.2) and Counter-Strike: Condition Zero Counter-Strike: Condition Zero.

Unlike Source, detail textures in GoldSrc always use DecalModulate, and are always 24-bit.

Icon-Bug.pngErro:Detail textures are broken in the latest HL25 builds and may not display correctly when scaled.  [todo tested in?]
Icon-Important.pngImportante:Don't rely upon detail textures for a map to look "correct"!

Users whose GPUs have blocked the GL_ARB_multitexture extension (such as for Pcgw icon.png 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.

Note.pngNota:Detail textures are also unavailable in software mode, but that comes with a bunch of other limitations and is often disregarded.
Icon-Bug.pngErro:Detail textures may not work using the native Linux Linux binaries. (relevant issue on GitHub)
PlacementTip.pngGambiarra:Use the Windows Windows binaries via Wikipedia icon Proton instead.
  [todo tested in?]
Icon-Bug.pngErro: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.   [todo tested in?]
Note.pngNota: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 Sven Co-op) canvas is insufficient.
Tip.pngDica:Use Half-Life Asset Manager 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.pngNota:Detail texture scale cannot go lower than 1, unlike Source. To reduce repetition on large surfaces, use megatextures.

External links