blob shadows (/cg_shadows 1) drains FPS
Reported by hatcher:
Shadows set to [blob] (/cg_shadows 1) have a huge impact on the performance both on my 6 year old computer and on the new one. The FPS often dropped to 80-90
#4 Updated by keMoN over 1 year ago
Yes, native resolution is used.
it happens when there’s a lot action going on, then the fps drops.
As soon as i turn off blob shadows the fps stays stable at 125, on the same map, in the same game.
It happened on both rail gun and el kalif(?). Both times i had my settings reset for some reason, while i was testing something.
I was wondering about the performance issues.
I knew that even my old pc was good enough to run ET at 125 fps, so i started messing with the settings and ended up at blob shadows being the problem.
Both the old and new pc have AMD processors
#5 Updated by keMoN over 1 year ago
It seems that depending on the underground, the plane of the shadow is manipulated. Likely to avoid sticking out, going in or z-fighting with the underground.
As visible in the screenshots, the verts/tris count significantly increases when on inclined underground. Flat (06) is only 12 verts / 6 tris, while
shot05 is 16+ verts and the last one is just messed up.
I do believe that when many players are in a scene with difference in terrain height (Railgun was mentioned above), that this has an impact on FPS. The thing is, that I don’t think it’s quite possible to change the manipulation of the shadow plane, because then we might have shadows that go into terrain or hover out of it.
There is an option to to disable them (cg_shadows 0) if the perceived decline in FPS is too much. As a non-competitive player I was always happy with FPS >70. But that’s personal preference, I guess^^
So, I guess issue confirmed, but I don’t know what we could do here?
The shadow consists of 3 planes. One big blob for body and two smaller ones for feet. I guess it would be possible to have cg_shadows 2 with only the body blob?
That way, you prevent the complete weirdness of not having shadows, but only have around a third of drawn verts/tris?
#6 Updated by keMoN over 1 year ago
Direct comparison with r_showtris 2. In one spot, the shadow of one player makes 14 FPS difference and in the other spot 8 FPS.
With several players, that might actually really get ugly^^