Rendering related keyvalues and inputs

From Valve Developer Community
< Zh‎ | Brush entity
Revision as of 03:04, 3 September 2024 by Nescius (talk | contribs) (Created page with "{{subst:#if: CREATING TRANSLATION OF 'Brush entity/Rendering related keyvalues and inputs' to '中文' VIA Template:LanguageBar BUTTONS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

English (en)中文 (zh)Translate (Translate)
Info content.png
This page has not been fully translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.


Keyvalues

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Note.png注意:Archived page history
Icon-Important.png重要:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
Render in Fast Reflections (drawinfastreflection) <布尔值(en)> (存在于自 传送门2 以来)
If enabled, this entity will render in fast water reflections (i.e. when a water material specifies $reflectonlymarkedentities) and in the world impostor pass.

Inputs

Alpha <整数 0-255 (en)>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its Render Mode (rendermode) set to a number other than 0.
AlternativeSorting <布尔值(en)>
Swaps the rendering order of the entity. Used to attempt to fix sorting problems when rendering, for example an object rendering in front of translucent materials.
Color <color255(en)>
Sets an RGB color for the entity.
EnableDraw  (存在于自 传送门2 以来)
Removes EF_NODRAW from the entity.
DisableDraw  (存在于自 传送门2 以来)
Applies EF_NODRAW to the entity. Note that this is different from rendermode 10.
EnableReceivingFlashlight  (存在于自 传送门2 以来)
Makes it so that the entity is lit by env_projectedtextures.
DisableReceivingFlashlight  (存在于自 传送门2 以来)
Prevents the entity from being lit by env_projectedtextures. The shadow made by the texture will still cast.

Reflection:

DisableDrawInFastReflection  (存在于自 传送门2 以来)
Turns off rendering of this entity in reflections when using $reflectonlymarkedentities in water material.
EnableDrawInFastReflection  (存在于自 传送门2 以来)
Turn on rendering of this entity in reflections when using $reflectonlymarkedentities in water material.

Shadow:

DisableShadow
Turn dynamic shadows off for this entity. Identical to applying  EF_NOSHADOW.
EnableShadow
Turn dynamic shadows on for this entity.
DisableReceivingFlashlight  (存在于自 传送门2 以来)
This object will not receive light or shadows from projected textures.
EnableReceivingFlashlight  (存在于自 传送门2 以来)
This object may receive light or shadows from projected textures.

See Also