Func lod: Difference between revisions
Jump to navigation
Jump to search
Note:The fading is not always consistent; brushes may suddenly "pop" into view depending on where the player is looking. This happens because of a hardware issues with rendering translucent materials. Low-end cards will fade nearer than the distance specified, and smaller objects fade nearer than a larger object with the same fade distance.
Note:The overhead required by this entity is substantial. Use it only for special effects or when fading very dense geometry, and one could then argue, shouldn't that better be a model?
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 31: | Line 31: | ||
==Outputs== | ==Outputs== | ||
* {{ | * {{O Targetname}} |
Revision as of 20:07, 19 January 2009
Template:Wrongtitle Template:Base brush
Entity Description
Brush-built model that fades out over a specified distance. Useful for creating world detail that doesn't need to be drawn far away, for performance reasons. Template:Brushmodel


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- RenderFields:
- Render Mode (rendermode) <byte choices>
- Set a non-standard rendering mode on this entity.
Render Modes
- Render FX (renderfx) <byte choices>
- Various somewhat legacy alpha effects. See render effects.
- Render Amount / Transparency (renderamt) <byte>
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <color255>
- Color tint.
- Template:KV Minlight
- DisappearDist
- <integer> Distance at which these brushes should fade out.
- Solid
- <choices> Set whether or not these brushes should collide with other entities.
Literal Value Description 0 Solid 1 Nonsolid
Inputs
- RenderFields:
- Alpha <integer 0–255>
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its
rendermode
set to a number other than0
.
- Color <color255 >
- Sets an RGB color for the entity.