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:Using AddOutput this entity can be only changed from solid to nonsolid.
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
Thunder4ik (talk | contribs) m (→top: clean up, added underlinked tag) |
||
Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | |||
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Func lod}}{{CD|CFunc_LOD|file1=func_lod.cpp}} | <!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Func lod}}{{CD|CFunc_LOD|file1=func_lod.cpp}} | ||
{{this is a|e2|name=func_lod}} | {{this is a|e2|name=func_lod}} |
Revision as of 02:29, 6 January 2024

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024


![]() |
---|
CFunc_LOD |
![]() |
func_lod
is an e2 available in all Source games.
It is a 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
- Disappear Distance (DisappearDist) <integer>
- Distance at which these brushes should fade out. Acts as "Min Disappear Distance" (and +800 as max distance) in L4D and newer games.
- Min Disappear Distance (DisappearMinDist) <integer> (in all games since
)
- Distance at which these brushes should start fading out.
- Max Disappear Distance (DisappearMaxDist) <integer> (in all games since
)
- Distance at which these brushes should finish fading out.
- Solid (Solid) <choices>
- Set whether or not these brushes should collide with other entities.
- 0: Solid
- 1: Nonsolid

- 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