Issue with rendering when look at a lot of objects


Author: Aleksei Ratnikov


Issue: The problem was noticed on the second day after level 1 was complete and the fact when you look at the shelf there was a huge FPS drop I looked at the stats for unreal engine 4 and it was said that multiple stuff could have been potentially broken, so I started trying to solve the issue and find the cause of the problem.


Solution: I started trying out multiple different things which were mostly looking over every tool that the engine has provided and i actually found multiple things that were wrong with this particular level. One of them was that the lightning was placed badly and was overlapping other lights which saved me 10 FPS. The fan particle was just using too much memory management and was badly designed which saved me a couple of FPS to be more precise around 10. And the main cause of the problem at first though I thought there were too many draw calls around 400-600, but after some research, I found out that this is not a big number and usually other big projects have around 3000 draw calls, but I kept questioning what could be wrong and I looked at that shelf and all of the objects and someone in my group mentioned shadows and I decided to check if that was the reason for the lag and it is, each one of those objects was casting a shadow, so my solution was to remove casting shadow on every object on the shelf since it is not necessary, hence the player won't be able to closely see anything from this shelf.


Leave a comment

Log in with itch.io to leave a comment.