Quake 4/Doom 3/Prey PBR interaction shader
#1 Posted 25 August 2019 - 07:15 AM
This is non Duke related, but I've created a PBR interaction shader for Quake 4/Doom 3 and Prey.
Video:
Interaction Shader for Quake 4/Doom3/Prey and CG source along with batch files(you need Nvidia CG to compile the shaders to interaction.vfp).
https://github.com/j...l23/idtech4_pbr
Screenshots
-Justin
This post has been edited by icecoldduke: 25 August 2019 - 07:38 AM
#4 Posted 25 August 2019 - 03:22 PM
ICD, any chance of doing this for Polymer? It won't 'fix' the thing, but it will improve a raft of problems.
#5 Posted 25 August 2019 - 09:28 PM
Jim Rockford, on 25 August 2019 - 02:01 PM, said:
Oh how I miss Duke 4 feedback .
Tea Monster, on 25 August 2019 - 03:22 PM, said:
ICD, any chance of doing this for Polymer? It won't 'fix' the thing, but it will improve a raft of problems.
The data was definitely designed for phong lighting. Modifying the math to do PBR is only half of the equation, the data has to be modified as well(which is why everything looks very glossy). I'm hoping someone down the line will create proper PBR textures for Prey, Quake 4 and Doom 3, now that I've made a shader for it.
I can defiantly add this to Polymer, but your going to run into the same issue, your lighting/textures that were designed for phong lighting are going to look very glossy and shinny(or even noisy), until you do a full PBR pass.
#6 Posted 25 August 2019 - 11:31 PM
Jim Rockford, on 25 August 2019 - 02:01 PM, said:
What if it's a part of the plot?
#7 Posted 26 August 2019 - 02:47 AM
#8 Posted 26 August 2019 - 03:39 AM
Micky C, on 26 August 2019 - 02:47 AM, said:
That is a better idea.
This post has been edited by Tea Monster: 26 August 2019 - 03:39 AM
#10 Posted 27 August 2019 - 10:10 AM
Micky C, on 26 August 2019 - 02:47 AM, said:
The Polymost rendering algorithm would need to be entirely replaced to add lighting effects.
#11 Posted 28 August 2019 - 11:27 AM
Altered Reality, on 27 August 2019 - 09:32 AM, said:
I've had people e-mail me and say this runs on hardware from back in 2007.
#13 Posted 30 August 2019 - 12:46 AM
This post has been edited by icecoldduke: 30 August 2019 - 12:48 AM
#15 Posted 24 October 2019 - 03:51 AM
https://github.com/j...e/master/quake4
image hosting websites
This post has been edited by icecoldduke: 24 October 2019 - 03:52 AM