I started work on a DirectX Raytracing port of Quake 1. I have released a one level demo, that basically allows you to play through E1M1. The entire game is raytraced, and requires a Nvidia 20xx or a Nvidia 30xx. This video was shot on a Nvidia 3080. The engine supports real time raytraced lighting and shadows(no bump mapping, I wanted to keep the composition of the original game, but with raytracing), raytraced Ambient Occlusion, and real time raytraced reflections.
Check out the video, download the build and let me know what you think.
Build:
https://github.com/j...s/tag/Alpha0.01
Page 1 of 1
Quake 1 - DirectX Raytracing
#1 Posted 02 October 2020 - 03:10 PM
This post has been edited by icecoldduke: 02 October 2020 - 03:12 PM
#2 Posted 02 October 2020 - 06:02 PM
The new lighting really compliments the original game. The other effects seem to be implemented well enough, but it's funny to see reflective surfaces with rusty textures. I get it's just to show off the effects, but if you took this further and tastefully implemented these effects it could be a really good way to play the game.
#3 Posted 02 October 2020 - 11:18 PM
Those mirroring floors and shadows look really nice. Sadly I only have a 1070, so I can't really try any of this by myself.
#4 Posted 02 October 2020 - 11:38 PM
I do have the reflection turned up for testing, the next build will have mostly fixed UI. Again not using rasterization, I'm just blitting the UI elements to a screen buffer. The last thing I need to figure out is how to do particles with raytracing.
#5 Posted 03 October 2020 - 11:24 AM
I have released a alpha 2 release, all the levels work, and most of the UI works.
Youtube:
https://www.youtube....h?v=6XpBuqgEddE
Download
https://github.com/j...s/tag/Alpha0.02
Youtube:
https://www.youtube....h?v=6XpBuqgEddE
Download
https://github.com/j...s/tag/Alpha0.02
This post has been edited by icecoldduke: 03 October 2020 - 11:27 AM
#6 Posted 03 October 2020 - 05:37 PM
Inverted UV issue that's seen in the latest video is fixed, just go to the https://github.com/j...s/tag/Alpha0.02 and grab the latest binaries.
#7 Posted 04 October 2020 - 07:55 AM
I recorded a demo and played it back on a 3080, 2080, 2060 to measure performance.
#8 Posted 04 October 2020 - 01:09 PM
I optimized the game quite a bit, got the 2060 to run the same demo as above at 70fps!
#11 Posted 06 October 2020 - 07:56 AM
Got the framrate on the 3080 and 2080 to be a(mostly) constant 100+ fps, the 2060 hovers between 80-100.
#12 Posted 06 October 2020 - 04:02 PM
If anyone is looking for a more modern code base I got DirectX Raytracing ported over to Quake 3 Arena.
#13 Posted 07 October 2020 - 12:34 AM
Don't get me wrong, it's incredible to have this option available, but I am not sure how I feel about seeing pretty much all surfaces reflecting. If that's the point of raytracing, I think I can live without it. It's irritating AF to my eyes and feels and looks misplaced in most cases. It's not like someone went through all the Quake levels and polished the surfaces until they turned super-shiny.
What would be more interesting to see would be light effects like god rays. These would fit much better into Quake in general IMHO.
What would be more interesting to see would be light effects like god rays. These would fit much better into Quake in general IMHO.
#14 Posted 07 October 2020 - 12:45 AM
NightFright, on 07 October 2020 - 12:34 AM, said:
I am not sure how I feel about seeing pretty much all surfaces reflecting. If that's the point of raytracing
Yeah, that's the point. When developers talk about their games having raytracing, that's exactly what they mean. Get with the times, grandpa.
#15 Posted 07 October 2020 - 06:00 AM
NightFright, on 07 October 2020 - 12:34 AM, said:
Don't get me wrong, it's incredible to have this option available, but I am not sure how I feel about seeing pretty much all surfaces reflecting. If that's the point of raytracing, I think I can live without it. It's irritating AF to my eyes and feels and looks misplaced in most cases. It's not like someone went through all the Quake levels and polished the surfaces until they turned super-shiny.
What would be more interesting to see would be light effects like god rays. These would fit much better into Quake in general IMHO.
What would be more interesting to see would be light effects like god rays. These would fit much better into Quake in general IMHO.
I turned on reflections on every surface to show "this is really raytracing and not rasterization", since all surfaces having reflections is essentially impossible to do with rasterization. The idea is we properly tag surfaces as a "opt in" for reflections going forward.
#16 Posted 07 October 2020 - 09:29 AM
Ah, fair enough, then. As a proof-of-concept it's fine. It was indeed too excessive to be the final look of the game.
This post has been edited by NightFright: 07 October 2020 - 09:30 AM
#17 Posted 07 October 2020 - 02:34 PM
4.0
Fixed a bug with reflections
Added vertex normal based lighting.
Changed attenuation to match qlight.
3.7
Fixed vertical line issue.
Fixed a bug with reflections
Added vertex normal based lighting.
Changed attenuation to match qlight.
3.7
Fixed vertical line issue.
#18 Posted 08 October 2020 - 01:25 PM
5.0
Fixed a D3D12 device lost crash.
Added rtlights
Added color light support.
Refreg entities(static objects) now show up(torches, flames, etc).
Added raytrace shadow opt out flag for models.
Fixed a bug were UI characters wouldn't render(signed char was being used).
Fixed multiplayer UI being in the wrong spot.
Fixed a D3D12 device lost crash.
Added rtlights
Added color light support.
Refreg entities(static objects) now show up(torches, flames, etc).
Added raytrace shadow opt out flag for models.
Fixed a bug were UI characters wouldn't render(signed char was being used).
Fixed multiplayer UI being in the wrong spot.
#19 Posted 09 October 2020 - 11:11 AM
Some people have been asking about the Hexen 2 DirectX Raytracing bits, were this project started, I just moved over all of the Quake 1 DirectX Raytracing Alpha 5 progress back over to the Hexen 2 RTX branch. To get the best visual gains were going to need someone to go in and create rtlights for all the maps. This is just using the stock light placements.
#20 Posted 11 October 2020 - 10:47 AM
I modified the reflections to use GGX(PBR), and recorded a 5k playthrough (5120x1440).
Share this topic:
Page 1 of 1