Bevel & Emboss

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Raises the input graphics into a lit relief, with highlights on the slopes facing the light and shadows on those facing away.

Interface

Inputs

ParameterDetailsPossible Types
Content

The content to raise.

Primary Input

Color[]
Color
Generator[]
Generator
Gradient[]
Gradient
Graphic[]
Graphic
Raster[]
Raster
String[]
String
Vector[]
Vector
Style

Where the slope lies: inside the edge, outside it, across it, or across it with the edge pressed in.

Default: InnerBevel

BevelStyle[]
BevelStyle
Technique

Whether the slope is rounded like a blur, or straight and following the content's details.

Default: Smooth

BevelTechnique[]
BevelTechnique
Depth

How steep the slope is.

Default: 100%

Number[]
Number
Direction

Whether the slope rises out of the surface or sinks into it.

Default: Up

BevelDirection[]
BevelDirection
Size

How wide the slope is.

Default: 5 px

Number[]
Number
Soften

How much the shading is blurred.

Default: 0 px

Number[]
Number
Angle

The direction the light comes from.

Default: 120°

Number[]
Number
Altitude

How high above the surface the light is, from the horizon to straight overhead.

Default: 30°

Number[]
Number
Highlight Color

The highlight's color, with its opacity.

Default: #ffffffbf

Color[]
Color
Highlight Blend Mode

How the highlight mixes with the colors beneath it.

Default: BlendMode::Screen

BlendMode[]
BlendMode
Shadow Color

The shadow's color, with its opacity.

Default: #000000bf

Color[]
Color
Shadow Blend Mode

How the shadow mixes with the colors beneath it.

Default: BlendMode::Multiply

BlendMode[]
BlendMode
Texture

A graphic with lightness that sinks the surface into a relief, like a pattern pressed into it. A gradient or image without its own placement stretches across the content.

Default: TypeDefault(Graphic)

Graphic[]
Graphic
Texture Depth

How deep the texture's lightest parts sink, as a share of the slope's width, or how high they rise when negative.

Default: 100%

Number[]
Number
Slope Range

How much of the slope the slope contour spans: down from the top of an inner bevel, or up from the foot of an outer one. An emboss's always spans its whole slope. At 100%, a straight one leaves the slope as it is.

Default: 100%

Number[]
Number
Gloss Antialiased

Samples the gloss contour across each pixel, smoothing its steep parts.

Default: false

Bool[]
Bool
Slope Antialiased

Samples the slope contour across each pixel, smoothing its steep parts.

Default: false

Bool[]
Bool
Gloss Contour

Reshapes how lit the slope is, from where it faces away from the light to where it faces it, for glossy or metallic sheens.

Default: TransferCurve([DVec2(0.0, 0.0), DVec2(1.0, 1.0)])

TransferCurve[]
TransferCurve
Slope Contour

Reshapes the slope's profile, for ridges, grooves, and rounded or stepped edges.

Default: TransferCurve([DVec2(0.0, 0.0), DVec2(1.0, 1.0)])

TransferCurve[]
TransferCurve

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Graphic
Graphic[]
Vector
Vector[]
Raster
Raster[]
Color
Color[]
Gradient
Gradient[]
String
String[]
Generator
Generator[]