Template:KV RenderFields: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Linked to explanation, and provided both alternatives until ts2do responds.)
mNo edit summary
Line 14: Line 14:
| 3 || Glow || No Z buffer checks -- Fixed size on screen.
| 3 || Glow || No Z buffer checks -- Fixed size on screen.
|-
|-
| 4 || Solid / Alphatest || (Obsolete) Use [[Wikipedia:Transparency_(graphic)#Transparent pixels|alpha channel capabilities]] in materials instead.
| 4 || Solid / Alphatest || (Obsolete) Use [[alphatest]] capabilitiesin materials instead.
|-
|-
| 5 || Additive || Add this entity's color to what's behind it.
| 5 || Additive || Add this entity's color to what's behind it.

Revision as of 08:50, 4 September 2006

Template:Kv renderfxchoices

  • rendermode
<choices> Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.
Literal Value Render Mode Description
0 Normal Default rendering
1 Color Plain color
2 Texture Transparency (for things like glass) (0 = 100% transparency)
3 Glow No Z buffer checks -- Fixed size on screen.
4 Solid / Alphatest (Obsolete) Use alphatest capabilitiesin materials instead.
5 Additive Add this entity's color to what's behind it.
7 Additive Fractional Frame Blend between animation frames.
8 Alpha Add (Not in Hammer.)
Todo: write description
9 World Space Glow Glow with constant size in world.
10 Dont Render / None Don't render.
  • renderamt
<integer> The FX amount (0 - 255) is used by the selected Render Mode.
  • rendercolor
<color255> The FX color is used by the selected Render Mode.