Ray tracing is a graphics technique that calculates the path of light rays through a scene as they hit, reflect off and pass through objects. It produces more physically accurate reflections, shadows, refraction and global lighting than traditional rasterization shortcuts.
Why it matters
Ray tracing has long been used in film because it is computationally expensive. Modern GPUs include dedicated hardware to run a limited number of rays in real time, so games can use it for selected effects such as reflections or shadows. It usually lowers FPS, so many games pair it with upscaling or lower settings to stay playable. Real-time results are often a hybrid: rasterization for most of the image and ray tracing for specific effects.
Example
For a reflection in a puddle, the renderer:
- Casts a ray from the camera to the puddle surface.
- Bounces a new ray in the mirror direction.
- Finds the object it hits, such as a neon sign, and uses its color for that pixel.
Rasterized games often fake this with a pre-made image that cannot show off-screen objects.
Common mistakes
- Turning on every ray tracing option on a GPU that cannot hold a smooth frame rate.
- Expecting the same visible gain in every scene; the effect is largest with reflective surfaces and complex lighting.
- Confusing ray tracing with HDR, which concerns brightness and color range.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.