# FOSS screen space ray tracing with any game and GPU

**URL:** <https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252>\
**Category:** Gaming, sound and video\
**Created:** [July 29, 2020, 4:04pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252 "2020-07-29T16:04:51Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 2, 2020, 11:14pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/42 "2020-08-02T23:14:34Z")

</div>

Today i’ve started writing RTGI configuration guide, it’s pretty heavy and unfinished yet…

But man, after testing some out of bounds values ( 🤫)…For now i’d like to just share some results from **Dishonored** , to me it’s mind-blowing!

Look fullscreen! 🕶

Before:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/c/c02541c62bb52804776b24765e75401989b45912.jpeg)

After:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/8/877962f84b369166de78412a4ecb3b1140eb0ab0.jpeg)

Before:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/9/94efb7f4d78a8699e4056c2e112e32938d190910.jpeg)

After: (holy crap, check out small details and light bounces on lamp!)  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/d/d2ccd6ac259a50d008283a8b270c11b3b89a8302.jpeg)

Before:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/a/a0d822460dbf6eead76db7f84836a6b92c953031.jpeg)

After:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/6/6390023a33ae140c8df5e6cca302f75e8f62f554.jpeg)

Before:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/e/e864c7795c10892e9e3680b21f48548495011bc9.jpeg)

After:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/d/d8b42e7e6f4f35bc9cf8c4f8aab85f0100268f6c.jpeg)

Before:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/5/5b94436b90e2725054157d86614bf3f715d83fd1.jpeg)

After:  
 ![](https://forum.endeavouros.com/uploads/default/original/2X/9/9981607856465db5f8c4451e1befd819bec1801e.jpeg)

---

<div class="post-metadata">

**Author:** ![Sojiro84](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sojiro84/32/9325_2.png) [@Sojiro84](https://forum.endeavouros.com/u/Sojiro84)\
**Post date:** [August 3, 2020, 7:06am UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/43 "2020-08-03T07:06:28Z")

</div>

Those are some great before and after shots. Definitely looks better with Reshade.

Can’t wait when RT is the new normal and GPU’s can render it with ease.

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 3, 2020, 9:28am UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/44 "2020-08-03T09:28:02Z")

</div>

> Those are some great before and after shots. Definitely looks better with Reshade.

Thx! 🙂 And most importantly it is realtime, in action it looks stunning!

> Can’t wait when RT is the new normal and GPU’s can render it with ease.

Aaaaaaaactually… 🙃

**[Future of Ray Tracing](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu-on-linux-wine-proton/6252#heading--Future)**

Here’s some theory and my thinking about future of tech - **Path tracing** is the way to go! (it’s what we’re actually seeing with this shader here) 🙂

P.S. I’m pretty sure that **Path tracing** also naturally produce [Refraction](https://en.wikipedia.org/wiki/Refraction) and [Dispersion](https://en.wikipedia.org/wiki/Dispersion_(optics)) effects, but was unable to confirm it, if some of you know it for fact - please tell us here 🙂

Also here is pretty nice video about the whole matter of RT vs Faking it with traditional methods:

[![](https://img.youtube.com/vi/CuoER1DwYLY/maxresdefault.jpg "Faking RTX Global Illumination vs. RTX | 100% Ray-Traced Game, Pt 1") ](https://www.youtube.com/watch?v=CuoER1DwYLY)

---

<div class="post-metadata">

**Author:** ![Sojiro84](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/sojiro84/32/9325_2.png) [@Sojiro84](https://forum.endeavouros.com/u/Sojiro84)\
**Post date:** [August 3, 2020, 1:50pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/45 "2020-08-03T13:50:46Z")

</div>

Good video, will watch that when I am home.

I myself am also always reading and watching these graphics tech videos. Ever since I was a kid I was interested in games and the graphics and that hasn’t dwindled a bit over the years.

Only thing that is mostly disappointing to me is that generally consoles are holding graphics back for a few years because of their release cycle.

Luckily with the wait soon to be over with the new consoles, many developers will be using the new techniques so the next few years are going to be good.

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 3, 2020, 2:13pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/46 "2020-08-03T14:13:59Z")

</div>

> [@Sojiro84](#):
>
> Luckily with the wait soon to be over with the new consoles, many developers will be using the new techniques so the next few years are going to be good.

Indeed, although my most concerns for newer games are not graphics at all, but:

- Physics
- AI
- Gameplay

Sadly late years haven’t bring anything really outstanding, to my taste, with just very few exceptions…

But hopefully when graphical burden of complex simulations, will be less and less important due to tracing techniques in overall game dev process - it will bring those 3 essential components more to life! 👾

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 3, 2020, 4:56pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/47 "2020-08-03T16:56:05Z")

</div>

Oh, seems it’s already exist on Cryengine!! again! 🙃  
[https://youtu.be/kGxqiw8UWns](https://youtu.be/kGxqiw8UWns)

Looks absolutely insane and works on all GPUs - sounds like **Path tracing** to me 🙂  
Compared to what Unreal Engine 5 tries to do in terms of **Ray tracing** on RTX GPU only, lagging & noisin behind that…

Well take your pick 🙂

---

<div class="post-metadata">

**Author:** ![Othoric](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/othoric/32/9134_2.png) [@Othoric](https://forum.endeavouros.com/u/Othoric)\
**Post date:** [August 3, 2020, 5:01pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/48 "2020-08-03T17:01:04Z")

</div>

I just wanted to pop in and say that I absolutely love this write-up and the effort you put into it. Very exciting stuff!

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 3, 2020, 5:02pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/49 "2020-08-03T17:02:03Z")

</div>

Much appreciated, it’s not even close to finish yet! 🙃  
A lot of exciting stuff ahead! 🚀

Here’s in-depth explanation of Cryengine demo:

[![](https://img.youtube.com/vi/efOR92n9mms/maxresdefault.jpg "Neon Noir: Crytek's Software Ray Tracing! How Does It Work? How Well Does It Run?") ](https://www.youtube.com/watch?v=efOR92n9mms)

* * *

> **[CRYENGINE | Features: Visuals](https://www.cryengine.com/features/view/visuals#)**
>
> Take advantage of CRYENGINE's legendary best-in-class visuals to blow players away.

🤯

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 5, 2020, 9:26pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/50 "2020-08-05T21:26:02Z")

</div>

You gotta be…

![image](https://forum.endeavouros.com/uploads/default/original/2X/7/78329a66270cbec13f35a90cb568ffbc4c60c015.png)

🤣

So…Only way is to break on 1 and 2 posts i guess?

---

<div class="post-metadata">

**Author:** ![anon53396576](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon53396576](https://forum.endeavouros.com/u/anon53396576)\
**Post date:** [August 5, 2020, 9:29pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/51 "2020-08-05T21:29:50Z")

</div>

Just make a part one and part two 😄 I should also move this over to the gaming section no?

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 5, 2020, 9:31pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/52 "2020-08-05T21:31:15Z")

</div>

> [@anon53396576](#):
>
> Just make a part one and part two 😄

All right… 🙃

There’s gaming section? 😅 I missed that one…  
Well, i guess you can move it then 🙂

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 5, 2020, 9:52pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/53 "2020-08-05T21:52:10Z")

</div>

All right, i’m tired as hell, as it was not easy at all to sum this up, those are most important aspects of RTGI:

7.2. **[SSRTGI (Screen space ray tracing global illumination)](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu-on-linux-wine-proton/6252#heading--Config-SSRTGI)**  
8. **[Problems](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu-on-linux-wine-proton/6252#heading--Problems)**

> [@keybreak](#):
>
> To get out of bounds value of shader’s parameter CTRL + LMB and manually enter value!

There are still couple of parameters and problems need some proper writing though…  
@Sojiro84 Since you use RTGI - might wanna read that - plenty of stuff to grasp 😉

* * *

P.S. If someone will come up with solutions to common problems or i’ve missed something important - please do hit me up here 🙂

P.P.S. @anon53396576 maybe moving was a mistake, since:

> [@Welcome in the gaming, sound and video category](https://forum.endeavouros.com/t/welcome-in-the-multimedia-gaming-category/40):
>
> This area is for topics concerning gaming, sound, video play back issues, Bluetooth, etc.

**issues** … and this is not really an issue here, more like a solution 😆

---

<div class="post-metadata">

**Author:** ![anon53396576](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/a698b9/32.png) [@anon53396576](https://forum.endeavouros.com/u/anon53396576)\
**Post date:** [August 5, 2020, 10:03pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/54 "2020-08-05T22:03:34Z")

</div>

It’s better than the pub! 🤣

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [August 9, 2020, 4:08pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/55 "2020-08-09T16:08:03Z")

</div>

Small but cool update!

6.3. **[Requirements](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu-on-linux-wine-proton/6252#heading--Requirements)**

Read updated **Network** and **REMOVE NETWORK RESTRICTIONS** 🥳

* * *

Also on general ReShade configuration note:

> Enable ☑ **Performance mode** (on bottom of UI) when you done tweaking and happy with results, this will allow **ReShade** to start much faster, but won’t allow to tweak, so disable if you want further tweaking!

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [September 30, 2020, 1:09pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/56 "2020-09-30T13:09:33Z")

</div>

**RTGI v0.16** followed by bugfix **RTGI v0.16.0.1** got released 🙂  
Haven’t tested it yet, but that’s good news! 👾

And i have finally fixed post and made it one single wiki post, so table of content works perfectly for all items now 🙂  
Hopefully will write some nice updates soon!

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [October 8, 2020, 5:44pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/57 "2020-10-08T17:44:34Z")

</div>

Done some testing of **beta v0.16.0.1** - it’s extremely impressive!

Now it’s my new goto recommendation, since it has best quality and balanced performance compared to other versions.  
There is also some strongly reduced flickering on extreme values for lighting, now you really have to look like that 🧐 to notice a noise!

And there are some new functions too 🙂

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [October 27, 2020, 4:55pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/58 "2020-10-27T16:55:12Z")

</div>

**[ReShade v4.8](https://reshade.me/releases/6870-4-8#39835)** released!

> WARNING: This update has some breaking changes that require updates from shader maintainers (and therefore not all your installed effects may work until that has happened)!

Haven’t tested with RT shaders yet, but since there were no updates from McFly yet i assume it should be fine 🙃

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [November 15, 2020, 8:02pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/59 "2020-11-15T20:02:31Z")

</div>

**Edit 31**  
Updated default file example for **[ReShade.ini](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252#heading--Prepare)**, mainly useful for newcomers 🙂

Oh, and now by default new preset naming is **ReShadePreset.ini** , but if you use older one it should pick up it just fine.

Since **ReShade v4.8** brings a lot of internal changes, but that way they’re not breaking if you use latest shaders too 😋

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [December 30, 2020, 8:16pm UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/60 "2020-12-30T20:16:31Z")

</div>

**ENBSeries** dev Boris Vorontsov have posted new development screenshots of his new ray-tracing techniques:  
[http://enbdev.com/ss\_deusex3\_en.htm](http://enbdev.com/ss_deusex3_en.htm)

Looking pretty early, but interesting 🙃

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [January 29, 2021, 7:41am UTC](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252/61 "2021-01-29T07:41:40Z")

</div>

C++ ASCII ray tracing

[![]( " - YouTube") ](https://www.youtube.com/watch?v=QkETiyYWh2o)

[Previous page](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252.md?page=2)

[Next page](https://forum.endeavouros.com/t/foss-screen-space-ray-tracing-with-any-game-and-gpu/6252.md?page=4)
