Skip to main content

OpenGL Drop Shadow Effects

Note that the OpenGL Drop Shadow Effects are OpenGL effects and only available on platforms supporting OpenGL.

Note that the OpenGL Drop Shadow Effects are rendered twice and therefore consume performance.

GlDropShadowBitmapBrushBlend

With this effect an image can drop a shadow that is defined by the alpha channel of the image, the shadow color, the light angle, distance and shadow scale.

drawing-4-1677559909.png

Image

Here you define the image that should be displayed. The image can be selected from the list of imported images in the "Choose Item" dialog.

drawing-4-1677559931.png

Shadow Enabled

Rendering of the shadow can be enabled/disabled using this property by checking/unchecking a simple checkbox.

drawing-4-1677559950.png

Shadow Color

The color of the shadow can be entered using the input fields. Alternatively, you can click on the color field on the left, which opens the "Color Palette" Window where you can pick the desired color from a color palette.

drawing-4-1677560032.png

More Shadow Properties

drawing-4-1677560042.png
Light Angle: Angle of virtual light that creates the shadow effect.
Distance: Distance in pixels in which the shadow is cast at the given angle.
Shadow Scale: The size of the shadow in pixels.

Blur Filter

With this property the blurriness of the shadow can be defined. There are two options available:

Hardshadow which results in no blurring of the shadow at all and
SoftShadow3x3 which creates a soft blurry shadow
drawing-4-1677560055.png

GlDropShadowBitmapBrushColorBlend

The OpenGL Drop Shadow Bitmap Brush Color Blend effect adds color blending to the GlDropShadowBitmapBrushBlend effect. This means, the visible image drops a configurable shadow and additionally, a color can be defined to blend the visible image with.

drawing-4-1677560078.png

Color

This property defines the constant color for modulating all input color channels (RGBA). This means, the displayed image is blended with the color configured with this property according to the Blending options configured below.

Blending Options

To configure the color blending, several color blend options are available.
More details regarding color blending properties in CGI Studio can be found at the SolidColorBrushColorBlend effect.
Further information about blending in general are given in chapter Blending.

Drop Shadow Properties

The configurable properties for the dropped shadow are the same as for OpenGl Drop Shadow Bitmap Brush Blend effect:

  • Shadow Enabled
  • Shadow Color
  • Light Angle
  • Distance
  • Shadow Scale
  • Blur Filter

GlDropShadowTextBrushBlend

The OpenGL Drop Shadow Text Brush Blend effect renders a dropped shadow to a text. The rendered dropped shadow is shaped according to the shape of the text - colored, positioned and blurred as configured.

drawing-4-1677560095.png

Text

There is a simple text input field to input the text.

drawing-4-1677560104.png

Text Color

The color of the text can be entered using the input fields. Alternatively, you can click on the color field on the left can, which opens the "Color Palette" Window where # you can pick the desired color from a color palette.

drawing-4-1677560112.png

GlDropShadowTextBrushBlend

The configurable properties for the dropped shadow are the same as for OpenGl Drop Shadow Bitmap Brush Blend effect:

  • Shadow Enabled
  • Shadow Color
  • Light Angle
  • Distance
  • Shadow Scale
  • Blur Filter