How Software Works: The Magic Behind Encryption, CGI, Search Engines, and Other Everyday Technologies by Spraul V. Anton

How Software Works: The Magic Behind Encryption, CGI, Search Engines, and Other Everyday Technologies by Spraul V. Anton

Author:Spraul, V. Anton [Spraul, V. Anton]
Language: eng
Format: azw3
Publisher: No Starch Press
Published: 2015-08-10T16:00:00+00:00


Shadows

Shadowing plays an important part in convincing the viewer to accept the reality of an image by giving models weight and realism. Producing shadows requires tracing beams of light; a shadow is, after all, the outline of an object between a light source and a surface. Game renderers don’t have time for full ray tracing, so they use clever shortcuts to produce convincing shadow effects.

Consider the scene outline shown in Figure 5-11. This scene will be rendered in a nighttime environment, so the lamppost on the left will cast strong shadows. To render the shadows properly, the renderer must determine which pixels visible from this viewpoint would be illuminated by the lamppost and which will be lit only by other light sources. In this example, the renderer must determine that the point labeled Scene-A is not visible from the lamppost, but Scene-B is.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.