Best way of unrendering an instance

I’m trying to make a rendering system…since my game uses custom textures, and those textures cause a lot of lag. What is the best way I can unrender it performance wise.

Delete the object from the viewport ?

so you mean like part.Parent = nil?

Set the parent to nil, Delete it, or CFrame it far away. Or place it in Lighting or ReplicatedStorage. Perhaps one of those things.

well, I have to be able to re-render all of the textures so, would I be able to delete it and render the textures?

I’d say reparent it to something else. Deleting it means you’d have to create a new instance when you want it back, which would be less performant than changing the parent.

1 Like