$moss enable

From Valve Developer Community
Revision as of 09:46, 14 January 2024 by SirYodaJedi (talk | contribs) (→‎Issues: don't use packed; it's buggy on some machines)
Jump to navigation Jump to search
English (en)Translate (Translate)
Moss shader example, for $moss_texture used xen/moss00_d.

Template:Shaderparam This shader was created during development of Xen for Black Mesa Black Mesa and is designed to simulate presence of moss on surface. Instead of using texture itself for moss, this shader takes color that most of the texture consists of and then applies color to surface according to the parameters specified in .vmt.

Warning.pngWarning: This shader was never used by developers in Black Mesa Black Mesa campaign, may be incomplete and incompatible with other shaders, use carefully.
Black Mesa Level Creation

Parameters and Effects

$moss_enable $moss_texture $moss_ref_direction $moss_angle_theta $moss_angle_phi $moss_angle_falloff $moss_scale $moss_scale_turn_on_absolute

Issues

Incompatible with new specular shader

New specular shader doesn't blending with moss shader.

See also