Smoothing groups: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Unicodifying, replaced: See Also → See also, [[Image: → [[File:)
Line 1: Line 1:
{{stub}}
{{stub}}
[[Image:Smoothing groups smoothing example.jpg|thumb|400px|right|The cylinder on the left is not smoothed.<br> The cylinder in the middle is smoothed with the default [[Lightmap#Scale|lightmap scale]] of 16.<br> The cylinder on the right is smoothed with a [[Lightmap#Scale|lightmap scale]] of 8.]]
[[File:Smoothing groups smoothing example.jpg|thumb|400px|right|The cylinder on the left is not smoothed.<br> The cylinder in the middle is smoothed with the default [[Lightmap#Scale|lightmap scale]] of 16.<br> The cylinder on the right is smoothed with a [[Lightmap#Scale|lightmap scale]] of 8.]]


'''Vertex Smoothing''' simply uses [[Vertex normal]]s ([[vector]]s) as if they were [http://en.wikipedia.org/wiki/Surface_normal Surface normals] to generate a kind of ''pseudo-''[http://en.wikipedia.org/wiki/Subdivision_surface subdivision surface] for the Lighting shader to work with. This is generally considered a form of [[phong materials|phong shading]], not to be confused [[$phong|phong speculars]].
'''Vertex Smoothing''' simply uses [[Vertex normal]]s ([[vector]]s) as if they were [http://en.wikipedia.org/wiki/Surface_normal Surface normals] to generate a kind of ''pseudo-''[http://en.wikipedia.org/wiki/Subdivision_surface subdivision surface] for the Lighting shader to work with. This is generally considered a form of [[phong materials|phong shading]], not to be confused [[$phong|phong speculars]].
Line 13: Line 13:
[[File:AutoSmoothing.png|thumb|600px|left|Brushes of 45 degrees or less will be auto smoothed.]]{{clr}}
[[File:AutoSmoothing.png|thumb|600px|left|Brushes of 45 degrees or less will be auto smoothed.]]{{clr}}


==See Also==
==See also==
* [[Hammer_Smoothing_Groups_Dialog|Smoothing Groups in Hammer]]
* [[Hammer_Smoothing_Groups_Dialog|Smoothing Groups in Hammer]]
* [[Model_Creation_Overview#Editing_Hard.2FSoft_Edges|Smoothing Groups in XSI]]
* [[Model_Creation_Overview#Editing_Hard.2FSoft_Edges|Smoothing Groups in XSI]]
[[Category:Modeling]][[Category:Level Design]]
[[Category:Modeling]][[Category:Level Design]]

Revision as of 00:17, 7 January 2024

Stub

This article or section is a stub. You can help by expanding it.

The cylinder on the left is not smoothed.
The cylinder in the middle is smoothed with the default lightmap scale of 16.
The cylinder on the right is smoothed with a lightmap scale of 8.

Vertex Smoothing simply uses Vertex normals (vectors) as if they were Surface normals to generate a kind of pseudo-subdivision surface for the Lighting shader to work with. This is generally considered a form of phong shading, not to be confused phong speculars.

When a number of adjacent surfaces are assigned to the same Smoothing group, the Rendering Engine will "soften" the light and shadow across each vertex or edge shared by the group. This makes the geometry seem smoother when viewed from most angles. It does not soften the profile or silhouette of the object.

Guidelines

  • Brush geometry must be manually assigned to a Smoothing Group in Hammer. Model geometry smoothing data is configured in the model editor before SMD export. {

Auto Smoothing

  • Some games, VBSP will auto smooth angles 45 degrees and under.
    Confirm:Any games other than CSGO?
Brushes of 45 degrees or less will be auto smoothed.

See also