VERC: Rendering Properties Last edited 22 years ago2002-03-04 21:11:00 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was recovered from an archive and needs to be reviewed

  1. The formatting may be incorrect as it was automatically converted to WikiCode from HTML, it needs to be revised and reformatted
  2. Some information may be out of date as it was written before Half-Life was available on Steam
  3. After the article is re-formatted and updated for Steam HL, remove this notice
  4. Please do not remove the archive notice from the bottom of the article.
  5. Some archive articles are no longer useful, or they duplicate information from other tutorials and entity guides. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Most brush-based and model-based (monsters, etc) point entities allow you to set their rendering properties. These are broken into four categories - Render FX ( renderfx ), Render Mode ( rendermode ), FX Amount ( renderamt ), and FX Color ( rendercolor ).

Render FX ( renderfx )

The Render FX control the visual behavior of the object. You have the following choices available to you:

Render Mode ( rendermode )

The Render Mode value determines how the object is displayed. There are six render modes:

Normal ( 0 )

This is the default rendering mode.

Color ( 1 )

When this is selected, the object's textured appearance will be replaced with the color specified in the FX Color field. The amount of translucency can be controlled by the FX Amount value. This is not applicable to model-based point entities (monsters, etc).

Texture ( 2 )

This mode allows you to set the translucency of an object. The level of translucency is determined by the FX Amount value.

Glow ( 3 )

In conjunction with the env_glow entity, this lets you create the lenticular halos around light effects. The value of the FX Amount determines the translucency of the halo, and the FX Color determines its color.

Solid ( 4 )

This render mode is used in conjunction with masked textures ('{FENCE' for example). A func_wall (or other entity) that uses masked textures should have this render mode set, and the FX Amount set to 255.

Additive ( 5 )

This is quite similar to the Texture render mode, except that as you are able to see successive layers of the object, they are "added" together, producing more of an opaque and brighter look.

FX Amount ( renderamt )

The FX Amount is generally used to determine the level of translucency of an object. Its value can range from 0 to 255. A value of 0 renders the object invisible, and a value of 255 will render an object solid.

FX Color ( rendercolor )

For render modes that require it (Color and Glow), the FX Color will determine the color of the rendered object.
This article was originally published on the Valve Editing Resource Collective (VERC).
TWHL only archives articles from defunct websites. For more information on TWHL's archiving efforts, please visit the TWHL Archiving Project page.

1 Comment

Commented 4 months ago2024-08-05 01:08:36 UTC Comment #106280
There's a few secret Render FX values:
18 : "Bulge Sideways (Models)"
19 : "Glowing Aura (Models)"
18 is the effect used by monster_gargantua as it explodes.
19 is the classic doom/quake glowing effect wrapping a model. It takes FX color as the colour of the glow, and FX amount as the offset between the model and the glow aura. Note that in some render modes FX amount is also used to adjust opacity and sadly you can't separate the two when using FX 19 + off-normal mode.

You must log in to post a comment. You can login or register a new account.