Lighting and Shadow
Last updated
What is Lighting and Shadow?
Lighting and Shadows are paramount elements in computer graphics, significantly contributing to the visual realism of a game. They create depth and a sense of a three-dimensional space in a two-dimensional display. Lighting in game development mimics real-world light properties. It involves calculating how light interacts with different objects and surfaces based on their material characteristics and the light's intensity, direction, and color. Various algorithms, like Ray Tracing or Rasterization, are used to simulate these interactions. On the other hand, shadows are the areas unlit due to the blockage of light by an object. Producing realistic shadows involves complex computations, factoring in the light's position, the blocking object's shape and size, and the affected area's distance. Shadow Mapping and Shadow Volume are common techniques for creating shadows in game development. Special attention to these aspects can dramatically increase the perceived realism and immersion in the game environment.
Free resources to learn Lighting and Shadow
- ArticleLightning and Shadows
- ArticleThe Art of Game Lighting
- ArticleIntroduction to Lighting in 3D Games
More in stage 12: Graphics API
Lighting and Shadow: common questions
Can I learn Lighting and Shadow in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Lighting and Shadow in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Lighting and Shadow tutorial for beginners?
It is lesson 79 of 144 in the free Game Developer roadmap, in stage 12, Graphics API. If you are new to Game Developer, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.