JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 612 forks source link

Blaster Marks #894

Closed ghost closed 7 years ago

ghost commented 7 years ago

Reporting a bug? Please make sure you've given the following information - thanks!

Operating system and version: Windows 10 64 Bit

Is this for single player or multiplayer? Multiplayer and Singleplayer

Description of the bug (and if possible, steps to reproduce the bug): Blaster marks do not render correctly on wall surfaces and show interlacing issues.

http://images.akamai.steamusercontent.com/ugc/275095429952102111/CB386484EC647D83D5C1FE3593BD852259FF7083/

What did you expect to happen instead? Solid blaster marks that do not change with movement nor disappear from certain angles.

ensiform commented 7 years ago

That's not fixable I'm afraid on the patch meshes. Looks like you're using a mod like ja++ too?

The rest I'm not sure I'm understanding correctly.

leilei- commented 7 years ago

I'm assuming "interlacing" = z-fighting here. All I can suggest is to change r_depthBits and/or r_colorbits to see if that makes any difference.

xycaleth commented 7 years ago

Does it work in regular JKA? Do you have any weapon mods which might change the blaster mark shaders? I noticed the "Ultimate weapons" mod has z-fighting problems but this is an issue with the mod rather than OpenJK (I think).

ghost commented 7 years ago

Works in regular JKA, there was the dynamic lights mod and I also had a more HD marks mod at one point to see if that would remedy it. JA++ is also present, but same with base.

ensiform commented 7 years ago

20161126133529_1

Base OpenJK blaster marks looking okay here.

leilei- commented 7 years ago

perhaps the new marks shaders don't have polygonoffset defined.

ghost commented 7 years ago

Tested on base with no new effects, same issue, interestingly the marks look different to the ones produced in ensiform's screenshot. A steam issue perhaps?

ghost commented 7 years ago

Please disregard, I was silly enough to overlook files that I'd written myself and it seems one of those was the issue.