$moss enable: Difference between revisions
Jump to navigation
Jump to search

Warning: This shader was never used by developers in
Black Mesa campaign, may be incomplete and incompatible with other shaders, use carefully.
SirYodaJedi (talk | contribs) (we don't all have 4K screens around here; avoid giant images) |
SirYodaJedi (talk | contribs) m (→Issues: don't use packed; it's buggy on some machines) |
||
Line 63: | Line 63: | ||
====Incompatible with new specular shader==== | ====Incompatible with new specular shader==== | ||
New specular shader doesn't blending with moss shader. | New specular shader doesn't blending with moss shader. | ||
<gallery mode= | <gallery mode=nolines heights=256px widths=384px> | ||
Black Mesa Screenshot 2024.01.14 - 11.48.45.07.png|An example. The specular should be yellow and not white. | |||
</gallery> | </gallery> | ||
Revision as of 09:46, 14 January 2024


Template:Shaderparam This shader was created during development of Xen for 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
.


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
- New Specular
- BlackMesa XenEngine: Part1 – Heavily Modified Source Engine (page from Black Mesa developer about Black Mesa engine, better known as Xenengine)