ArticleslgStudy

science

Self-shadowing

Self-shadowing is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Self-shadowing rather than just read about it. In short: Self-Shadowing is a computer graphics lighting effect, used in 3D rendering applications such as computer animation and video games. Self-shadowing allows non-static objects in the environment, such as game characters and interactive objects (buckets, chairs, etc.), to cast shadows on themselves and each other.

Key takeaways

  • Self-shadowing belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Self-shadowing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Self-shadowing from memory before moving on to harder problems.

Reference excerpt

Self-Shadowing is a computer graphics lighting effect, used in 3D rendering applications such as computer animation and video games. Self-shadowing allows non-static objects in the environment, such as game characters and interactive objects (buckets, chairs, etc.), to cast shadows on themselves and each other. For example, without self-shadowing, if a character puts their right arm over the left, the right arm will not cast a shadow over the left arm. If that same character places a hand over a ball, that hand will cast a shadow over the ball. One thing that needs to be specified is whether the shadow being cast is dynamic or static. A wall with a shadow on it is a static shadow. The wall is not moving and so its geometric shape is not going to move or change in the scene. A dynamic shadow is something that has its geometry changes within a scene. Self-Shadowing methods have trade-offs between quality and speed depending on the desired result. To keep speed up, some techniques rely on fast and low resolution solutions which could result in wrong looking shadows which may be out of place in a scene. Others require the CPU and GPU to calculate with algorithms the exact location and shape of a shadow with a high level of accuracy. This requires a lot of computational overhead, which older machines could not handle.

Techniques

Height Field Self-Shadowing A technique was created where a shadow on a rough surface can be calculated quickly by finding the high points along from the light source's origin and ignoring any other geometric points underneath the peaks. Imagine facing a sunrise in the mountains where the light hits a peak in front of you where you are still in the dark. The computer wouldn’t need to account for you casting a shadow or receiving light since you are below the peak in front you. “Height Field Self-Shadowing” renders self-shadows on dynamic height fields under dynamic light environments in real time.

3D Hair Self-Shadowing can be used for interactive hair animation, which is normally very difficult for computers to render due to the major increase in individual geometric shapes that hair can take. Self shadowing is a major part of a 3d application that contributes to the impression of volume. Deep shadow maps, introduced by Tom Lokovic and Eric Veach at Pixar in 2000, allow for high-quality self-shadowing in complex and volumetric primitives like hair, fur, and smoke. Unlike traditional shadow maps that store a single depth value per pixel, deep shadow maps store a visibility function (or transmittance function) representing fractional light penetration at all possible depths. This technique enables realistic light attenuation and volumetric soft shadows, and was famously used in feature films such as Monsters, Inc. to render dense hair and fur.

Shadow volume Shadow volume is one way that self-shadowing can be used in a 3D image or scene. The method basically makes a 3D object occupy an enclosed volume in a scene where a shadow is being cast. This allows the renderer, or shader, to perform an analysis on whether or not the point or pixel is inside a shadowed area. This eventually allows the program to determine how the object will be lit.

Shadow Maps 3D shadow mapping renders the scene from the light source's point of view to store a depth map, then compares each visible point in the camera view against that light-space depth to determine whether it is shadowed. Standard shadow maps are prone to false self-shadowing because samples in the camera view and light view do not align exactly; this is usually mitigated with a depth bias, but too much bias can displace the shadow boundary.

Radiosity Normal Mapping Chris Green of Valve, a video game maker, says that bump map data is derived from geometric descriptions of the object's surface but significant lighting cues due to lighting occlusion by surface details is not calculated. A common fix is to use an additional texture channel to create an ambient occlusion field. This only provides a darkening effect that is not connected to the direction of the light source on acting on the surface.

History Shadow volume was proposed by Frank Crow in 1977. The advantage of a shadow volume was that is could be used to shadow everything, including itself.

See also Shadow mapping Shadow volume Unified lighting and shadowing

References

Worked examples

Example 1 — a first encounter with Self-shadowing

Start with the simplest possible case. Write down what Self-shadowing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Self-shadowing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Self-shadowing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Self-shadowing

In research
Self-shadowing appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Self-shadowing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Self-shadowing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Shading, so understanding it makes those chapters shorter.
In everyday life
Look for Self-shadowing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Self-shadowing” →

How to study Self-shadowing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Self-shadowing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Self-shadowing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Self-shadowing in simple terms?

Self-Shadowing is a computer graphics lighting effect, used in 3D rendering applications such as computer animation and video games. Self-shadowing allows non-static objects in the environment, such as game characters and interactive objects (buckets, chairs, etc.), to cast shadows on themselves an…

Why does Self-shadowing matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Self-shadowing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Self-shadowing.

Tags

  • Shading

Keep exploring