Capítulo 542 de 859
The modifier can be used to split faces at sharp edges. This allows to compute normals without smoothing the edges which can lead to an improved visual result.
const modifier = new EdgeSplitModifier();
geometry = modifier.modify( geometry, Math.PI * 0.4 );
Constructor
| Signature |
|---|
new EdgeSplitModifier() |
Methods
| Method | Description |
|---|---|
.modify( geometry : BufferGeometry, cutOffAngle : number, tryKeepNormals : boolean ) : BufferGeometry | Returns a new, modified version of the given geometry by applying an edge-split operation. Please note that the resulting geometry is always indexed. |