FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
551 stars 107 forks source link

flashlight problem #365

Closed revelator closed 5 years ago

revelator commented 6 years ago

In some mods like blueshift the flashlight causes renderer smear when activated, does not happen on all maps but some so it might be related to what content is on the screen at the time.

a1batross commented 6 years ago

OS? Architecture? GPU? Version?

revelator commented 6 years ago

win 7 64 amd R9 390 version from git yesterday.

revelator commented 6 years ago

tried building with mingw64 32 bit and it works when built with that ??? some incompatibility with msvc 2015 maybe ?. Though i scratch my head as to why.

a1batross commented 6 years ago

Can you post a screenshot kf problem?

a1batross commented 6 years ago

Can you also enter "r_vbo 0" in console and switch flashlight again?

revelator commented 6 years ago

im having a tough time making a screenshot because it affects both the menu and the console so i cant see anything :/. Ill try turning vbo's off allthough it would be strange that it affects msvc 2015 and not mingw

revelator commented 6 years ago

Ok turning of vbo's seems to fix the problem, the mingw build also bugs out when it is on but more rarely.

revelator commented 6 years ago

Cannot play with vbo on so i have disabled it for the moment, usually indicates a broken pipeline somewhere, but in some cases its a bit more obscure. I have an engine that uses vertex arrays that exhibited much the same problem which turned out to be an AMD specific bug, in that case its easy to fix but if not it might take some time to hunt down.

mittorn commented 5 years ago

try r_vbo_dlightmode 1 It draws dlights different way, so maybe it fix rendering

revelator commented 5 years ago

Ah forgot to post back because of another bug that was caused by the same problem, All works again.

revelator commented 5 years ago

Ouch seems this one is back again, latest pull from here same hardware. r_vbo_dlightmode 1 does no difference this time.