how to get better performence on slow pc
Hello, i am making a very simple game in 3d with a cube and not much more, now i tried to let my friend try the game, and he could not even run it cause the frame rate was to low on his pc. So my question is how to make the game run with better performence on a slow pc? I mean this game is so simple and got so little items and meshes so i think it must be possible making it run better on slow pc. Would be glad for any help on this.
asked Jan 03 '17 at 01:35 PM in Using UE4
Without knowing something about the project it is hard to know what you could do to reduce the resource draw.
If you have things tied to them, unhook them. Create a Custom Event to handle the work and set a timer to call that event in as large a part of a second as is reasonable.
If you have materials that are using over 150 instructions - you can probably find a simpler way of producing the same result.
Rather than adding 1 to a value and setting it, use Increment. Same for Decrement.
Rather than using a Branch to see if a boolean is on or off, then setting another - just tie them together.
Two blueprints that are identical use the same amount of resources. A Child blueprint where you make changes uses less than its parent.
A material for blue, red, yellow... etc Is wasting a lot of resources. Just make one material and make the color a Parameter, then make Instances of that material with blue, red, yellow, etc set as the color.
In Edit -> Project -> Project Settings. Scroll down to Render.
Turn off Mobile HDR.
Down at Reflections - Reduce the Capture Res to 64 (or 32 if you're really squeezing)
Down at Lighting, if your map(s) don't use Static lighting, disable it. The other settings can be desabled as well (but you may want to test them one at a time to see how much they effect the result)
Same for Default Settings. - If you set Antialiasing to None - you will get jaggies.
And at the bottom in Shader Permutation Reduction. . You can disable support for Fog if you aren't using any.
There may be a lot more you could do but it would depend on the game itself.
Eg. If you have a moving character that uses InputAxis, you can add a Branch to ensure you aren't doing the "movement" work if the input is 0.
Follow this question
Once you sign in you will be able to subscribe for any updates here