This article's documentation is for anything that uses the Source engine. Click here for more information.

Tool textures (Source)

From Valve Developer Community
(Redirected from Player clip)
Jump to navigation Jump to search
English (en)Español (es)Русский (ru)Translate (Translate)

edit

Tool textures are used, mostly by the tools but sometimes by the engine, to perform special tasks. They can easily be found in Hammer by using "tools\" as a filter in the texture browser, but other tool textures may be located in different directory.

Anyone can make their very own tool texture, by utilizing available Material Map Compile Flags, such as %compilenonsolid 1, %compileDetail 1 and %compilenodraw 1 for a tool texture which is not solid, does not cut visleafs and is invisible.

A %tooltexture may also be set, which is only to be seen in Hammer's texture browser, while the $basetexture is seen in-game; however, the self made tool textures must be shipped with the map, else they might not work.

This page contains tool textures which can be found on any Source games (including description for third-party games which changes how the tool texture works or have different behavior). For third-party games specific tool textures, see third-party page.

Tip.pngTip:WiseClipped gives a tutorial on using many of the Source Tool textures shown below.
Note.pngNote:All tool textures that are assumed to be texturing an entity work exactly like ordinary textures if applied to world brushes instead. As this makes them useless for world brushes, their visibility as world brushes is irrelevant. Also, many tool textures cut VIS leaves. If you aren't texturing an entity, you should tie the brush to func_detail or func_brush for optimization.
Warning.pngWarning:Some games may have outdated or obsolete tool textures in the "Dev" folder, such as dev/dev_windowportal in Left 4 Dead series.
Note.pngNote:Next to tool textures, there are also brush entities, which can perform tasks similar to tool textures.

For example, Left 4 Dead series have Clip for both teams, Player Clip for survivors and NPC Clip for infected; however, it also has func_playerinfected_clip just for player controlled infected.

If you cannot find a tool texture fit for a task, perhaps the game you're mapping for has a brush entity for that.

General

General — Common

These tool textures are available in every Source engine game.
Some of these textures have special function in some games. These special functions are noted by having the game's icon listed in the description (such as Counter-Strike: Source, Counter-Strike: Global Offensive, Left 4 Dead series, Portal 2, etc.).

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsblack.gif
toolsblack
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Warning.pngRisk of Confusion:This is the UnlitGeneric Tools/ToolsBlack texture, not the LightmappedGeneric Halflife/Black texture.

This texture is often used for brushes that are far away and they are dark. It cannot be lit by any type of light, but is affected by fog color.
An example of its use is in the "space" backgrounds during the G-Man monologues in Half-Life 2 Half-Life 2 or for crude buildings in the 3D Skybox.
Uses UnlitGeneric in: Half-Life 2 PortalPortal 2 Alien Swarm
Uses LightmappedGeneric in: Counter-Strike: SourceCounter-Strike: Global Offensive Left 4 Dead series
While in most games, the different shader has no impact, it might have a different function in other games. In that case, you may want to use vgui/black instead or make your own tool texture.

Toolswhite.gif
toolswhite
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
(in all games since Half-Life 2: Episode Two)
Note.pngNote:Not in Team Fortress 2 Team Fortress 2

Identical to lights/white (which is available in all Source games), but doesn't cast any light by default. Using glass surfaceprop.

Toolsblockbullets.gif
toolsblockbullets
No No Yes No Yes Yes Yes Yes
(No Marks)
Warning.pngWarning:This tool texture is actually just a solid invisible wall in every way shape and form. It does absolutely nothing useful.
See Blockbullets for info on how to actually block bullets and projectiles.

Counter-Strike: Global Offensive Use blockbullets_cs variant, which correctly stops bullets even with 1 unit thickness.

Toolsinvisible.gif
toolsinvisible
No No Yes No Yes Yes Yes No Solid to prop_physics, projectiles, players, & NPCs. Not solid to bullets.

Counter-Strike: SourceCounter-Strike: Global Offensive Team Fortress 2 Also solid to bullets.
Left 4 Dead series Smokers, Boomers and Spitters can attack you through it. Survivors stop being dragged towards smokers when touching a toolsinvisible wall.

Warning.pngRisk of Confusion: Left 4 Dead series ToolsNodraw_Noshadow uses the same tool texture in the texture browser, which also blocks LOS!
Toolsladder.gif
toolsinvisibleladder
No No Yes No Yes Yes Yes No Used for ladders in most multiplayer games except Half-Life 2: Deathmatch, either by itself, or tied to func_ladder.
Tip.pngTip:Add %CompileDetail to prevent this material from cutting visleaves (the modified VMT does not need to be shared with the compiled map).
Note.pngNote:Alternatively, it is possible to use %CompileClip (and optionally $translucent) instead of %CompileNoDraw and %CompilePassBullets, but only if tied to func_ladder.
Toolsnodraw.gif
toolsnodraw
No Yes Yes Yes Yes Yes Yes Yes
(No Marks)
Not drawn in game, seals leaks, and is skipped by VRAD. Blocks visibility if used on all surfaces of the same brush. Optimally, every face that can't be seen during normal gameplay should have this texture.
Portal Portals can be placed on it, but not in Portal 2. Use Nodraw Portalable instead if this behavior is desired.
Note.pngNote:The "glass footsteps" version of this texture in Portal 2 does not seal maps.
Todo: Insert this "glass footsteps" version into the list
Note.pngNote:While no lightmap data is generated on nodraw faces, nodraw brushes still cast shadows.
Note.pngNote:Despite common misconception, it is not necessary to use nodraw on faces that are outside the map and faces that are flush with other faces of the same entity, as these are automatically removed by VBSP. Additionally, func_detail faces which touch structural faces will be removed, but vice versa will not (faces completely obscured by func_detail should still be nodrawn).
Toolsorigin.gif
toolsorigin
N/A No No No No No No No
Obsolete-notext.pngDeprecated:Leftover from GoldSrc GoldSrc, where a brush with this texture was used to set the rotation origin of rotating entities. It is still functional in Source (overriding the entity's origin keyvalue) but no longer necessary. When placed outside of a brush entity, the compiler will fail with the error origin brushes not allowed in world.
Toolsblocklos.gif
toolsblock_los
No No No Yes No No No No Blocks the line of sight of NPCs and bots.
mat_wireframe 1/2 will reveal that, while this texture doesn't block visleaves, it draws crossing polygons, and they alone are capable of preventing the engine from rendering enveloped brushwork. This can be worked around by turning the Block LOS–textured brush into a func_brush with its Solidity keyvalue set to a solid state. (A Block LOS func_brush can still be traversed in this state.)
Toolsblocklight.gif
toolsblocklight
No Yes No No No No No No Casts shadows artificially. Only used at compile time by VRAD. Does not seal leaks. See more uses here.
Toolstrigger.gif
toolstrigger
Yes No No No No No No No Used on triggers and on func_viscluster entities.

General — Game-specific

These tool textures are only available in specific Source engine games.

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsblack.gif
toolsblack_cheap
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Portal 2 Identical to ToolsBlack, the only difference is that uses special "black" shader.
Garry's Mod has a replacement that works with older engines.
Todo: Find more about "black" shader
Toolsblack.gif
toolsblack_nofog
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Left 4 Dead series Identical to ToolsBlack, but no fog will appear in front of it. Uses the UnlitGeneric shader.

Inherits various City17 %keywords from ToolsBlack.

Toolsblack.gif
toolsblack_noportal
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Portal 2 Identical to ToolsBlack. Seems to have been intended as a non-portalable version, but this is already the case with the normal texture in the final game.
Toolsblack.gif
toolsblack_noportal_nofog
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Portal 2 Identical to ToolsBlack, but does not render fog.
Toolsblack.gif
toolsblack_noportal_skybox
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Portal 2 Identical to ToolsBlack_Cheap.
Toolsblack.gif
toolsnolight
Yes Yes Yes Yes Yes Yes Yes Yes
(Marks)
Alien Swarm Identical to ToolsBlack, but for some reason is used instead.
Toolsblockbullets.gif
toolsblockbullets2
No No No No Yes Yes Yes Yes
(No Marks)
Team Fortress 2 Identical to ToolsBlockBullets, but doesn't cut visleaves.
Toolsnodraw.gif
toolsnodraw_roof
No Yes Yes Yes Yes Yes Yes Yes
(No Marks)
Counter-Strike: Source Identical to ToolsNodraw, but with a different texture name.
Toolsnodraw.gif
toolsnodraw_wood
No Yes Yes Yes Yes Yes Yes Yes
(No Marks)
Counter-Strike: Source Identical to ToolsNodraw, but will make wood impact sounds when hit.
Toolsnodraw metal.png
toolsnodraw_metal
No Yes Yes Yes Yes Yes Yes Yes
(No Marks)
Left 4 Dead 2 Identical to ToolsNodraw but with metal surfaceprop. Does not show metal marks. You may want to use Invismetal instead.
Nodraw portalable.png
toolsnodraw_portal
No Yes Yes Yes Yes Yes Yes Yes
(No Marks)
Portal 2 Identical to ToolsNodraw, but portals can be placed on this texture.

Optimization

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsareaportal.gif
toolsareaportal
Yes No Yes No No No No No Use with areaportals (func_areaportals and func_areaportalwindows). Can be used with other brush entities, such as some triggers.
Toolshint.gif
toolshint
No No Yes No No No No No Instructs VVIS to cut visleaves along this texture, but does nothing else.
Toolsskip.gif
toolsskip
No No No No No No No No Has no effect on anything (except bomb in Counter-Strike: Source). Skip faces are removed during compile, so a brush textured with Skip won't prevent leaks.

Useful in combination with Hint tool textures (to prevent the other sides from cutting vis) and as a tool in Hammer for grouping, moving and place-holding objects.

Icon-Bug.pngBug:In Counter-Strike: Source, skip brushes act as clip brushes for the bomb.
Tip.pngTip:This can be exploited by a mapper to prevent the bomb from falling into a pit if planted too close to the edge.
  [todo tested in ?]
Toolsoccluder.gif
toolsoccluder
Yes No No No No No No No Used only for the occluding sides of func_occluder entities.

Unlike toolstrigger, toolsoccluder will correctly work when VBSP is compiled with -nodrawtriggers.

Clips

Clips — Common

These tool textures are available in every source engine game.
Some of these textures have special function in some games. These special functions are noted by having the game's icon listed in the description (such as Counter-Strike: Source, Counter-Strike: Global Offensive, Left 4 Dead series, Portal 2, etc.).

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsclip.gif
toolsclip
No No No No Yes Yes No No Solid to players and NPCs but not other objects.

Source 2013 Also solid to item pickups like ammo packs but not dropped weapons.
Counter-Strike: SourceCounter-Strike: Global Offensive Solid to dropped C4. Solid to hostages in Counter-Strike: Source.
Counter-Strike: Global OffensiveGarry's Mod Feature clip brush textures with different material types: Concrete, Dirt, Glass, Grass, Gravel, Metal, Metal Sand Barrel, Metal Grate, Metal Vehicle, Plastic, Rubber, Rubber Tire, Sand, Tile, Wood, Wood Basket, Wood Crate.

Tip.pngTip:If you need a clip of a specific material like Clip_Glass in a game that does not have these various clip materials, you can make a brush using any regular material with the property you want and then turn it into a func_brush that is always solid but not rendered.
See more about clip texture here.
Toolsnpcclip.gif
toolsnpcclip
No No No No Yes No No No Solid to NPCs only.
Counter-Strike: SourceCounter-Strike: Global Offensive Solid to bots. Not solid to hostages.
Left 4 Dead series Solid to infected only, but does not stop Smokers, Boomers and Spitters from attacking through it.
Toolsplayerclip.gif
toolsplayerclip
No No No No No Yes No No Solid to players only.

Source 2013 Also solid to item pickups like ammo packs but not dropped weapons.
Counter-Strike: SourceCounter-Strike: Global Offensive Solid to players, bots (!), and dropped C4. Solid to hostages in Counter-Strike: Source.
Left 4 Dead series Solid to the survivors only.

Toolsplayercont.gif
toolscontrolclip
Yes Yes Yes N/A Yes Yes Yes Yes
(Marks)
(removed since Source 2007) (also in Team Fortress 2)
Obsolete-notext.pngDeprecated:This texture has to be tied to an entity to gain any special abilities, but what entity is not yet confirmed. This texture, along with trigger, works on func_vehicleclip. It was removed in Source 2007, but exist in Team Fortress 2 and Source 2.
(See Player Clip above for the tool texture that restricts player movement.)

Clips — Game-Specific

These tool textures are only available in specific Source engine games.

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsgrenadeclip.png
toolsgrenadeclip
No No No No No No Solid to Grenades No Counter-Strike: Global Offensive Solid to grenades only.
Toolsdroneclip.jpg
toolsdroneclip
No No No N/A N/A No No No Counter-Strike: Global Offensive Used to prevent drones getting stuck on complex geometry.

Sky and Fog

Sky and Fog — Common

These tool textures are available in every Source engine game.
Some of these textures have special function in some games. These special functions are noted by having the game's icon listed in the description (such as Counter-Strike: Source, Counter-Strike: Global Offensive, Left 4 Dead series, Portal 2, etc.).

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Toolsfog.gif
toolsfog
Yes No Yes No Yes Yes Yes Yes
(Marks)
No effect; uses nonexistent compile flag %CompileFog.

(You can use this for func_smokevolume instead of the Trigger texture, but NOT for func_dustcloud.)

Toolsskybox.png
toolsskybox
No No Yes Yes Yes Yes Yes Yes
(No Marks)
This texture is used to make 3D skyboxes. Casts light if there is a light_environment entity in the map.
Cannot be used in the same PVS as the toolsskybox2d tool texture[Why?].
Things such as another area of a map will render on top of the skybox. An areaportal can stop this from happening, but it's generally better practice to add more scenery to cover the stuff that shouldn't be seen, reposition those things out of view, or just don't have an opening in that area.
Toolsskybox2d.gif
toolsskybox2d
No No Yes Yes Yes Yes Yes Yes
(No Marks)
(in all games since Source 2007) Used to make 2D skyboxes without displaying the 3D Skybox.
Casts light if there is a light_environment entity in the map.
Icon-Bug.pngBug:Light cast from this texture can still be blocked by 3D skybox geometry.  [todo tested in ?]

Cannot be used in the same PVS as the toolsskybox tool texture.
Toolsskyfog.gif
toolsskyfog
No Yes Yes N/A N/A Yes N/A Yes
(Marks)
The SkyFog texture does not contain any properties. There is currently no existing corresponding Shader called "skyfog". (Generates error Error: Material "toolsskyfog" uses unknown shader "SkyFog".)
Confirm:Can it be fixed to function properly if its VMT settings are changed in the Source code and recompiled?
Fogvolume.jpg
toolsfogvolume
Yes No No No No No No No (in all games since Left 4 Dead)

Used in conjunction with multiple env_fog_controllers to change fog colours and densities in a level.
Fog inside its volume will not appear to have different atributes when viewed from outside its volume, as it globally changes the appearance of all fog across the map when entered.

Sky and Fog — Game-Specific

These tool textures are only available in specific Source engine games.

There are no game specific tool textures in this section.

Miscellaneous

These are textures that have a special use, sometimes only seen in one single game.

Some of these textures are not even "real" tool textures, as they do not possess any Compile Flags, but they have some important use that no other texture available can do.

Image Filename Visible if
world brush
Casts shadows Cuts
VIS leaves
Blocks NPC LOS Solid to NPCs Solid to player(s) Solid to physics Solid to bullets Usage / Notes
Blockbomb.jpg
toolsblockbomb
No No Yes Yes Yes Yes Yes Yes Counter-Strike: Global Offensive Acts like ToolsInvisible. Possibly unimplemented.
L4d2-Climb versus.png
climb
No No No No Yes Yes Yes No Left 4 Dead series A ladder only for Infected. Not visible to Infected Players during Versus, but can be climbed on. Use Climb Versus Instead.

Could be used in areas blocked by func_playerinfected_clip where Player Infected cannot go to and should be unable to see a climbing spot, but the AI should be able to use it for hordes.

Climb alpha.png
climb_alpha
Visible to Infected No No No Yes Yes Yes No Left 4 Dead series Same as Climb Versus, with the only difference being that climb_alpha uses $alphatest, while climb_versus uses $additive.

This texture may be usable in spots where the texture is applied over a translucent material, in order to fix sorting issues, but it has so far never been used in any official campaign.

L4d2-Climb versus.png
climb_versus
Visible to Infected No No No Yes Yes Yes No Left 4 Dead series A ladder only for infected. Must be used with func_ladder; otherwise, it will be ignored by the navigation mesh editor.
Hulkwall.png
hulkwall
Visible to Infected Yes Yes Yes Yes Yes Yes Yes Left 4 Dead series This is an obsolete visual cue texture of a wall that can be broken by special infected players.
The texture itself has no special abilities other than being invisible to survivors.
This texture is since superceeded by ../effects/tankwall. But this one was not removed from the game.
See This page for further information.
Hulkwallglow.png
hulkwallglow
Visible to Infected Yes Yes Yes Yes Yes Yes Yes Left 4 Dead series This is an obsolete visual cue texture of a wall that can be broken by special infected players.
The texture itself has no special abilities other than being invisible to survivors.
This texture is since superceeded by ../effects/tankwall. But this one was not removed from the game.
See This page for further information.
L4d-effects-tankwall.png
../effects/tankwall
Visible to Infected Yes Yes Yes Yes Yes Yes Yes Left 4 Dead series This is the "new" visual cue texture of a wall that can be broken by special infected players.
The texture itself has no special abilities other than being invisible to survivors.
See This page for further information.
Toolsdotted.png
toolsdotted
Yes No Yes No Yes Yes Yes Yes
(Marks)
A face textured with this texture is rendered on top of all other brush geometry. Furthermore, a brush with Dotted on any face will not block visibility or cull any face that it touches, meaning that any area enclosed in a Dotted-textured brush will not be removed from the map in any way.
Confirm:This effect is probably just due to having $alphatest.
Toolsinvisibledisplacement.gif
toolsinvisibledisplacement
No No No No Yes Yes Yes Depends on game (only in Team Fortress 2)
Light is not blocked by this texture, except in Counter-Strike: Global Offensive.

Despite being in the Materials/Tools folder, this is not a tool texture. It has no abilities. It is simply an invisible texture used for displacement clipping, where you make an invisible displacement instead of a clip brush because making intricate clip brushes is difficult.
Team Fortress 2 Uses $decal 1 and $surfaceprop "dirt".

Toolswhite.gif
../effects/clear
Fully Translucent Depends on use Depends on use N/A Yes Yes Yes Depends on use Left 4 Dead series Basic LightmappedGeneric that has no abilities other than being invisible.

Officially used like invisibledisplacement for displacement clipping.
Has no VMT properties other than $alphatest 1.

Toolinvismetal.png
invismetal
No No Yes No Yes Yes Yes No Left 4 Dead series Invisible texture, with metal surface properties. Simmilar to how Nodraw Metal should have worked.

Creates metal sparks when shot, but bullets pass through.
Does not seal maps.

Tip.pngTip:You may want to edit the VMT to add %CompileDetail 1 to prevent it from cutting visleaves, which makes it much more useful. Alternatively, tie it to a func_detail or other entity.
Confirm:An invisimetal texture also exists in Black Mesa, although it uses a different texture. Does it work the same?
No Image
Locked
N/A N/A N/A N/A N/A N/A N/A N/A This is a special tool texture, intended to prevent VMEX from decompiling any maps using this custom tool texture. BSPSource ignores this, rendering it useless.

It does not really exist, as every user has to make their own, but it is listed here for completeness sake.

Toolswarmlight.png
toolswarmlight
Yes Yes Yes Yes Yes Yes Yes Yes Left 4 Dead series Basic UnlitGeneric texture that has no abilities.

Used with func_brush to make it non-solid and fade away when approached.
It being UnlitGeneric makes it seems as if it were glowing in a warm color, but is not listed in lights.rad, so it won't actually emit any light for VRAD to compile.
Only used in c8m2_subway behind the three windows to the right of the entrance of the end map saferoom building, to simulate glowing light in a room.

Toolswrongway.png
wrongway
Yes (in Counter-Strike: Global Offensive)
Only to Infected (in Left 4 Dead series)
No Yes No Yes Yes Yes Yes
(No Marks)
Left 4 Dead seriesCounter-Strike: Global Offensive Used to indicate the borders of the playable area.

Left 4 Dead Only visible to Infected players.
Left 4 Dead 2 No campaign uses this tool texture anymore. See L4D Level Design: Blocking the Infected Team for more info.
Counter-Strike: Global Offensive Used especially for the CS:GO/CS2 Wingman Wingman game mode. It has the same properties as WrongWay Timer.

Tip.pngTip:All Yes/No flags can be changed if applied to a func_brush.
Wrongway timer.png
wrongway_timer
Doesn't work correctly No Yes No Yes Yes Yes Yes Counter-Strike: Global Offensive Used for brushes that are temporarily blocking Terrorists during the freezetime of the CS:GO/CS2 Retakes Retakes game mode. It is only visible to players that are close to the origin of the entity that this material is applied to (e.g., func_brush), achieved with the PlayerProximity material proxy.
Warning.pngWarning:Does not work as intended on world brushes and func_details as they have no origin: In-game, the $alpha is either equal to the $alpha of the closest functioning application of this material on screen or - if there is none - the $alpha remains "stuck" at some value, no matter the proximity.