so, I actually went and tried your shaders on Quake 4 for the first time as I reinstalled it recently and I noticed that all your shaders for Q4 are flawed.
80% of the screen is black and the rest is completely messed up colorwise.
after taking a look at the original Q4 shaders I noticed that its just the "MAD" lines that are incorrect.
in your pack for Q4 every shaders has this
Code:
# generate the vertex color, which can be 1.0, color, or 1.0 - color
# for 1.0 : env[16] = 0.0, env[17] = 1.0
# for color : env[16] = 1.0, env[17] = 0.0
# for 1.0 - color : env[16] = -1.0, env[17] = 1.0
MAD result.color, vertex.color, program.env[16], program.env[17];
END
I changed it to this
Code:
# generate the vertex color, which can be 1.0, color, or 1.0 - color
# for 1.0 : env[16] = 0.0, env[17] = 1.0
# for color : env[16] = 1.0, env[17] = 0.0
# for 1.0 - color : env[16] = -1.0, env[17] = 1.0
#MAD result.color, vertex.color, program.env[16], program.env[17];
MAD result.color, vertex.color, program.env[16].x, program.env[16].y
and they work again flawlessly.
just a heads up for you and everyone that want to use these otherwise great shaders on Q4
I don´t know about Prey and ETQW because I don´t have those installed right now.
oh, and I can confirm the issue reported by Alexthegr81, I also get some strange distorsions only on some textures, mostly noticeable on characters but only when I use the parallax version of the shaders.