Template:KV RenderFields: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
! Literal Value || Render Mode || Description
! Literal Value || Render Mode || Description
|-
|-
| 0 || Normal || {{todo|Write description.}}
| 0 || Normal || Default rendering
|-
|-
| 1 || Color || {{todo|Write description.}}
| 1 || Color || Plain color
|-
|-
| 2 || Texture || Transparency (for things like windows) (''0'' = 100% transparency)
| 2 || Texture || Transparency (for things like windows) (''0'' = 100% transparency)
|-
|-
| 3 || Glow || {{todo|Write description.}}
| 3 || Glow || No Z buffer checks -- Fixed size on screen
|-
|-
| 4 || Solid (Obsolete) || Texture masked transparency (for things like grates) (''255'' = 100% masking)
| 4 || Alphatest || (Obsolete) Use alphatest capabilities in materials instead
|-
|-
| 5 || Additive || {{todo|Write description.}}
| 5 || Additive || Add this entity's color to what's behind it
|-
|-
| 7 || Additive Fractional Frame || {{todo|Write description.}}
| 7 || Additive Fractional Frame || Blend between animation frames
|-
|-
| 9 || World Space Glow || {{todo|Write description.}}
| 8 || Alpha Add || {{todo|write description}}
|-
|-
| 10 || Dont Render || {{todo|Write description.}}
| 9 || World Space Glow || Glow with constant size in world
|-
| 10 || None || Don't render
|}
|}



Revision as of 22:18, 3 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 windows) (0 = 100% transparency)
3 Glow No Z buffer checks -- Fixed size on screen
4 Alphatest (Obsolete) Use alphatest capabilities in 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
Todo: write description
9 World Space Glow Glow with constant size in world
10 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.