Page 1 of 1

fog gadget kills fps

Posted: 01 Feb 2013, 17:06
by knorke
fog, as seen on "hexfarm" map or with the gadget in blueprint, causes bad fps drop for me. When it is enabled fps are ~15, without fog it is 100.

When zoomed out there are line artefacts across the map:
http://www.abload.de/img/screen00256ysj91.png
and in zero-K, the commander-selection menu takes multi seconds to load the pictures. (see pic: game running since 4s but no pictures show yet, also bugged res bar) Not sure if that is caused by fog or simply by low fps.
hexfarm:
http://zero-k.info/Maps/Detail/23826
(note comment by zwzsg)

my graphic card thing:
[f=0000000] GL vendor: ATI Technologies Inc.
[f=0000000] GL renderer: Radeon X1300/X1550 Series
[f=0000000] GLSL version: 1.20
[f=0000000] GLEW version: 1.5.8
[f=0000000] Video RAM: total 210MB, available 210MB
[f=0000000] GL info:
haveARB: 1, haveGLSL: 1, ATI hacks: 1
FBO support: 1, NPOT-texture support: 0, 24bit Z-buffer support: 0
maximum texture size: 4096, compress MIP-map textures: 0
maximum SmoothPointSize: 63, maximum vec4 varying/attributes: 11/16
maximum drawbuffers: 4, maximum recommended indices/vertices: 16384/2147483647
number of UniformBufferBindings: 0 (0kB)


yesyes card sucks.
But since some other players seem to have that problem too, maybe in blueprint fog mapoption should default to off instead of on.

Re: fog gadget kills fps

Posted: 01 Feb 2013, 17:14
by Beherith
Disable luashaders support in springsettings.

Re: fog gadget kills fps

Posted: 01 Feb 2013, 17:17
by knorke
other luashader things work fine though.
for example in zk: "units on fire" and napalm, lups, that shockwave/distortion effect, transparent cloaking units

Re: fog gadget kills fps

Posted: 01 Feb 2013, 17:18
by dansan
fog fps problem is really sad. a beautiful and interesting map like "seths revine" is almost never played bc there is _always_ a player for whom it is impossible, and very few know the name of the setting to switch the fog off.

Re: fog gadget kills fps

Posted: 01 Feb 2013, 18:42
by FLOZi
Beherith wrote:Disable luashaders support in springsettings.
In related topic - fixed seths ravine fog? :(

Re: fog gadget kills fps

Posted: 01 Feb 2013, 19:40
by zwzsg
HexFarm, ok, but blueprint too, sure? Because I've been told to fix HexFarm's fog's lag by replacing it by blueprint reference implementation.

Re: fog gadget kills fps

Posted: 02 Feb 2013, 03:34
by knorke
HexFarm, ok, but blueprint too, sure?
yes.
same map+mod, toggle fog: with fog on it lags.
imo because of that fog should not be def = true, in mapblueprint, or nubs will make lagmaps!

Re: fog gadget kills fps

Posted: 13 Feb 2013, 09:24
by zwzsg
Is there a way for the Lua to autodetect that fog will cause lag?