Hammer Smoothing Groups Dialog

From Valve Developer Community
Jump to navigation Jump to search
English (en)Français (fr)Русский (ru)Translate (Translate)

The Smoothing Groups dialog allows you to match sets of faces that will be lit as one smooth surface when compiled.

Face Edit Smoothing.png

About Smoothing Groups

The Source Engine can add smoother lighting to faces so the surfaces appear as one continuous surface. Smoothing Groups are sets of these faces that are defined to render smooth with one another.

To be smoothed correctly, faces must meet these restrictions:

  1. Must share a common edge.
  2. Lightmaps of the faces must be aligned to one another.
  3. The lightmap scale must be small enough that at least one lightmap luxel is small enough to fit on each face.
  4. Must be in the same Smoothing Group (or meet at a less than 45 degree angle).

Smooth

These are the Smooth Groups that the current face(s) are a member of. To add a face to a Smoothing Group, select the face, then depress the numbered button of a Smoothing Group. A face can be in multiple Smoothing Groups.

Note.pngNote:Manually selected smoothing groups will override those generated automatically by the compiler and separate the group from other faces.

Hard

Use these to pick a group of faces that will never be smoothed. Hard Groups are selected just like Smoothing Groups. For example, this can be used to make sure a ramp does not get smoothed with either of the floors it connects.

Note.pngNote:Every face that belongs to a hard group will be separated from every other face in the group. To separate groups of faces from each other (for example, two flat walls that meet at a 45 degree corner and are composed of multiple brushes each), use smoothing groups instead.

See also