Drop shadow

Drop shadow
A red rectangle casting a drop shadow over a wood-like background.

In computer graphics, a drop shadow is a visual effect consisting of drawing that looks like the shadow of an object, giving the impression that the object is raised above the objects behind it. The drop shadow is often used for elements of a graphical user interface such as windows or menus, and for simple text. The text label for icons on desktops in many desktop environments has a drop shadow, as this effect effectively distinguishes the text from any colored background it may be in front of.

A simple way of drawing a drop shadow of a rectangular object is to draw a gray or black area underneath and offset from the object. In general, a drop shadow is a copy in black or gray of the object, drawn in a slightly different position. Realism may be increased by:

  1. Darkening the colors of the pixels where the shadow casts instead of making them gray. This can be done with alpha blending the shadow with the area it is cast on.
  2. Softening the edges of the shadow. This can be done by adding Gaussian blur to the shadow's alpha channel before blending.

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Shadow the Hedgehog (video game) — Shadow the Hedgehog North A …   Wikipedia

  • Drop-stitch knitting — is a knitting technique for producing open, vertical stripes in a garment. The basic idea is to knit a solid fabric, then (deliberately) drop one or more stitches (i.e., draw a loop out from the loop below it, and so on repeatedly), producing a… …   Wikipedia

  • Drop Stop — is a device designed to prevent items from falling down in between a car s front seats and center console. It was invented by Marc Newburger and Jeffrey Simon of Los Angeles.[1] Drop Stop is constructed out of black Neoprene filled with polyester …   Wikipedia

  • Shadow stock — is a stock of an already listed company which has the same or similar industry as a new listed company. Since the stock price of new listed companies mostly boost up after being listed in a stock market, shadow stocks may also boost up to cope… …   Wikipedia

  • Drop to His Death — (aka Fatal Descent)   …   Wikipedia

  • Shadow Fighter (video game) — Infobox VG |title = Shadow Fighter developer = NA.P.S. Team publisher = Gremlin Interactive release = 1994 genre = Beat em up modes = 1 2 Players platforms = Amiga Shadow Fighter is a computer game for the Commodore Amiga, developed by NA.P.S.… …   Wikipedia

  • Shadow Warrior — Infobox VG title = Shadow Warrior caption= developer = 3D Realms publisher = GT Interactive designer = Frank Maddin Jim Norwood engine = Build released = May 13, 1997 (DOS) October 1, 1997 (Mac) April 1, 2005 (Source) genre = First person shooter …   Wikipedia

  • Shadow Man (video game) — Infobox VG title = Shadow Man caption = Shadow Man North American N64 box art developer = Acclaim Studios Teesside publisher = Acclaim Entertainment, Gradiente in Brazil distributor = designer = engine = version = released = July 31, 1999 N64 PC… …   Wikipedia

  • Shadow trevally — Taxobox name = Shadow trevally image width = 240px regnum = Animalia phylum = Chordata classis = Actinopterygii ordo = Perciformes subordo = Percoidei superfamilia = Percoidea familia = Carangidae genus = Carangoides species = C. dinema binomial …   Wikipedia

  • Shadow (OS/2) — In the graphical Workplace Shell of the OS/2 operating system, a shadow is an object that represents another object.A shadow as a stand in for any other object on the desktop, such as a document, an application, a folder, a hard disk, a network… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”