Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > 3D

Lighting Your Imagery

Like this article? We recommend

Like this article? We recommend

Adding Light Sources

Most software offers several different kinds of lights that you can add to your scene. Some of the figures in this section are designed to make the individual light as visible as possible, and even highlight the light sources with visible glow effects. In most cases, however, a viewer won't be able to tell which kinds of lights you have used in a final rendering. You can choose types of light as a matter of convenience; after you know where you want to apply and confine your illumination, you can use whichever tool will make the light easiest for you to control.

Point (Omnidirectional) Lights

Point source lights have slightly different names and icons in different programs, but by any name these lights do the same thing: A point light simulates rays shining out from one infinitely small point in space.

Point lights are sometimes called omni or omnidirectional lights, because they emit light uniformly in all directions, like a bare light bulb or glowing star in space. The illumination and shadows aim out away from the light in all directions, as shown in Figure 2.

Figure 2 A point source emits light evenly in all directions.

In real life, you aren't likely to find any light that is uniformly omnidirectional. Most sources emit more light in some directions than others.

If you are adding point lights to your scene to simulate real light bulbs, for example, remember that most real light bulbs have an opaque metal socket that blocks light from one end, and many are mounted in some kind of a fixture or shade that limits their directionality.

Even though point lights start out as omnidirectional, you can give them a throw-pattern that is uneven, like a real light bulb, to aim more light in some directions than in other directions. You can do this is by applying a texture map to the light, or by grouping the light with 3D objects that will cast shadows. Figure 3, for example, shows a point light positioned inside a model of a lampshade; this limits the light to functioning much like a spotlight. The light is blocked by the geometry because it is set to cast shadows.

Figure 3 Shadows and other factors can limit a point light.

Spotlights

Spotlights are a basic staple of most lighting designs in computer graphics. Spotlights are a popular choice of many artists because they can be controlled conveniently to aim light at a specific target, as shown in Figure 4.

Figure 4 A spotlight can aim light at a specific target.

A spotlight simulates light radiating from a point, much like a point light. A spotlight, however, limits the illumination to light within a specified cone or beam of light only. The rotation of a spotlight can determine where the beam is aimed. You can also link a "target" to the light so that the light is always oriented toward the position of the target. You can also group a spotlight with a 3D object, such as a model flashlight or car headlight assembly, so that the beam of light will be aimed as if the light were radiating from the object. Figure 5 shows some of the popular representations of spotlights in different programs, usually displaying an outline of the cone's position and some indication of the direction in which the light is aimed.

Figure 5 Icons show how spotlights are aimed in Alias Power Animator, Electric Image, and Softimage.

Spotlights are staples of visual effects in your renderings. A spotlight has extra controls and options not found on other types of lights. Options such as projecting an image map from a light, or making a beam of light visible as if shining through fog, are often best controlled with the beam of a spotlight.

Other common spotlight parameters enable you to control the width of the cone (usually specified in degrees) to vary between a narrow beam and a broader one. The amount of softness of the cone (also called spread or falloff) allows the intensity of the light to diminish more gradually as it approaches the edge of the beam. A softer edge on a spotlight's beam will make the light's individual location less obvious and will avoid creating a harsh "circle" of projected light, as shown on the left side of Figure 6. This enables you to more subtly lighten or darken areas with a spotlight. With a very soft-edged beam, for example, you can aim a spotlight from within a room to brighten the general area around a window and curtains, or aim a spotlight with a negative brightness at the corner of a room to darken it.

Figure 6 A spotlight cone's softness can be adjusted with the spread or falloff.

Because spotlights can be aimed and controlled so conveniently, some artists rely on them to simulate light from almost any source and light most of their scenes entirely with spotlights. Even when a light needs to shine in multiple directions, such as the light from a table lamp, two or more spotlights can be positioned together and aimed in different directions. In Figure 7, the light from the lamp is created by aiming one spotlight upward and another downward. There isn't necessarily anything wrong with this, although the advantages and uses of other light types should not be overlooked out of habit.

Figure 7 Multiple spotlights can cast light in multiple directions from a source.

Directional Lights

The farther a light is from the subjects being lit, the more the illumination and shadows of the different objects in the scene will become parallel. A nearby point light lights the objects on the left side of Figure 8. Each object is lit and shadowed at a different angle, based on the object's position relative to the point light. In the middle of Figure 8, the point light has been moved a greater distance away from the subjects, and the illumination and shadows have become closer to parallel. A point source would have to be infinitely far away for the shadows to be perfectly parallel; for all practical purposes, however, a very distant light source such as the sun can cast shadows that appear parallel in an ordinary terrestrial environment. On the right side of Figure 8, a directional light has been used rather than a point light, to simulate a point light at an infinite distance.

Figure 8 A nearby point light (left) creates illumination from a greater range of angles than a distant light (right).

Directional lights are variously known as "distant," "direct," "infinite," or "sun" lights in different programs, and have different icons. A directional light sets a single vector for all its illumination and hits every object from the same angle, no matter where the object is located. All the shadows cast by a directional light are cast in the same direction and are orthogonal projections of each object's shape.

It does not matter where a directional light is located relative to the objects being lit. The only thing that matters in placing a directional light is which way it is pointed. The actual angle used by a directional light is controlled differently in different programs. Some implementations use the rotation of an icon to aim the directional light. Other types of directional lights use a vector from the icon to the target or the global origin. Some directional lights simulate the sun's angle, based on a specified date, time, and location.

Because a directional light is not as easy to aim or confine to a local area as a point light or spotlight, it is most useful as a part of your secondary or fill lighting, and not as the main light on a subject. A set of directional lights from different angles can be used together to provide fill light, even if the individual lights from each angle are very dim. Directional lights can fill very large areas with illumination that appears to be ambient or atmospheric, such as filling in daylight from the sky, providing a quick, effective alternative to global ambience.

Area Lights

A standard point or spotlight emits light from an infinitely small point in space, not simulating the size of a physical light source in real life. A point light does not have a scale in any dimension. This means that a point light, as shown on the left of Figure 9, creates crisp, hard-edged shadows, and creates a sharply defined terminator on smooth surfaces. For a more accurate simulation of real light, area lights have a definable scale, so all rays of light are not emitted from exactly the same point. The middle and right panels of Figure 9 show the results of scaling an area light to a larger size.

Figure 9 A point light (left) creates sharper illumination than a spherical area light (middle), which gets even softer when scaled to a larger size (right).

If an area light is scaled very small, its illumination will appear similar to a point light. A larger area light, as shown on the right in Figure 9, will make the light appear softer, creating softer shadows and creating illumination that can "wrap around" nearby subjects.

The quality of light and shadows achievable with area lights can make them an excellent choice for some realistic renderings. Because they can add to your rendering time, however, some people find that on a specific system area lights can be more useful when rendering the occasional high-quality still image than in longer animation projects where many frames need to be rendered quickly.

Area lights are implemented differently in different programs. In some programs, area lights are listed as a separate type of light, as a separate choice from spotlights, point lights, and other types previously described. In other programs, the property of functioning as area light is an option available on existing spotlights or point lights. Having a spotlight with the option of lighting from an area provides the benefit of being able to conveniently aim an area light with a spotlight's cone.

Spherical Area Lights

The area light in Figure 9 is scalable in all three dimensions. This is sometimes called a spherical light, because it simulates light coming from a spherical region of space, similar to a glowing bulb or round light fixture. This can be especially useful for lighting anything that appears very close to a large light source. A spherical light can be uniformly omnidirectional, so the rotation of the light has no effect on your output. A spherical light can be used to replace a point light, when the illumination needs to appear more diffused or you want your light to cast soft-edged shadows.

Flat Area Lights

Area lights are commonly available in flat shapes such as discs and rectangles. A light emitted from a two-dimensional area can use less rendering time than light emitted from a three-dimensional area, although the number of samples may be adjustable with either approach. A rectangular area light, as shown in Figure 10, is similar to an illuminated ceiling panel, a plane scalable in width and height, that illuminates objects with a naturally soft, diffused light. In addition to simulating light from ceiling panels, other common uses for flat area lights are simulating the reflected illumination from brightly lit walls and ceilings and providing a soft, realistic light source for portraits or still-life renderings.

Figure 10 A rectangular area light resembles a panel of soft light.

Aiming or rotating a flat area light changes your results, because light coming from the edge of the flat area light is more likely to create sharper shadows and be dimmer; light from the face of the light, on the other hand, will be brighter and more diffuse.

Linear Lights

A linear light is a type of area light that is similar to a fluorescent tube and can be scaled in only one dimension. Giving it a length can soften the shadows and extend its illumination in one direction. Figure 11 shows a linear light illuminating a scene. Notice how the aiming of the linear light affects the output: The shadows of the objects along the length of the light are very soft, but shadows from the end of the light are more focused.

Figure 11 A linear light emits softer light along I length than from its ends.

You can use linear lights to simulate light from fluorescent tubes, laser blasts, or any other sources that appear to be lines of light. Even when a line shape is not specifically needed, linear lights (rather than flat or spherical area lights) are sometimes used for general soft lighting in a scene because they do not add as much to your rendering time as the other types. A linear light can produce an appearance very similar to a flat or spherical area light, but can render more quickly because it needs to be sampled only along one axis rather than two or three.

Models Serving as Lights

In some programs, a 3D model in your scene can be designated to function as a sort of area light source. With this feature, even nontraditional shapes of light, such as a neon sign, can be used as true light sources, as shown in Figure 12. In most programs, however, effects such as neon signs are usually faked by rendering a bright-looking object and also by positioning some other kind of light near the sign to illuminate the surrounding area.

Figure 12 Your own model can provide a custom light shape.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020