Reflection
Last updated
What is Reflection?
Reflection in game development, specifically in shaders, is a phenomena that simulates the bouncing off of light from objects similar to the way it happens in the real world. Shaders replicate this effect by emitting rays from the lighting source against the object's surface. When the ray strikes the surface, it will calculate the light’s color and angle to define how light should reflect off that surface. Reflection in shaders can further be classified into two types: Specular Reflection and Diffuse Reflection. Specular Reflection is the mirror-like reflection of light from a surface, where each incident ray is reflected with the light ray reflected at an equal but opposite angle. Diffuse Reflection, on the other hand, is the reflection of light into many directions, giving a softer effect. These reflections are quantified in computer graphics often using a reflection model such as the Phong reflection model or the Lambertian reflectance model.
Free resources to learn Reflection
More in stage 11: Computer Graphics
Reflection: common questions
Can I learn Reflection 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 Reflection 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 Reflection tutorial for beginners?
It is lesson 58 of 144 in the free Game Developer roadmap, in stage 11, Computer Graphics. 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.