DEV Community

Aloysius Chan
Aloysius Chan

Posted on • Originally published at insightginie.com

What Is Ray Tracing? The Ultimate Guide to PS5 and Xbox Series X Graphics

What Is Ray Tracing? The Ultimate Guide to PS5 and Xbox Series X Graphics

The leap from the PlayStation 4 and Xbox One era to the current generation of
consoles wasn't just about faster load times or higher frame rates; it was
about a fundamental shift in how light behaves in virtual worlds. If you have
been following the hype surrounding the PlayStation 5 and the Xbox
Series X
(formerly known as Xbox Scarlett), you have undoubtedly heard the
term "ray tracing" thrown around constantly. But what exactly is it, and why
does it matter for your gaming experience?

In this comprehensive guide, we will demystify the technology behind realistic
lighting, explore how it transforms gameplay on next-gen consoles, and analyze
whether the visual fidelity is worth the performance trade-offs.

Understanding the Basics: What Is Ray Tracing?

At its core, ray tracing is a rendering technique used to generate
photorealistic images by simulating the physical behavior of light. In
traditional rendering methods, known as rasterization, developers use "tricks"
to approximate how light interacts with objects. These tricks include pre-
baked lighting maps and screen-space reflections, which often look convincing
only from specific angles or under certain conditions.

Ray tracing changes the paradigm entirely. Instead of faking it, the computer
calculates the path of light rays as they travel from a virtual light source,
bounce off surfaces, reflect off mirrors, refract through glass, and
eventually reach the virtual camera. This process accounts for:

  • Reflections: Accurate mirror-like surfaces that show objects not currently in the camera's view.
  • Refractions: How light bends when passing through transparent materials like water or glass.
  • Shadows: Soft, natural shadows that change based on the light source's size and distance.
  • Global Illumination: How light bounces off colored surfaces to tint nearby objects (e.g., a red wall casting a reddish hue on a white floor).

By mimicking real-world physics, ray tracing eliminates the uncanny valley
often found in video game graphics, creating scenes that are nearly
indistinguishable from reality.

The Hardware Revolution: Why PS5 and Xbox Series X?

For years, ray tracing was the holy grail of computer graphics, but it was too
computationally expensive for real-time applications like video games.
Rendering a single frame with full ray tracing could take hours on standard
hardware. The breakthrough came with the advent of dedicated hardware
accelerators.

Both the Sony PlayStation 5 and the Microsoft Xbox Series X are built
on AMD's RDNA 2 architecture. A key feature of this architecture is the
inclusion of dedicated Ray Accelerators. Unlike previous generations where the
general-purpose GPU cores had to handle everything, these dedicated units are
designed specifically to calculate the intersection of rays and geometry.

This specialization allows the consoles to handle the immense mathematical
workload of ray tracing while maintaining playable frame rates. Without this
specific hardware integration found in the PS5 and Xbox Series X, real-time
ray tracing at 4K resolutions would remain impossible for consumer consoles.

Ray Tracing in Action: Visual Transformations

So, what does this look like when you are actually playing a game? The
difference between rasterized lighting and ray-traced lighting is often subtle
at first glance but profound upon closer inspection.

1. Hyper-Realistic Reflections

In older games, reflections on wet pavement or car windows were often static
images or low-resolution approximations that disappeared when you turned the
camera. With ray tracing on PS5 and Xbox Series X, reflections are dynamic and
accurate. In racing games like Dirt 5 or Forza Horizon 5 , you can see the
track environment reflected clearly in the car's hood and windows, even if
that part of the track isn't directly visible on the screen.

2. Natural Shadows and Occlusion

Traditional shadow mapping often results in jagged edges or shadows that don't
quite touch the object casting them (a phenomenon known as shadow acne). Ray
tracing provides soft, contact-hardening shadows that behave naturally. In
horror games like Resident Evil Village , this creates a palpable sense of
dread as shadows stretch and distort realistically as you move a light source.

3. Immersive Global Illumination

Perhaps the most impactful change is global illumination. In a dungeon
crawler, if you hold a torch near a blue crystal, the blue light should
realistically bounce onto the stone walls and your character's armor. This
color bleeding adds a layer of cohesion to the scene that pre-baked lighting
simply cannot match dynamically.

Performance vs. Fidelity: The Great Trade-Off

While ray tracing offers stunning visuals, it comes with a cost. Calculating
light paths is still incredibly demanding, even with dedicated hardware. This
has led to a divide in how developers implement the technology on the PS5 and
Xbox Series X.

Most games offering ray tracing provide two distinct modes:

  1. Fidelity Mode (Quality Mode): This mode prioritizes visual quality. It enables full ray-traced reflections, shadows, or global illumination, often targeting 30 frames per second (FPS) at 4K resolution. This is ideal for single-player, narrative-driven games where immersion is key.
  2. Performance Mode: This mode prioritizes smoothness. It may disable some ray-tracing effects or use lower resolution ray tracing to achieve 60 FPS or even 120 FPS. This is preferred for competitive multiplayer games where reaction time is critical.

It is important for gamers to understand that "ray tracing" is not a binary
switch. Developers can choose to ray trace only reflections, only shadows, or
both. Some games, like Metro Exodus Enhanced Edition , go all-out with full
path tracing, while others, like Spider-Man: Miles Morales , use it
selectively for reflections on windows and puddles to maintain high
performance.

Real-World Examples on Next-Gen Consoles

To truly appreciate the technology, one must look at the titles pushing the
boundaries:

  • Ratchet & Clank: Rift Apart (PS5): This title serves as a technical showcase, featuring ray-traced reflections on almost every surface, from robot armor to alien landscapes, running smoothly thanks to the PS5's SSD and GPU synergy.
  • Cyberpunk 2077 (PS5/Xbox Series X): Post-patch, the game utilizes ray-traced local shadows and high-resolution reflections, turning Night City into a neon-drenched masterpiece of light and dark.
  • The Medium (Xbox Series X/PS5): Famous for its dual-reality gameplay, this horror title relies heavily on ray tracing to create unsettling atmospheric lighting that reacts dynamically to the player's flashlight.

The Future of Console Lighting

As developers become more familiar with the PS5 and Xbox Series X hardware, we
can expect optimization techniques to improve. Technologies like NVIDIA's DLSS
(Deep Learning Super Sampling) have counterparts in the console world, such as
variable rate shading and advanced upscaling, which help mitigate the
performance hit of ray tracing.

Furthermore, as we move deeper into the console generation, hybrid approaches
will likely become the standard. Instead of choosing between "Fidelity" and
"Performance," future updates may offer a balanced middle ground that delivers
near-60 FPS gameplay with significant ray-tracing enhancements.

Conclusion

Ray tracing represents the most significant leap in real-time graphics since
the transition from 2D to 3D. For owners of the PlayStation 5 and Xbox
Series X
, it transforms gaming from a visual approximation of reality into
a believable, immersive experience. While the trade-off between resolution,
frame rate, and visual effects remains a consideration, the trajectory is
clear: ray tracing is not just a buzzword; it is the new standard for high-
fidelity gaming.

Whether you are marveling at the reflection of a skyscraper in a puddle or
navigating a dark corridor lit only by dynamic shadows, ray tracing ensures
that the virtual worlds we inhabit feel more alive than ever before.

Frequently Asked Questions (FAQ)

1. Do I need a special TV to see ray tracing on PS5 or Xbox Series X?

No, you do not need a specific "ray tracing TV." Any 4K TV or monitor
connected to your PS5 or Xbox Series X via an HDMI 2.1 cable (recommended for
best performance) will display ray-traced graphics. However, a TV with good
contrast ratios, such as an OLED or high-end QLED, will make the lighting
effects look significantly more impressive.

2. Does ray tracing lower the frame rate on consoles?

Generally, yes. Enabling ray tracing requires significant processing power,
which often means games target 30 FPS in "Fidelity Mode" rather than 60 FPS.
However, many games offer a "Performance Mode" that maintains 60 FPS by
reducing the complexity of the ray tracing or using upscaling techniques.

3. Can older games be updated to include ray tracing on PS5 and Xbox

Series X?

Yes, some backward-compatible games and cross-gen titles have received patches
to enable ray tracing on the new consoles. However, games designed
specifically for the PS4 or Xbox One era may not have the underlying asset
quality to support it effectively without a full next-gen upgrade.

4. Is ray tracing available on the Xbox Series S?

Yes, the Xbox Series S also features the RDNA 2 architecture with ray tracing
capabilities. However, due to its lower power output compared to the Series X
and PS5, ray-traced games on Series S often run at lower resolutions
(typically 1080p or 1440p) and may have more aggressive performance targets to
maintain smooth gameplay.

5. Will all PS5 and Xbox Series X games have ray tracing?

No. Ray tracing is a tool, not a requirement. Developers decide whether to
implement it based on the game's art style, performance goals, and development
resources. Many stylized or fast-paced competitive games may opt for higher
frame rates over realistic lighting effects.

Top comments (0)