Modulate
Jump to navigation
Jump to search
Modulate
is an shader that modulates the colors of any pixels behind it. This can be effectively used to fake various features that Source may not support, such as vertex coloring or lightmapping on models (except for prop_static in ), by creating a surface above the first one to modulate it.
Description
Accepts only a $basetexture
, and this texture will be used to modulate pixels.
Multiplies the color behind it with this surface's texture.

Todo: Test performance.