.shader

2 claimants 1 primary 1 secondary unambiguous primary

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

999.6K
total files
396.5K
first seen 2021–2025 (39.7%)
2020
median year (half its files since)

Case variants in archive: .shader (998.7K), .Shader (760), .SHADER (154), .ShAder (1) — aggregated above.

Attribution status

This extension is attributed to shaderlab as primary by 1 authoritative claim.

Authoritative sources: ✓ Linguist ✗ Pygments · no claim ✗ Wikidata · no claim ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (2)

Languages that list .shader among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
shaderlablinguistprimary
GLSLlinguistsecondary

Disambiguation rules (2)

Linguist heuristics that decide, by content, which language a .shader file actually is.
RulePredictsKindPredicates (truncated)Measured on SWH
h/linguist/.shader/0shaderlabpredicates[{"kind": "any", "regexes": ["(?i)^[ \\t]*(?:Shader[ \\t]+\"[^\"\\r\\n]+\"|SubShader)[ \\t\\r\\n]*\\{"]}]
h/linguist/.shader/1GLSLpredicates[{"kind": "any", "regexes": ["\\A[ \\t\\r\\n]*#[ \\t]*version[ \\t]+[0-9]{3}(?:[ \\t]+(?:core|compatibility|es))?[ \\t]*(?://[^\\r\\n]*)?(?:\\r?\\n|\\z)"]}]

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
shaderlab (1) — 1 via unique-primary
Scene_Blend.shader · 21415 B · seen 34× in SWH
predicted: shaderlab via unique-primary
swh:1:cnt:0e1d66248b50ecf9234f421147102e40487c394e;origin=https://github.com/Superppig/Ghost-Doc;anchor=swh:1:rev:388457b96ab6a04246ce793e6a8ea11c83d8f3f4;path=/Assets/Shader/Scene_Blend.shader
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .shader is, request a fresh mining run.
(or open the pre-filled issue directly)