Creating A Dynamic Environment With Highlights?

  1. What do you want to achieve?
    I want to create a optimized rendering system that uses the Highlight Instance.

image
Profile - pixe_ated - Developer Forum | Roblox

  1. What is the issue?
    I was thinking of adding highlights to objects that are nearby then deleting them afterwards. But the Roblox documentation clearly says that this will cause performance spikes!

Adding or removing a Highlight can cause a geometry rebuilding step that might lead to performance spikes and extra draw calls.

  1. What solutions have you tried so far?

Even if I kept the highlights and disabled some, they still take up space.

While a disabled Highlight doesn’t display, it still takes one of the 31 available Highlight slots. If you plan to permanently disable a Highlight instance, it’s best to delete the highlight rather than disable it.

If anyone has a workaround for this issue, please let me know.

A full video of my current progress

Solved the problem myself with WorldRoot:GetPartBoundsInBox()


video of dynamic highlights

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.