Modulate

From Valve Developer Community
Revision as of 12:35, 5 December 2018 by Dr. Orange (talk | contribs) (stub)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

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 Team Fortress 2).

Accepts only a $basetexture, and this texture will be used to modulate pixels.

For a better explanation and usage tutorial, see the post here (halfway through the thread).

Todo: Re-write this page with a better description and explanation of usage