Hi there, just a 2 cents. I too am developing a fighting game (2.5D fixed plane with 3D character models); I also use UFE. Many have stated great helping leads, I would add to check your backgrounds, how poly heavy is it on each fighting stage, can you switch for 2D image BG instead of real 3D background/you can do parallax layers to create the effect of depth (juxstaposed 2D layers in the 3D horizon/the layers closer or father from the camera create the feeling of 3D depth (ex: grass ground layer is very close to camera, trees layer is a bit farther behind, and sky/sun is the farthest away from camera. When camera will pan left and right, the illusion will sell it, and we will feel the ground is very close while sky/sun very far, and trees in between). Making parallax layers is very tedious, but building 3D backgrounds for fighting games is also very time consuming (unless they are botched/uninspired/unaesthetic), and very taxing in terms of polygons/texture loads. In mycase, I solved it with static 2D images as BGs, by making the perspective effect is very visible in that 2D image (‘‘fish eye lens effect’’),
I wanted to do beautiful photography parallax effect but my image matte/plates would have to be chopped in many layers (you only 2 or 3 for a minimal pseudo depth effect, but for a true ‘deep’ depth effect you need at least, 4, 5 or 6 layers. At 10 layers per stage, the effect is very smooth/deep/obvious.
Your backgrounds polygon count could munch way too much resources, check the profiler; as others said, 3D poly LODs can solve this partly. Also, culling/hiding, camera culling - anything outside camera visual periphery and by distance to camera, becomes invisible/hidden. In my case, by substituting 3D for 2D BGs, I was able to put more polygon budget on my 3D fighters. Essentially, Unity has a 65,536 tris limit per object (16*4) a limit imposed on 3D files such as .3DS, but you can combine them inside Unity for a larger total.
65,536 tris = 22,000 polygons. This is approx. Xbox 360 level 3D fighters, on the low end/slightly chunky.
For example,
SFV has poly count of 50-60,000 polys per character.
SF4 has 30 000 or so.
Tekken 7 on PS4 has 60-70,000 poly per character.
Tekken 4 on PS3 from the haydays has 20-40,000 polys.
But, as one specified, the trick is mapping ‘normal maps’ that simulate higher polygons count but cheat it by
2D texture baking. It’s an optical illusion that makes the model look millions of polys but is in fact barely 100,000 polys.
What’s more, is how you compartmentalize your polygons :
You can put 49,000 polys on a character’s shoes, but then you have just a 1000 left for the entire rest of the body if working with a 50,000 poly budget per character. That’s not wise nor suggested - unless you focus on their shoes the whole time - it’s poor optimization. You may want more polys/detail clustering around specific body areas (like the (detailed) face or the hands, both highly expressive and needing higher polys/clustering to convey the character’s expressive facial and hand fingers gesture detail); but, overall, you want to ‘spread’ the polygons budget Equally on the entire model - so that it looks good from everywhere - if certain areas are not so important then you can recluster these less important areas polygons towards important high detailed areas (such as face/hands).
I noticed that when I did 100% spreading of polygons on a model, certain areas were less detailed But, the Overall feel was much Smoother: the spreading caused a ‘rounding’ effect where it looked good from every angle but not as detailed in certain areas if I had clustered/‘concentrated’ the polys budget in ccertain areas only (like just the face alone, to get a more detailed hi-res face, and a low-res body)). The characters looked ‘filmic’ realistic when polygons was 100% spread equally all over (but slightly less detailed/buttery look lacking detail-in certain areas), while when I clustered them in certain areas, the characters looked less ‘filmic’ but more ‘gamish/cartoonish’ - my take : for cutscenes focusing on specific body parts, clustering polys is better but cutscenes are suppose to be ‘filmic’ - but the model looks gamish - as long as you focus the camera only the higher polygons detail- areas it does not show that much even if the camera is Very Upclose to the model.
While during the fighting game, spread polygons is best, as the characters are farther from the camera and require less detail/they move so fast your eye doesn’t pick up detail- as well as in a closeup cutscene. Plus, as said and as an added bonus, spread polygons 100% equally means characters that look ‘filmic’ less gamish (this is seen in CGI in films, upclose 3D CG monsters in films VFX must stand the test of eye scrutiny : the CG VFX studios use 100% spreading of polygons = more costly long rendering - but the 3D monsters Stand the test of eye scrutiny Even Very Upclose to the camera : lack of polygons in areas is unbalance look/cartoonish look not realistic ))).
In the 30-70,000 poly range your game should stay fluid 60fps 1080p for 2 characters (150,000 poly total) with 4K texture compressed on mid budget Nvidia/Radeon GPU card. But no 3D BGs, the 3D BG could chomp another 50-150,000 poly depending on its detail/if it’s occluded culled LOD or not/total Number of Objects in BG- this could reduce 25-50% frame rate. Plus, as said, number og lights/types/HDR or not/skybox or not/GI or not ( baked lighting is best).
Hope this helps in any way and good luck,
Thanks for reading.
Just a 2 cents.