Textures and Performance

Hello everyone,

I’m currently working on an obby game for fun, but I have a question about a possible performance issue. I currently have textures on each brick of the obby, but seeing how it’s fairly large, I have concerns about the performance of the game. Is it generally not a good idea to use textures on obbys since there are so many parts in a small radius, or will this not be that much of a problem? I appreciate your feedback!

High resolution textures used in abundance can definitely cause performance issues, but less so if you’re reusing the same handful of textures many times (known as instancing). Still though, textures are and always will be some of the largest performance hits on any game - that’s a given for everything outside of Roblox too. Make sure your resolution isn’t high, and be smart about what you prioritize for the nicer textures.

If you’re referring to the Texture surface object (the one that tiles across a surface), just be sure to remove the faces that aren’t visible to the player, and keep the resolution low.

If you’re referring to textures that are applied to MeshParts, consider using trim sheets to get the most use out of every texel. There’s plenty of info you can find online for this.


And finally, it’s worth noting that obstacle courses are movement-heavy, and thus you may want to prioritize Player accessibility over visuals when it comes down to it. You can have the prettiest obstacles ever seen; but if Players lag when jumping, it won’t matter how nice things look :slight_smile:

3 Likes

Thank you so much. Yeah, I’m mostly using texture surface object. I find plain colored bricks fairly ugly, so I’ve been trying to fancy it up a bit. But you’re definitely right, it’s not worth the trade if it tanks the performance. I’ll probably try your suggestion by only applying textures to visible surfaces, like maybe just the top of the brick and see how that does.