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

Black

From Valve Developer Community
Revision as of 10:32, 10 June 2025 by Le Glaconus (talk | contribs) (additional info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

Black is a Pixel shader available in all Source Source games since Portal 2 Portal 2. It is the shader used by tools/toolsblack_cheap and tools/toolsblack_noportal_skybox. It is only affected by fog, therefore it does not take any parameters.

Note.pngNote:Garry's Mod Garry's Mod has a replacement for this shader that works in older engine branches. [Clarify]
Note.pngNote:While materials using it are only available in Portal 2 Portal 2 [confirm], Counter-Strike: Global Offensive Counter-Strike: Global Offensive still supports this shader.