Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Glossary:Ray tracing (RT)"

From PCGamingWiki, the wiki about fixing PC games
(Added more description to the page with details and examples)
(additional work on the text)
Line 1: Line 1:
{{stub}}
+
{{Image|RayTracingComparison.png|Comparison of Metro Exodus (no ray tracing) and its Enhanced Edition (ray tracing).<ref>{{Refurl|url=https://www.youtube.com/watch?v=sAoGwLQVSAo|title=YouTube - @Sperzink - Metro Exodus (2019) vs Metro Exodus Enhanced Edition (2021) | Graphics/Performance Comparison|date=2023-10-27}}</ref>}}
 
{{Video settings sidebar}}
 
{{Video settings sidebar}}
 
''For a list of games, see [[List of games that support ray tracing|games with ray tracing support]].''
 
''For a list of games, see [[List of games that support ray tracing|games with ray tracing support]].''
{{Image|RayTracingComparison.png|Comparison of Metro Exodus and it's Enhanced Edition on Max Settings<ref>https://youtu.be/sAoGwLQVSAo</ref>}}
 
  
'''''Ray tracing''''' is a rendering method in which light is realistically simulated to interact with the environment unlike traditional light rendering methods where light data is hand-crafted based on the expected or current scene/environment. Ray tracing in relation to video games refers to the simulating of light travel from designated light sources in the environment (Sun/Sky, Flashlight, Lamps, Fire, etc) to offer more realistic lighting which enhances the game's visuals and immersion.
+
'''Ray tracing (RT)''' is the generic name, umbrella terminology, and description used to describe various rendering methods or techniques and types in which light is realistically simulated to interact with the environment, as opposed to traditional light rendering methods where light data is hand-crafted based on the expected or current scene/environment. In relation to video games it refers to the simulation of light travelling from designated light sources in the environment (sun/sky, flashlight, lamps, fire, etc) to offer more realistic lighting enabling enhanced visuals and greater player immersion. However if not enough rays or bounces are used to fully establish the path of light, the consequences may be negative with visuals suffering from noise and flickering.
  
 +
In 2018 the [[Nvidia|Nvidia]] GeForce RTX 20 ('''Turing''') series of [[Glossary:Graphics card|graphics cards]] were the first to integrate hardware accelerated real-time ray tracing in consumer level hardware, enabling its use in [[Battlefield V]] and a few other titles.<ref>{{Refurl|url=https://www.forbes.com/sites/marcochiappetta/2018/08/24/here-are-all-of-the-games-that-will-support-nvidias-rtx-technology/|title=Forbes - Here Are All Of The Games That Will Support NVIDIA's RTX Technology|date=2023-10-27}}</ref> [[AMD]] followed this up in 2021 with their release of the Radeon RX 6000 series, their first generation of graphics cards with support for the feature.
  
There are various terms used to describe the method, most importantly are '''Ray Tracing''' and '''Path Tracing''' (also known as "Full" or "Real" ray tracing). Ray Tracing  describes when the path of light is traced from a light source to any adjacent environment or object and back to said source, while Path Tracing continues the traversal of the light around the adjacent area until the light reaches within the camera's view or a set number of bounces is reached.
+
As a consequence of calculating complex and advance light trajectories in real time at a playable framerate, the feature is quite demanding compared to traditional light rendering methods, necessitating the use of supportive features such as advanced ray tracing denoisers and [[Glossary:High-fidelity upscaling|high-fidelity upscaling]] technologies to improve visuals without increasing render resolution or ray or bounce count, reducing the overall system requirements of ray tracing. Despite these measures the requirements and performance impact remained high, causing slow adoption of the feature among consumers and developers; especially as early hardware generations with ray tracing support was unable to combine the feature with other often sought-after features at the time, such using a 4K resolution or achieving a high frame rate.
  
 +
'''General information'''
 +
:{{W|Ray tracing (graphics)}}
 +
:{{W|Path tracing}}
 +
{{mm}} [https://www.techspot.com/article/2485-path-tracing-vs-ray-tracing/ Ray Tracing vs Path Tracing]
  
Ray tracing offers more realistic visuals by allowing light to act more realistically but the effect is generally quite demanding compared to traditional light rendering methods as the system has to calculate light trajectory in real time at the desired framerate and if the effect is not given enough rays or bounces to fully establish the path of light, the visuals can be quite noisy and flickery possibly reducing visual immersion, thus the effect has taken quite a while to become usable let alone popular in mainstream games.
+
==Rendering methods==
  
 +
As of 2023 the predominant rendering methods used to implement ray tracing features are '''ray tracing''' (also known as the "normal" or "regular" ray tracing) as well as '''path tracing''' (also known as "full" or "real" ray tracing).
  
[[Nvidia|Nvidia's]] Geforce RTX 20 ('''Turing''') Series of [[Glossary:Graphics card|graphics cards]] in 2018 was the first to intergrate hardware accelerated ray tracing in consumer level hardware, allowing game developers to make use of ray traced light in their games such as [[Battlefield V]], although because of how demanding the feature is, coupled with it being exclusive to the new generation of high end gpus, the feature took a while to be found in a signiciant number of games.
+
* ''Ray tracing'' describes when the path of light is traced from a light source to any adjacent environment or object and back to said source.
 +
* ''Path tracing'' continues the traversal of the light around the adjacent area until the light reaches within the camera's view or a set number of bounces is reached.
  
 +
'''Ray tracing''' is often separated and exposed as three different types depending on what they cover, with separate toggles in the game settings:
  
Ray traced light is often incorporated in games as specific designated settings: '''Ray Traced Shadows''', '''Ray Traced Reflections''', and '''Ray Traced Global Illumination'''. Ray traced shadows only has shadows of objects and characters be traced, making them differently shaded depending on surrounding light and interact more seamlessly with character or object movement, ray traced reflections make glass, water and other reflective surfaces accurately mirror the world around them from the perspective the player is viewing them in, and ray traced global illuminations covers general environment lighting like a lamp in a room. Games often only use one or two of the aformentioned methods as ray tracing's computational cost makes it a risky feature for developers to use.
+
* '''Ray Traced Shadows''' makes use of ray tracing to enable more realistic shadows of objects and characters based on surrounding light and character or object movement.
 +
* '''Ray Traced Reflections''' uses ray tracing to allow glass, water and other reflective surfaces to more accurately reflect the world around them from the perspective the player is viewing them in, even allowing objects or environments that might have otherwise been culled from being rendered to be visible to the player.
 +
* '''Ray Traced Global Illumination''' uses ray tracing for general environment light sources (such as a lamp in a room) to generate more natural and realistic looking lighting.
  
 +
Games often only make use of one or two of the aformentioned types as the computational cost required makes it a risky feature for developers to use.
  
Path tracing is far less common due to the increased computational cost in comparison to ray tracing and covers all lighting scenarios described above leading to increased visual fidelity and immersion, there have been only a few path traced games released to date including [[Portal|Portal With RTX]], [[Cyberpunk 2077]], and [[Alan Wake 2]]
+
'''Path tracing''' is far less common due to the increased computational cost in comparison to regular ray tracing and covers all lighting scenarios described above leading to increased visual fidelity and immersion. As of October 2023 there have only been a few games released to date which uses path tracing, including [[Portal|Portal With RTX]], [[Cyberpunk 2077]], and [[Alan Wake 2]].
  
Various technologies have been developed in tandem with ray tracing to alleviate some of the concerns with the technology, like rendering the visuals at lower resolutions and upscaling with [[Glossary:High-fidelity upscaling|specialized scaling algorithms]] to increase performance while maintaining quality, or special denoising algorithms to improve visuals without increasing ray or bounce count.
+
{{References}}
 
 
'''General information'''
 
:{{W|Ray tracing (graphics)}}
 
:{{W|Path tracing}}
 
:[https://www.techspot.com/article/2485-path-tracing-vs-ray-tracing/ Ray Tracing vs Path Tracing]
 

Revision as of 23:45, 27 October 2023

Comparison of Metro Exodus (no ray tracing) and its Enhanced Edition (ray tracing).[1]
Comparison of Metro Exodus (no ray tracing) and its Enhanced Edition (ray tracing).[1]

For a list of games, see games with ray tracing support.

Ray tracing (RT) is the generic name, umbrella terminology, and description used to describe various rendering methods or techniques and types in which light is realistically simulated to interact with the environment, as opposed to traditional light rendering methods where light data is hand-crafted based on the expected or current scene/environment. In relation to video games it refers to the simulation of light travelling from designated light sources in the environment (sun/sky, flashlight, lamps, fire, etc) to offer more realistic lighting enabling enhanced visuals and greater player immersion. However if not enough rays or bounces are used to fully establish the path of light, the consequences may be negative with visuals suffering from noise and flickering.

In 2018 the Nvidia GeForce RTX 20 (Turing) series of graphics cards were the first to integrate hardware accelerated real-time ray tracing in consumer level hardware, enabling its use in Battlefield V and a few other titles.[2] AMD followed this up in 2021 with their release of the Radeon RX 6000 series, their first generation of graphics cards with support for the feature.

As a consequence of calculating complex and advance light trajectories in real time at a playable framerate, the feature is quite demanding compared to traditional light rendering methods, necessitating the use of supportive features such as advanced ray tracing denoisers and high-fidelity upscaling technologies to improve visuals without increasing render resolution or ray or bounce count, reducing the overall system requirements of ray tracing. Despite these measures the requirements and performance impact remained high, causing slow adoption of the feature among consumers and developers; especially as early hardware generations with ray tracing support was unable to combine the feature with other often sought-after features at the time, such using a 4K resolution or achieving a high frame rate.

General information

Ray tracing (graphics)
Path tracing
Ray Tracing vs Path Tracing

Rendering methods

As of 2023 the predominant rendering methods used to implement ray tracing features are ray tracing (also known as the "normal" or "regular" ray tracing) as well as path tracing (also known as "full" or "real" ray tracing).

  • Ray tracing describes when the path of light is traced from a light source to any adjacent environment or object and back to said source.
  • Path tracing continues the traversal of the light around the adjacent area until the light reaches within the camera's view or a set number of bounces is reached.

Ray tracing is often separated and exposed as three different types depending on what they cover, with separate toggles in the game settings:

  • Ray Traced Shadows makes use of ray tracing to enable more realistic shadows of objects and characters based on surrounding light and character or object movement.
  • Ray Traced Reflections uses ray tracing to allow glass, water and other reflective surfaces to more accurately reflect the world around them from the perspective the player is viewing them in, even allowing objects or environments that might have otherwise been culled from being rendered to be visible to the player.
  • Ray Traced Global Illumination uses ray tracing for general environment light sources (such as a lamp in a room) to generate more natural and realistic looking lighting.

Games often only make use of one or two of the aformentioned types as the computational cost required makes it a risky feature for developers to use.

Path tracing is far less common due to the increased computational cost in comparison to regular ray tracing and covers all lighting scenarios described above leading to increased visual fidelity and immersion. As of October 2023 there have only been a few games released to date which uses path tracing, including Portal With RTX, Cyberpunk 2077, and Alan Wake 2.


References