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

Black: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(documented undocumented Black shader nobody cares about)
 
(additional info)
 
Line 1: Line 1:
{{Source topicon}} {{LanguageBar}}
{{Source topicon}} {{LanguageBar}}


{{this is a|pixel shader|name=Black|since=Alien Swarm}}{{confirm}} It is the shader used by {{mono|[[tool textures (Source)#black_cheap|tools/toolsblack_cheap]]}} and {{mono|[[tool textures (Source)#black_noportal_skybox|tools/toolsblack_noportal_skybox]]}}. It is only affected by fog, therefore it does not take any parameters.
{{this is a|pixel shader|name=Black|since=Portal 2}} It is the shader used by {{mono|[[tool textures (Source)#black_cheap|tools/toolsblack_cheap]]}} and {{mono|[[tool textures (Source)#black_noportal_skybox|tools/toolsblack_noportal_skybox]]}}. It is only affected by fog, therefore it does not take any parameters.


{{todo|{{clr}}
{{note|{{gmod|4}} has a replacement for this shader that works in older engine branches. {{clarify}} }}
* Is it actually functional ? In what games ?
{{note|While materials using it are only available in {{p2|4}} {{confirm}}, {{csgo|4}} still supports this shader.}}
* Is it used anywhere else than in {{p2|4}} ? In what games is it avalaible and what are the differences, if any ?
* Move info from the tool texture page to here.
}}

Latest revision as of 10:32, 10 June 2025

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.