LOD Bias: Difference between revisions
m update |
Nbohr1more (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
These settings should | These settings should '''NOT''' be used for any entities the player could interact with, like food, potions, moveables etc. They are intended for entities that provide a pure visual difference. | ||
Good examples are: vegetation, distant objects in places the player cannot reach (skyboxes, behind fences or gates, or on roof), particle emitters (f.i. have only a few chimneys smoke on low visual detail) etc. | Good examples are: vegetation, distant objects in places the player cannot reach (skyboxes, behind fences or gates, or on roof), particle emitters (f.i. have only a few chimneys smoke on low visual detail) etc. | ||
Line 24: | Line 24: | ||
: lod_hidden_skin - when set, the entity will not be hidden, but instead just switches to this skin | : lod_hidden_skin - when set, the entity will not be hidden, but instead just switches to this skin | ||
== | == func_portal == | ||
func_portal entities are special | func_portal entities are special. Instead of getting hidden or shown, they will close (or open) the visportal they touch. | ||
This can be used to | This can be used to make portals close for lower quality settings. In combination with a window with a transparent skin and ''lod_hidden_skin'' set to a solid skin, the window can thus be either opaque, or transparent, depending on quality setting. | ||
== Examples == | == Examples == | ||
Make an entity only appear when the menu setting is at least ''Normal'': | Make an entity only appear when the "Object Detail" menu setting is at least ''Normal'': | ||
"min_lod_bias" "1.0" | "min_lod_bias" "1.0" | ||
Make an entity only appear when the menu setting is at least ''High'': | Make an entity only appear when the "Object Detail" menu setting is at least ''High'': | ||
"min_lod_bias" "1.5" | "min_lod_bias" "1.5" | ||
Make an entity only appear when the menu setting is at least ''Low'': | Make an entity only appear when the "Object Detail" menu setting is at least ''Low'': | ||
"min_lod_bias" "0.75" | "min_lod_bias" "0.75" | ||
Make an entity only appear when the menu setting is ''Very low'' or ''Low'': | Make an entity only appear when the "Object Detail" menu setting is ''Very low'' or ''Low'': | ||
"min_lod_bias" "0" | "min_lod_bias" "0" |
Latest revision as of 15:40, 10 March 2015
The spawnargs min_lod_bias (default: 0.0) and max_lod_bias (default: 10.0) make entities disappear, change skin, or open/close portals when the value of cv_lod_bias (e.g. the setting "Object detail" in the menu) is either lower than min_lod_bias or higher than max_lod_bias.
The values for the menu setting are:
- 0.5 - Very low
- 0.75 - Low
- 1.0 - Normal
- 1.5 - High
- 2.0 - Higher
- 3.0 - Very high
Usage
These settings should NOT be used for any entities the player could interact with, like food, potions, moveables etc. They are intended for entities that provide a pure visual difference.
Good examples are: vegetation, distant objects in places the player cannot reach (skyboxes, behind fences or gates, or on roof), particle emitters (f.i. have only a few chimneys smoke on low visual detail) etc.
Spawnargs
- min_lod_bias
- max_lod_bias
- lod_hidden_skin - when set, the entity will not be hidden, but instead just switches to this skin
func_portal
func_portal entities are special. Instead of getting hidden or shown, they will close (or open) the visportal they touch.
This can be used to make portals close for lower quality settings. In combination with a window with a transparent skin and lod_hidden_skin set to a solid skin, the window can thus be either opaque, or transparent, depending on quality setting.
Examples
Make an entity only appear when the "Object Detail" menu setting is at least Normal:
"min_lod_bias" "1.0"
Make an entity only appear when the "Object Detail" menu setting is at least High:
"min_lod_bias" "1.5"
Make an entity only appear when the "Object Detail" menu setting is at least Low:
"min_lod_bias" "0.75"
Make an entity only appear when the "Object Detail" menu setting is Very low or Low:
"min_lod_bias" "0" "max_lod_bias" "0.75"