6.9. Long Shadow

6.9.1. Overview

This GEGL-based filter simplifies creating long shadows in several visual styles.

6.9.2. Activating the Filter

This filter is found in the main menu under FiltersLight and ShadowLong Shadow….

It is available if the selected layer holds an Alpha channel (see 第 7.36 节 “Add Alpha Channel”). Otherwise, it is disabled.

6.9.3. Options

图 17.129. Long Shadow filter options

“Long Shadow” filter options

Presets, Input Type, Clipping, Blending Options, Preview, Merge filter, Split view
[注意] 注意

These options are described in 第 2 节 “Common Features”.

Style
Original file and its layers; the text layer was created via the "Layers to Image Size" function in the "Layer" menu.

Finite is the default style. Other available styles are Infinite, Fading, and Fading (fixed length).

图 17.130. Style option examples

“Style” option examples
Finite (default)
“Style” option examples
Infinite
“Style” option examples
Fading
“Style” option examples
Fading (fixed length); length = 30

Angle

Shadow angle, in degrees.

Angle = 110°
Length

Shadow length, in pixels. Only available when Style is set to Finite or Fading (fixed length).

Length = 30
Midpoint

Shadow fade midpoint. Only available when Style is set to Fading or Fading (fixed length).

Color

You can choose the color of the shadow here. Just click on the color swatch, and select a color when the color selector pops up, or use the eye-dropper to pick a color from the image.

Composition

The Output composition selects how the output of this filter will be determined. There are three choices:

  • Shadow plus image will output both the input image and the created shadow. This is the default.

  • Shadow only will output only the created shadow.

  • Shadow minus image will output the created shadow but subtracts the area hidden by the image.

图 17.131. Composition option examples

“Composition” option examples

Shadow only

“Composition” option examples

Shadow minus image