GlobalLitSimple
Jump to navigation
Jump to search
GlobalLitSimple is a Pixel shader available in all
Source games since
Dota 2.
Todo: More documentation, and which shaders? Also it's only present in Dota 2 pre-Reborn/Source 1, used in both brush and models and alot of Dota 2 textures are using them. Confirm which parameters work and which one does not.
Basics
- $basetexture <texture>
- Defines an diffuse texture.
- $surfaceprop <string>
- Links the surface to a set of physical properties.
Transparency
- $alpha <float>
- Scales the opacity of an entire material.
Important: Can result in alpha sorting issues if brush is flagged as detail or tied to an entity!
- $alphatest <boolean>
- Specifies a mask to use to determine binary opacity.
- $distancealpha <boolean> (in all games since
)
- Vector-like edge filtering.
- $translucent <boolean>
- Specifies that the material should be partially see-through.
Texture Organization
- %keywords <boolean>
- Sets a keyword filter that can be filtered in hammer for easier texture finding.
- %notooltexture <boolean>
- Hides the material from Hammer's texture browser.
Warning: Non-functional in
Hammer++.
- %tooltexture <texture>
- Used to blend texture previews in Hammer.