Template:KV RenderFields: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (...and of course ''Dont Render''.)
(This is what the tests has shown. Prove me wrong. (Also linked to article.))
Line 4: Line 4:
: <choices> Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.
: <choices> Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.
:{|
:{|
! Literal Value || Render Mode || Description
! Literal Value || Render Mode || [[Render Modes|Description (Click for more info.)]]
|-
|-
| 0 || Normal || Default rendering
| 0 || Normal || Default rendering.
|-
|-
| 1 || Color || Plain color
| 1 || Color || Obsolete.
|-
|-
| 2 || Texture || Transparency (for things like glass) (''0'' = 100% transparency)
| 2 || Texture || Plain opacity.
|-
|-
| 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 [[alphatest]] capabilities in materials instead.
| 4 || Solid / Alphatest || Obsolete. (Use [[Render Modes#Solid|alphatest]] capabilities in materials instead.)
|-
|-
| 5 || Additive || Add this entity's color to what's behind it.
| 5 || Additive || Obsolete. Add this entity's color to what's behind it.
|-
|-
| 7 || Additive Fractional Frame || Blend between animation frames.
| 7 || Additive Fractional Frame || Obsolete? Blend between animation frames.
|-
|-
| 8 || Alpha Add (Not in FGD.) || {{todo|write description}}
| 8 || Alpha Add (Not in FGD.) || {{todo|Write description.}}
|-
|-
| 9 || World Space Glow || Glow with constant size in world.
| 9 || World Space Glow || No Z buffer checks. Fixed size ''in world''.
|-
|-
| 10 || Dont Render / None || Don't render.
| 10 || Dont Render / None || Don't render.

Revision as of 08:02, 23 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 (Click for more info.)
0 Normal Default rendering.
1 Color Obsolete.
2 Texture Plain opacity.
3 Glow No Z buffer checks. Fixed size on screen.
4 Solid / Alphatest Obsolete. (Use alphatest capabilities in materials instead.)
5 Additive Obsolete. Add this entity's color to what's behind it.
7 Additive Fractional Frame Obsolete? Blend between animation frames.
8 Alpha Add (Not in FGD.)
Todo: Write description.
9 World Space Glow No Z buffer checks. Fixed size in world.
10 Dont Render / None Don't render.
  • renderamt
<integer> FX Amount (0 - 255) - How opaque the entity will be rendered. (0 is fully transparent, while 255 is fully opaque). Will not work if the rendermode keyvalue is set to Normal or Dont Render.
  • rendercolor
<color255> FX Color - What color the entity will be rendered in (to the degree of the opacity set with renderamt).