Math colorblend: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
==Entity Description==
Used to create a blend between two colors for controlling the color of another entity.
Used to create a blend between two colors for controlling the color of another entity.


==Keys==
==Keyvalues==


*{{kv targetname}}
*{{kv targetname}}
Line 25: Line 26:


==Uses==
==Uses==
The following entities can accept [[color255]] inputs: [[env_sun]], [[env_lightglow]], [[env_beam]],  [[env_fog_controller]], [[env_sprite]], [[light_dynamic]], [[shadow_control]], as well as many visible entities.
The following entities can accept [[color255]] inputs: [[env_sun]], [[env_lightglow]], [[env_beam]],  [[env_fog_controller]], [[env_sprite]], [[light_dynamic]], [[shadow_control]], as well as any entity which uses rendercolor.
[[category:Entities]]
[[category:Entities]]

Revision as of 08:21, 21 September 2005

Entity Description

Used to create a blend between two colors for controlling the color of another entity.

Keyvalues

<integer> Input values below this value will be ignored.
  • inmax
<integer> Input values above this value will be ignored.
  • colormin
<color255> When the input value is equal to 'Minimum Valid Input Value', this is the output RGB color.
  • colormax
<color255> When the input value is equal to 'Maximum Valid Input Value', this is the output RGB color.

Flags

  • 1: Ignore out-of-range input values

Inputs

Outputs

Uses

The following entities can accept color255 inputs: env_sun, env_lightglow, env_beam, env_fog_controller, env_sprite, light_dynamic, shadow_control, as well as any entity which uses rendercolor.