←back to thread

163 points mariuz | 1 comments | | HN request time: 0.27s | source
Show context
bengarney ◴[] No.43617928[source]
Really interesting analysis of where the data lives… cutting 3-4 textures would save you more memory even in the 100k actor case, though.
replies(2): >>43618098 #>>43618115 #
cma ◴[] No.43618115[source]
If the memory savings he got were fully read or fragmented with other stuff on cache lines that are read in every frame (not likely for static world actors), it could be ~10% of CPU memory bandwidth on mobile every frame at 120hz on an lpddr4 phone.

A big problem with them is they are so heavyweight you can only spawn a few per frame before causing hitches and have to have pools or instancing to manage things like bullets.

I think in their Robo Recall talk they found they could only spawn 10-20 projectile style bullets per frame before running into hitches, and switched to pools and recycling them.

replies(2): >>43619650 #>>43623175 #
1. Pxtl ◴[] No.43623175[source]
I've never played with UE and so I'm kinda shocked to learn that there isn't pooling already for objects that have this kind of creation cost.